app-shell: allow trailing paths in the router
Compare changes
Gitlab 18.0 has been released. Since there are breaking changes the update will be postponed to July 2025. For a list of breaking changes see https://about.gitlab.com/blog/2025/04/18/a-guide-to-the-breaking-changes-in-gitlab-18-0/. Please prepare yourself and your projects for this update.
In case the path ending with the activity ID has more trailing path elements, we don't fall back to the default route but just ignore them (and save them in the router state).
This allows passing in extra information via the path without breaking the routing, and in case we want to forward the routing to the activities in the future we can use the extra path elements we store for that.
For this to work with our current logic we have to stop comparing path strings and compare the resulting computed state everywhere instead.