o2r-project / o2r-UI

User interface for creating and examining Executable Research Compendia (ERC)
https://o2r.uni-muenster.de/
Apache License 2.0
3 stars 5 forks source link

Permalink to results of a specific job #166

Closed nuest closed 3 years ago

nuest commented 4 years ago

The current URL does not change when a user inspects the differences between the original and reproduced document. It would be nice if there would be a URL that includes the specific job that a user is looking at, and optionally even opens that view, e.g.

njakuschona commented 3 years ago

The UI is using a HashRouter https://reactrouter.com/web/api/HashRouter at the moment. Therefore is it not possible to add a second hashtag to the route. For this purpose it's useful to use the Browser Router https://reactrouter.com/web/api/BrowserRouter instead of the HashRouter. https://github.com/o2r-project/o2r-UI/blob/master/ui/src/components/app/App.js#L61