No-JS: Dismissing/accepting a suggestion jumps to the top of the page #321

Open
opened 2024-11-01 18:01:21 +00:00 by fricklerhandwerk · 2 comments
fricklerhandwerk commented 2024-11-01 18:01:21 +00:00 (Migrated from github.com)

This is only relevant for users that have JavaScript disabled.

Currently the page is reloaded and the screen scrolls to the top, so I have to find back the place where I was in the page.

Implementation idea: Add an id to every container (e.g. based on the CVE ID, which should not be duplicate anyway) and construct a URL fragment to the ID after the container in question for the POST request. May need some massaging if the next container is on the next page.

This is only relevant for users that have JavaScript disabled. Currently the page is reloaded and the screen scrolls to the top, so I have to find back the place where I was in the page. Implementation idea: Add an `id` to every container (e.g. based on the CVE ID, which [should not be duplicate anyway](https://github.com/Nix-Security-WG/nix-security-tracker/issues/201#issuecomment-2446620800)) and construct a URL fragment to the ID after the container in question for the POST request. May need some massaging if the next container is on the next page.
erictapen commented 2024-11-20 15:29:17 +00:00 (Migrated from github.com)

Superseeded by https://github.com/Nix-Security-WG/nix-security-tracker/issues/379, or did I misunterstand your thumbs up, @fricklerhandwerk ?

Superseeded by https://github.com/Nix-Security-WG/nix-security-tracker/issues/379, or did I misunterstand your thumbs up, @fricklerhandwerk ?
fricklerhandwerk commented 2024-11-25 11:55:30 +00:00 (Migrated from github.com)

Closed by #379

Closed by #379
Sign in to join this conversation.
No description provided.