nabil-boag / angular-multimocks

Tools for managing mock data scenarios in AngularJS applications.
MIT License
35 stars 11 forks source link

Move the Scenario menu component into tempo-scenario #4

Closed bnppl closed 9 years ago

bnppl commented 10 years ago

It would be great if the functionality here https://github.com/QuickbridgeLtd/ivy/tree/master/app/src/scenarioMenu

Could be made more generic and introduced to this component so that we can get a scenario switcher out of the box on new projects.

afternoon commented 10 years ago

I think it makes sense to move some of the menu code into tempo-scenario. There are a few bits: generating the list of available scenarios, displaying a page, linking to that page. I'd prefer to keep the UI bits to a minimum, since they're specific to Ivy.

afternoon commented 10 years ago

To be clear, I'll definitely take a pull request for this.