Repository navigation
Forwards and backwards - #331
Conversation
psvenk
left a comment
There was a problem hiding this comment.
Looks good to me. One thing to consider: we could assign URL fragments to the history states — e.g., #schedule, #attendance — and switch to the proper tab if a user loads the page with one of these fragments as part of the URL. This makes the tabs function more like separate pages and has the benefit of making the history states transparent to the user (via changes in the page URL). What are your thoughts?
|
The thing with that is that I couldn't come up with a good way to translate between #fragment names and ids for lookup. If you think of a way of gathering and selecting elements by #'s that would be great but I can just brute force it, in a not very programmatic translator, with a series of ifs or a switch. |
Closes #224 and it was way easier than I thought it would be.