Skip to content

Home page: Open external URL in a new tab#136

Merged
yakutovicha merged 1 commit into
mainfrom
open-url-new-tab
Mar 1, 2023
Merged

Home page: Open external URL in a new tab#136
yakutovicha merged 1 commit into
mainfrom
open-url-new-tab

Conversation

@danielhollas

Copy link
Copy Markdown
Contributor

Because the home page loads so slowly, it's extra annoying if you navigate away by accident. I make ore sense to open Apps' URL in a new tab. Same for "Manage App" button.

https://github.com/aiidalab/aiidalab-home/pull/new/open-url-new-tab

Closes #124

@unkcpz unkcpz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, and I think open in a new page makes sense for this case.

@unkcpz

unkcpz commented Feb 21, 2023

Copy link
Copy Markdown
Member

I don't know if the initial design is to try to keep all apps working in only one open tab as possible to make it more like app? I'll wait @yakutovicha to double-check. But at list for this case, we are move from home to app manager or external url, which should be regarded as the "another" app.

@danielhollas

danielhollas commented Feb 21, 2023

Copy link
Copy Markdown
Contributor Author

Yeah. For me the main issue is that the loading is so slow so navigating in between pages in a single tab is very annoying.

(I was thinking about whether we could make the home page into a static HTML so that it loads quickly but that's a discussion for another time).

@yakutovicha yakutovicha self-requested a review March 1, 2023 17:35

@yakutovicha yakutovicha left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change is perfectly valid.

@yakutovicha yakutovicha merged commit d1ff0af into main Mar 1, 2023
@yakutovicha yakutovicha deleted the open-url-new-tab branch March 1, 2023 17:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URL button should open a new tab

3 participants