-
Task
-
Resolution: Fixed
-
Postponed
-
None
-
None
-
None
-
GLGVO Backlog
This turned out to be more challenging than I had previously thought, so I'm changing the estimate from 2h to 8h. Here is the issue:
- Typically when you link to a portion of a page, you append to the url a hash and an id of a DOM element on the page, so typically you would add "#some-id-in-the-page".
- Backbone uses a hash in the url as a way to indicate the start of the application: http://geodashboard.com/#explore
- You can disable the requirement of the "#" from Backbone by adding "pushState: true" when running Backbone.History.start(
{pushState: true}
).
- If you remove the "#" then the Play Framework expects there to be a route. IE: "explore" would have to be defined as a route, and a controller would have to be created for each Backbone page.
All that to say that something like this doesn't work:
http://geodashboard.com/#about/glossary/#some-term
So the glossary currently links to the term like this:
http://geodashboard.com/#some-term
but this doesn't work when you aren't on the Glossary page already.
We are postponing this task so that it gets done in the refactor
- mentioned in
-
Page Loading...