Provide a command to generate Angular components #6285
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
To guarantee we are using always best practice styles for Angular it would be good to have a generator for AngularJS components. I noticed many angular files were copied and for instance the dependencies were not adjusted. Copying other components to have a template is not bad when someone knows what the person does. Problem is for instance when the copied file does not follow guidelines / best practice etc.
We could ask a few question eg. "do you need a template/controller/..." . The generator will make sure to create the files in angularjs folder, to create a file for each component, to have correct filenames as defined in style guide, uses named functions, IIFE, ...
Maybe already in 2.8 or 2.9? As more and more components are added
The text was updated successfully, but these errors were encountered: