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

Optionally create a plugin along with any component #6148

Open
tsteur opened this issue Sep 7, 2014 · 0 comments
Open

Optionally create a plugin along with any component #6148

tsteur opened this issue Sep 7, 2014 · 0 comments
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.

Comments

@tsteur
Copy link
Member

tsteur commented Sep 7, 2014

Often a user wants to create a plugin for a specific purpose. For instance to create a widget, or a visualization, or a report.

Therefore he usually has to do the following steps:

  • Generate a plugin ./console generate:plugin
  • Generate a component ./console generate:(tasks | widget | report |...) where he can select any existing plugin the component will belong to.

Instead of only allowing to select an existing plugin we could also allow to directly create a new plugin along the component by entering a new plugin name and not choosing an existing one. Maybe we'd have to ask the user for confirmation before creating a new plugin in case it was a typo? Both in interactive mode and when specified as a CLI option.

The step would then only be ./console generate:(tasks | widget | report |...). Which is easier to understand and explain.

See also #6145 to only generate a blank plugin which would kinda be a requirement for this

@tsteur tsteur added the Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. label Sep 7, 2014
@tsteur tsteur added this to the Mid term milestone Sep 7, 2014
@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. and removed Task Indicates an issue is neither a feature nor a bug and it's purely a "technical" change. labels Dec 4, 2014
@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
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

No branches or pull requests

2 participants