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

Let plugins customize the system summary widget #11685

Merged
merged 2 commits into from May 12, 2017
Merged

Conversation

tsteur
Copy link
Member

@tsteur tsteur commented May 10, 2017

Plugins can now add more system summary items and filter existing system summary items.

I'm happy to change namespace if needed. I could have made this a component and pick up classes from an eg "SystemSumary" folder automatically but didn't want to overdo it for now as it is not such an essential feature and it is actually not really a core feature. Can do it though if needed. The events would be still needed even when they are in core so thought to keep it simple for now.

@tsteur tsteur added c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. labels May 10, 2017
@tsteur tsteur added this to the 3.0.4 milestone May 10, 2017
@tsteur tsteur added the Needs Review PRs that need a code review label May 10, 2017
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.

Event names and namespaces are fine I think.
Regarding the automatic component pickup: Maybe we should try to make a general decision here if we want to try to avoid (new) events where possible and use components instead. But that's nothing we need to decide for this PR. We can change it again later...

@sgiehl sgiehl removed the Needs Review PRs that need a code review label May 12, 2017
@tsteur
Copy link
Member Author

tsteur commented May 12, 2017

Yeah we would need those events either way, even with components so we can always change it later. Will merge it for now and can see later I'd say

@tsteur tsteur merged commit b0c772b into 3.x-dev May 12, 2017
@tsteur tsteur deleted the customsystemsummary branch May 12, 2017 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: Platform For Matomo platform changes that aren't impacting any of our APIs but improve the core itself. Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants