Skip to content

Improve routing

Lukas Weingarten requested to merge improve-routes into master
  • Use series/:seriesName/statistics for statistics overview. Update url when switching between group statistics. Current group to display is now chosen by url. GlobalStorageService is no longer needed here.
  • Use series/:seriesName/:contentIndex for the statistics of a single content.
  • 'live-survey' has been replaced with 'feedback'.
  • The 'room' part of the url has been removes because it's not needed.
  • User role has been shortened to p for participants, edit for creator (moderator will also be edit in the future)
  • Series routing in presentation mode has been fixed. Atm there's a problem when using a feature name e.g. 'comments' as question series name because the routes are not unique.
  • Remove /home route
  • Redirects for old routes have been added

For this changes adjust routing service to use url tree routing.

Examples for new routing:

  • https://ars.particify.de/p/12345678
  • https://ars.particify.de/p/12345678/comments
  • https://ars.particify.de/edit/12345678/comments
  • https://ars.particify.de/edit/12345678/series/Quiz
  • https://ars.particify.de/present/12345678/series/Quiz

This pattern should be the shortest way to include the needed informations and be consistent for different roles as well.

Edited by Lukas Weingarten

Merge request reports