acdh-oeaw / vicav-vue3

Reimplementation of the VICAV Frontend based on Vue.js 3
https://vicav-vue.acdh-ch-dev.oeaw.ac.at
MIT License
0 stars 0 forks source link

state of the application should be shareable via URL #4

Closed dasch124 closed 10 months ago

dasch124 commented 1 year ago

Currently, the state of the application (number and order of opened windows, their content / queries) is encoded in the URL – this should be possible with the new implementation as well (it's not necessary to reproduce the current syntax)

simar0at commented 11 months ago

@ttechnicus and @ctot-nondef will solve this on 20.11.2023

ctot-nondef commented 11 months ago

state of the applications:

these need to be programmtically applicable on app bootstrap

ttechnicus commented 11 months ago

We deployed the preliminary version Still missing:

ttechnicus commented 11 months ago

Other requirements:

ttechnicus commented 10 months ago

The url length is growing currently with approx. 200 characters by each window open. Different browsers have different maximal length set for the url:

Browser     Address bar   document.location
                          or anchor tag
------------------------------------------
Chrome          32779           >64k
Android          8192           >64k
Firefox          >64k           >64k
Safari           >64k           >64k
IE11             2047           5120
Edge 16          2047          10240

(source)

Therefore Internet Explorer and Edge users can experience strange behaviour after opening 10 windows. We judged this as an extremely rare user case which doesn't need to be treated as of now.

simar0at commented 10 months ago

This is closed now. Please move this comment to a new issue.

ttechnicus commented 10 months ago

@simar0at This is not a new issue, only a documentation of the work done