Organize routing in Sheriff-o-Matic better |
|||
Issue descriptionRouting in Sheriff-o-Matic is getting a little bit hackish now that our pages are getting more complex. Nested subroutes in particular are a pain right now. Polymer's app-route element I believe will be much nicer and easier to extend: https://www.webcomponents.org/element/PolymerElements/app-route
,
Sep 1 2017
Looked at PolyGerrit, and it looks like they use their own custom-implemented router to deal with this. Looking more into app-route, it doesn't seem to really provide all that much besides url parsing. We could probably get away with refactoring our routes into a more standard system. PolyGerrit basically has a file with a huge bunch of regexes and a lot of other things. Not the prettiest, but I think it beats having random url parsing logic spread between components.
,
Dec 14 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by zhangtiff@chromium.org
, Aug 30 2017