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

deduplicate text windwos #69

Closed ctot-nondef closed 9 months ago

ctot-nondef commented 9 months ago

All windows that display singlular texts should only be open once, when a link to such a window is clicked again it should bring the window to front and/or maxmize it.

text windows have parameters like so: {"id":"vicavExplanationFeatures"}

simar0at commented 9 months ago

Roughly all windows that use an id parameter

Not deduplicated Windows:

ttechnicus commented 9 months ago

I go with the "rule of thumb" that we agreed on, that whenever there is an "id" property in the parameters, the window should not open again, but get focus.

ttechnicus commented 9 months ago

branch 61 is merged into 69, so first we need to finish the PR for 61 before we do it for 69

ctot-nondef commented 9 months ago

basic functionality established, currently the effect if a text window already exists is focus() wich is not visible if the windows are in tiling mode, we need a more prominent effect such as a change in color