Skip to content

fix: turn app <button>s into <a>s#112

Open
WofWca wants to merge 1 commit intomainfrom
wofwca/nativify
Open

fix: turn app <button>s into <a>s#112
WofWca wants to merge 1 commit intomainfrom
wofwca/nativify

Conversation

@WofWca
Copy link
Member

@WofWca WofWca commented Jan 5, 2026

This allows Shift / Ctrl + Clicking them to open in new tab
and is overall more sensible with our hashchange approach.

A side effect of this is that the app list items
no longer change brightness on hover,
which could be considered a positive side effect by some.

Apparently the initial implementation of showing apps in a dialog
did not have the hashchange handler yet, so that was probably
the reason to use <button> instead of <a>:
58d8e44.
The hashchange listener was added a few commits later:
7b294dc.

I have checked that clicking and opening the initial URL (like /website/apps/#wofwca-quake3) works.

This allows Shift / Ctrl + Clicking them to open in new tab
and is overall more sensible with our `hashchange` approach.

A side effect of this is that the app list items
no longer change brightness on hover,
which could be considered a positive side effect by some.

Apparently the initial implementation of showing apps in a dialog
did not have the `hashchange` handler yet, so that was probably
the reason to use `<button>` instead of `<a>`:
58d8e44.
The `hashchange` listener was added a few commits later:
7b294dc.
@hpk42 hpk42 added the apps/ page for issues related to apps/ page label Feb 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

apps/ page for issues related to apps/ page

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants