Open smalers opened 3 years ago
Hash Location Strategy implemented. TODO: include logical url mapping to display charting package
I think the routing URLs need some work based on my original comment. For example, the path should be something like:
#/plotly/tstool-graph-month-line
The above would clearly have delineation between the library and the examples for that library. The current plotly-tstool-graph
is too generic and a flat naming does not scale well. I'm going to update other issues with specific feedback.
See other issue comments. Remove "demo" from URLs since it is redundant. Add "line", etc. as needed to completely describe the example.
Other OWF applications are using the
HashLocationStrategy
. This has helped to provide more structure to the URLs and routing. For example, for InfoMapper, any map is found under#/map
and normal content pages are found under#/contentPage
. The InfoMapper configuration file defines menus with anid
property, which is used at the end of the URL.I suggest that this be implemented for the demonstration application. Josh can help if there are questions. The routing can then implement some logical URL mapping. I can comment on this more once other issues related to file organization are addressed. For example, the URLs might make sense to look like:
#/chartjs/line-month/
#/plotly/snodas/