Move new menu item to sub menu#334
Conversation
68113dd to
07a7d58
Compare
|
I like it. Though with same thoughs on the actual implementation. Hidden menu pages are a pretty nice trick, but I think I'd prefer the "view" parameter here.
Yes, but it's not that many links. Maybe bundle the generation to a helper method like
Really? We don't touch the DOM IDs within our views, so I guess there's no change required on this side.
Sorry for taking over your branch, I've added a |
|
The more the merrier! The view approach would have been more or less the other way I contemplated, so no hard feelings at all. |
|



I went for the path of least resistance and I'm not sure, this is my preferred solution.
The alternative route would be one merged page. And registering a single slug and switch views via a
?view=parameter insideshow_view(). That would have been tidier, but it touches every internalpage=...link in the three views and the#statify_dashboardselectors indashboard.js.I wanted to keep the edits light instead of doing a big restructuring of the codebase, but if we decide to go for the more complete approach, I'm game.