jupyterlab-contrib / jupyterlab-open-url-parameter

JupyterLab extension to open files passed via a URL parameter.
BSD 3-Clause "New" or "Revised" License
10 stars 4 forks source link

Active Tab after loading several files is not define #22

Open selva-di opened 1 month ago

selva-di commented 1 month ago

After loading several files using the fromURL-Parameter, all files are opened in different tabs, but it is not well-defined, which one is the active tab.

Behavior can be tested here online: https://dev.inf-schule.de/@/page/IeZcOX4CawxwrFcm

Expected behavior: It should be well defined, which one is the active tab after loading the files. This should be independent of whether the site is loaded for the first time or whether it is reloaded.

jtpio commented 1 month ago

Thanks @selva-di for the suggestion.

That makes sense. Would you say that the latest fromURL should be the one becoming active?

selva-di commented 1 month ago

Thanks @jtpio for your acknowledgement.

Yes, I'd say the last one would be the best. Because in long URLs the last one is the one you notice the most easily.