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

Open
#321 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

Assessment

This issue has not been assessed yet.

Description

bug frontend

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.

Dominant language
Python
Stars
116
Forks
41
Avg merge
1d 10h
Merged PRs (30d)
70

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NixOS/nix-security-tracker

All issues in NixOS/nix-security-tracker

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.