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

Improves plugin list filters #11448

Merged
merged 3 commits into from Mar 25, 2017
Merged

Improves plugin list filters #11448

merged 3 commits into from Mar 25, 2017

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Mar 2, 2017

As the available filters (All, Core, Third-Party) were kind of confusing, I tried to improve that by adding a new category 'Official', which will list all plugins that are developed by the Piwik team

image

Name of this category is still open for discussion.
Also we might consider to add a new category 'Premium', listing all plugins bought on Marketplace. Any opinions on that?

fixes #11145

@sgiehl sgiehl added Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. labels Mar 2, 2017
@sgiehl sgiehl added this to the 3.0.3 milestone Mar 2, 2017

if (isset($plugin['info']) && isset($plugin['info']['authors'])) {
foreach ($plugin['info']['authors'] as $author) {
if ($author['name'] == 'Piwik' || $author['name'] == 'InnoCraft') {
Copy link
Member

Choose a reason for hiding this comment

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

maybe good to check lowercase here as it may change in the future (shouldn't but never know)

Copy link
Member Author

Choose a reason for hiding this comment

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

changed.

@tsteur
Copy link
Member

tsteur commented Mar 2, 2017

Sounds good 👍 Either official or First-party could maybe work as well as it says next to it Third-party.

@mattab
Copy link
Member

mattab commented Mar 25, 2017

Excellent 👍

@mattab mattab merged commit 61c3e8d into 3.x-dev Mar 25, 2017
@mattab mattab deleted the pluginfilter branch March 25, 2017 08:29
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 not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Plugin Filter "third party" shows several plugins with author "piwik"
3 participants