Add more visually striking marketplace menu item in sidebar by caddoo · Pull Request #21512 · matomo-org/matomo · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more visually striking marketplace menu item in sidebar #21512

Merged
merged 5 commits into from
Nov 10, 2023

Conversation

caddoo
Copy link
Contributor

@caddoo caddoo commented Nov 9, 2023

Original PR:
#21456

Tested locally, updated and looked through all UI tests that failed and recommitted because of the differences between 4 and 5.


Description:

Please include a description of this change and which issue it fixes. If no issue exists yet please include context and what problem it solves.

Review

michalkleiner and others added 2 commits November 10, 2023 11:18
…ar (#21456)

* Fix CS

* Fix typo in UI demo example

* Add styling and UI demo example for outline button (with reverse bg on hover)

* Remove premium features widget

* Allow category to have a custom widget for the reporting menu

* Implement marketplace rich menu button

* Remove surplus category config

* Build vue files

* Update unit tests with an empty category widget prop

* Update system test expected files

* Add type hints

* Update UI test screenshots

* Update expected API response xml

* Partially revert "Remove premium features widget"

This reverts commit 5f37b02.
We are not reverting the removal of the subcategory.

* built vue files

* Restore Paid Plugins widget in system test expected files

Partially reverts commit c351ec9.

* Update expected test files

* Use data attribute instead of CSS class

* Add tabindex

* Build vue files

* built vue files

* Let category load when there's exactly one subcategory or multiple subcategories and an override widget

* Add support for keyboard submit

* Build vue files

* Update quick access search UI test screenshot

PM is ok with the menu items being removed from the quick access menu. Keyboard access to the new rich menu button works.

* Update built vue files

---------

Co-authored-by: michalkleiner <michalkleiner@users.noreply.github.com>
@caddoo caddoo force-pushed the dev-17234-marketplace-menu-backport branch from 47df8c3 to 98c0733 Compare November 9, 2023 23:25
@caddoo caddoo added this to the 4.16.0 milestone Nov 9, 2023
@caddoo caddoo marked this pull request as ready for review November 10, 2023 00:10
@caddoo caddoo added the Needs Review PRs that need a code review label Nov 10, 2023
@caddoo caddoo requested a review from a team November 10, 2023 00:25
Copy link
Contributor

@bx80 bx80 left a comment

Choose a reason for hiding this comment

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

The changes look good, but there are few unexpected(?) test screenshot changes that might need checking.

Copy link
Contributor

Choose a reason for hiding this comment

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

Were we expecting a change here? The layout seems to have moved up by a couple of pixels.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, I've reverted now, and can confirm this is a flaky test within testomat

Copy link
Contributor

Choose a reason for hiding this comment

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

Similar, is change expected?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nope, I've reverted now, and can confirm this is a flaky test within testomat

Copy link
Contributor

Choose a reason for hiding this comment

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

The marketplace entry now seems to be missing from the quick access search.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That is accepted/expected for now was discussed between @michalkleiner and @Stan-vw already.

@caddoo caddoo requested a review from bx80 November 10, 2023 01:39
@bx80 bx80 merged commit dde1c81 into 4.x-dev Nov 10, 2023
18 of 21 checks passed
@bx80 bx80 deleted the dev-17234-marketplace-menu-backport branch November 10, 2023 02:55
@sgiehl sgiehl changed the title [DEV-17234] Add more visually striking marketplace menu item in sidebar (4 Backport) Add more visually striking marketplace menu item in sidebar Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants