haystack / nb

11 stars 10 forks source link

Deep links for specific course pages #75

Open karger opened 3 years ago

karger commented 3 years ago

There should be a distinct URL associated with each course in NB---e.g., nb2.csail.mit.edu/course/{some id}. at present, clicking on a course takes you to the course page but you are still at the same (root) url. Instead you should get a course specific url. This does not require fetching a new page from the server: history.pushState can update the url without a reload.

JumanaFM commented 3 years ago

tip: https://router.vuejs.org/guide/essentials/dynamic-matching.html#dynamic-route-matching

JumanaFM commented 3 years ago

from David #106

The current browser interface keeps the URL unchanged as a user navigates among different classes and directories. Instead, each class and each directory in a class should have its own URL (a natural one would be something like nb2.csail/class-name+class-id/directory-path/ ). This would allow users to bookmark or link to specific classes and directories within them. I assume there are mechanisms in view to do this automatically.

JumanaFM commented 3 years ago

from David #145

There should be distinct URLs for each "meaningful" page in NB, so that for example people can send emails instructing others to navigate to those specific places.