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

Improved glossary and let plugins add items to it #12958

Merged
merged 7 commits into from May 29, 2018
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented May 23, 2018

The current glossary is pretty plain and a bit hard to read and does not even have category titles like "Reports" or "Metrics" see https://glossary.matomo.org/

As I needed to generalize the glossary a bit more so plugins can modify the glossary, I tweaked it a bit using Materialize components tabs, scrollspy and pagination.

image

Might need to update the changelog if we put this into 3.6.0. I presume for 3.5.1 we don't have enough time.

@tsteur tsteur added Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review labels May 23, 2018
@tsteur tsteur added this to the 3.6.0 milestone May 23, 2018
@tsteur
Copy link
Member Author

tsteur commented May 24, 2018

Failing UI tests do not seem to be related to this change.

Copy link
Member

@sgiehl sgiehl left a comment

Choose a reason for hiding this comment

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

Looks good so far. We could maybe add a UI test for the glossary

CHANGELOG.md Outdated
@@ -9,6 +9,7 @@ The Product Changelog at **[matomo.org/changelog](https://matomo.org/changelog)*
### New APIs

* Added new method `Piwik\API\Request::isRootRequestApiRequest()` to detect if the root request is an API request.
* Added new event `API.addGlossaryItems` which lets you add items to the glossary.
Copy link
Member

Choose a reason for hiding this comment

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

Needs to be moved to the correct place before merging

@diosmosis
Copy link
Member

The glossary looks great 👍

@diosmosis diosmosis merged commit 454f38c into 3.x-dev May 29, 2018
@diosmosis diosmosis deleted the glossaryupdate branch May 29, 2018 03:55
InfinityVoid pushed a commit to InfinityVoid/matomo that referenced this pull request Oct 11, 2018
* Improved glossary and let plugins add items to it

* fix posted param

* added pushpin feature

* show keyword only for metrics

* added UI test

* update changelog

* fix ui tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. Needs Review PRs that need a code review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants