Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Minor 5.0 Bug fixes #1305

Merged
merged 4 commits into from
Jun 11, 2018
Merged

Minor 5.0 Bug fixes #1305

merged 4 commits into from
Jun 11, 2018

Conversation

asaadmahmood
Copy link
Contributor

@asaadmahmood asaadmahmood commented Jun 7, 2018

Summary

MM-10811 - Fixing overflow on long posts
MM-10848 - Updating username line-height

Ticket Link

https://mattermost.atlassian.net/browse/MM-10832
https://mattermost.atlassian.net/browse/MM-10848

Checklist

[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

  • Ran make check-style to check for style errors (required for all pull requests)
  • Ran make test to ensure unit and component tests passed
  • Added or updated unit tests (required for all new features)
  • Has server changes (please link)
  • Has redux changes (please link)
  • Has UI changes
  • Includes text changes and localization file (.../i18n/en.json) updates
  • Touches critical sections of the codebase (auth, posting, etc.)

@hmhealey I previously had an overflow hidden on .post__content, and thought that would fix the issue with the long post stuff. However, that does not work, since it then does not allow the post control dropdown to overflow.

I have been trying to figure out a bunch of hacky ways to fix it, but couldn't come up with any. Overflows won't work as the post control dropdown is inside the header, and overflowing anything above the header would also cut the dropdown.

So the most viable fix in my opinion was to have the name appear on the top for long posts on compact view. Seeing as we are this close to release, we don't have much time to refractor the code in a way to make this work as expected.

download

CC: @esethna.

@amyblais amyblais requested a review from jwilander June 7, 2018 19:54
@amyblais amyblais added the 2: Dev Review Requires review by a core commiter label Jun 7, 2018
@amyblais amyblais added this to the v5.0.0 milestone Jun 7, 2018
@hmhealey hmhealey added the Setup Old Test Server Triggers the creation of a test server label Jun 8, 2018
@asaadmahmood asaadmahmood changed the title MM-10811 - Fixing overflow on long posts Minor 5.0 Bug fixes Jun 8, 2018
@hmhealey hmhealey removed the Setup Old Test Server Triggers the creation of a test server label Jun 8, 2018
@hmhealey
Copy link
Member

hmhealey commented Jun 8, 2018

Having the username on top seems fine. I'm pretty sure it worked that way prior to the collapsed post changes anyway

@mattermost mattermost deleted a comment from mattermod Jun 11, 2018
@mattermost mattermost deleted a comment from mattermod Jun 11, 2018
@mattermost mattermost deleted a comment from mattermod Jun 11, 2018
@asaadmahmood asaadmahmood added Setup Old Test Server Triggers the creation of a test server and removed Setup Old Test Server Triggers the creation of a test server labels Jun 11, 2018
@mattermost mattermost deleted a comment from mattermod Jun 11, 2018
@mattermod
Copy link
Contributor

Spinmint test server created at: https://i-0a470d0e4de5718ce.test.spinmint.com

Test Admin Account: Username: sysadmin | Password: sysadmin

Test User Account: Username: user-1 | Password: user-1

Instance ID: i-0a470d0e4de5718ce

@hmhealey hmhealey added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Jun 11, 2018
@jwilander jwilander assigned cpanato and unassigned GoldUniform Jun 11, 2018
@hmhealey hmhealey added 2: Dev Review Requires review by a core commiter 4: Reviews Complete All reviewers have approved the pull request and removed 4: Reviews Complete All reviewers have approved the pull request 2: Dev Review Requires review by a core commiter labels Jun 11, 2018
@hmhealey hmhealey added 2: Dev Review Requires review by a core commiter and removed 4: Reviews Complete All reviewers have approved the pull request labels Jun 11, 2018
Copy link
Member

@hmhealey hmhealey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Edit: These were either reproed on a different branch or unrelated to this PR

Copy link
Member

@hmhealey hmhealey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Re-approving since the other issues are unrelated to these

@hmhealey hmhealey added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Jun 11, 2018
@cpanato cpanato merged commit 73d252d into mattermost:release-5.0 Jun 11, 2018
cpanato added a commit that referenced this pull request Jun 11, 2018
* MM-10762: Adjusts team and channel role changes to support new permissions schemes. (#1293)

* Adds next Redux commit. (#1294)

* MM-10793: Handle the show/hide custom emojis in menu using permissions (#1290)

* fix missing users' status indicators on more DM modal (#1279)

* MM-10772 - Updating permissions changes (#1284)

* MM-10772 - Updating permissions changes

* Updating permissions stuff

* Updating button spacing

* Updating team icons

* Updating test snapshots

* Minor 5.0 Bug fixes (#1289)

* MM-10733 - Updating UI for posts

* MM-10780 - Updating emoji reaction tooltip

* MM-10713 Fixed collapsed post colour in permalink view (#1291)

* MM-10602 Removed extra space from OpenGraph preview for links without a description (#1276)

* MM-10602 Removed extra space from OpenGraph preview for links without a description

* Removed unnecessary div

* MM-10767: Sort the teams in the teams selector modal (#1299)

* translations PR 20180604 (#1286)

* Fix typo (platform --> mattermost) (#1300)

* MM-10555 Update outgoing webhook content-type help text (#1287)

* Update outgoing webhook content-type help text

* Update styling

* More text updates

* fix permission error on channel_converted event (#1301)

* Minor 5.0 bugs (#1296)

* MM-10795 - Fixing post control menu overlap

* Updaing post control hover

* MM-10798 - Fixing notification badge on t-sidebar

* MM-10789: propagate post channel_mentions to Markdown (#1304)

The `post.props.channel_mentions` structure sent by the server needed to
be passed to the Markdown component to allow merging with the already
known channels for linking.

* Fix color settings in the admin console and announcement setting disabling (#1309)

* Minor 5.0 Bug fixes (#1305)

* MM-10811 - Fixing overflow on long posts

* Removing overflow from post-message

* Updating thread view

* MM-10848 - Updating username line-height

* MM-10806: Fix for no search highlighting. (#1307)

* MM-10806: Fix for no search highlighting.

* MM-10806: Changes options.

* MM-10844: maximum file size is a TYPE_NUMBER (#1310)
@asaadmahmood asaadmahmood deleted the MM-10811 branch June 11, 2018 19:22
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Jun 11, 2018
@lindalumitchell lindalumitchell added the Tests/Not Needed Does not require new release tests label Jun 13, 2018
@mattermod
Copy link
Contributor

Spinmint test running for more than 7 days. This test server was terminated.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation Tests/Not Needed Does not require new release tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants