LD4P / sinopia_editor

Sinopia Linked Data Editor
https://sinopia.io/
Apache License 2.0
35 stars 10 forks source link

Sinopia URL does not always reflect the active template in the Editor #2770

Closed michelleif closed 3 years ago

michelleif commented 3 years ago
  1. from Resource Templates, open pcc:bf2:Monograph:Instance template on stage

    Screen Shot 2021-02-11 at 1 02 19 PM

    template opens in Editor and URL of application is https://stage.sinopia.io/editor/pcc:bf2:Monograph:Instance as expected

  2. return to Resource Templates tab and open pcc:bf2:Monograph:Work as expected, there are now 2 tabs in Editor, the one you just opened (Work) is highlighted, and URL is https://stage.sinopia.io/editor/pcc:bf2:Monograph:Work

    Screen Shot 2021-02-11 at 1 08 42 PM
  3. Click over to Instance template tab. The URL remains https://stage.sinopia.io/editor/pcc:bf2:Monograph:Work instead of switching to ...:Instance, which is now the active tab.

    Screen Shot 2021-02-11 at 1 09 16 PM
  4. Click Close to close the active tab (...Instance). The URL is now https://stage.sinopia.io/editor with no template in the URL

    Screen Shot 2021-02-11 at 1 10 48 PM

We aren't able to consistently display the URL of the active template when user has multiple tabs open.

justinlittman commented 3 years ago

The approved fix for this is to remove the active template from the URL (that is, deprecate the functionality). The Dashboard makes it no longer necessary.

michelleif commented 3 years ago

created new ticket #2895 requesting display of template ID so that user can know unambiguously what template they're using, and copy/paste it to refer someone else to it

michelleif commented 3 years ago

if #2990 is implemented, this will be fixed

michelleif commented 3 years ago

fixed by #2990