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

MM-20749: restrict post menu nesting #4372

Merged
merged 3 commits into from
Dec 2, 2019

Conversation

lieut-data
Copy link
Member

Summary

Submenus in the RHS may exceed the width of the RHS, and are currently truncated. While this will happen with any long submenu text, it's especially painful when multiple levels of nesting are allowed.

For now, disable more than one submenu nesting level.

Ticket Link

Fixes: https://mattermost.atlassian.net/browse/MM-20749

Submenus in the RHS may exceed the width of the RHS, and are currently truncated. While this will happen with any long submenu text, it's especially painful when multiple levels of nesting are allowed.

For now, disable more than one submenu nesting level.

Fixes: https://mattermost.atlassian.net/browse/MM-20749
@lieut-data lieut-data added 3: QA Review Requires review by a QA tester 2:Dev Review labels Nov 29, 2019
@lieut-data lieut-data added 2: Dev Review Requires review by a core commiter and removed 2:Dev Review labels Nov 29, 2019
@lieut-data lieut-data added the CherryPick/Approved Meant for the quality or patch release tracked in the milestone label Nov 29, 2019
@lieut-data lieut-data added this to the v5.18.0 milestone Nov 29, 2019
Copy link
Member

@marianunez marianunez left a comment

Choose a reason for hiding this comment

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

Non-blocking question

plugins/registry.js Outdated Show resolved Hide resolved
@prapti prapti added the Setup Cloud Test Server Setup a test server using Mattermost Cloud label Dec 2, 2019
@marianunez marianunez removed the 2: Dev Review Requires review by a core commiter label Dec 2, 2019
@prapti
Copy link
Contributor

prapti commented Dec 2, 2019

@lieut-data The change here is tiny but would any unit test coverage help?

Copy link
Contributor

@prapti prapti left a comment

Choose a reason for hiding this comment

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

Tested and verified locally with demo plugin changes in mattermost/mattermost-plugin-demo#78.
Approving.

@prapti prapti added 4: Reviews Complete All reviewers have approved the pull request QA Review Done and removed 3: QA Review Requires review by a QA tester Setup Cloud Test Server Setup a test server using Mattermost Cloud labels Dec 2, 2019
@mattermod
Copy link
Contributor

Test server creation failed. See the logs for more information.

@lieut-data
Copy link
Member Author

/update-branch

@lieut-data lieut-data merged commit 5ce3c06 into master Dec 2, 2019
@lieut-data lieut-data deleted the mm-20749-restrict-post-menu-nesting branch December 2, 2019 19:35
@mattermod mattermod added the CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone label Dec 2, 2019
@mattermod mattermod removed the CherryPick/Approved Meant for the quality or patch release tracked in the milestone label Dec 2, 2019
lieut-data pushed a commit that referenced this pull request Dec 2, 2019
* MM-20749: restrict post menu nesting

Submenus in the RHS may exceed the width of the RHS, and are currently truncated. While this will happen with any long submenu text, it's especially painful when multiple levels of nesting are allowed.

For now, disable more than one submenu nesting level.

Fixes: https://mattermost.atlassian.net/browse/MM-20749

* Update plugins/registry.js
@amyblais amyblais added Changelog/Not Needed Does not require a changelog entry Docs/Not Needed Does not require documentation labels Dec 3, 2019
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 CherryPick/Done Successfully cherry-picked to the quality or patch release tracked in the milestone Docs/Not Needed Does not require documentation QA Review Done
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants