The button cannot remember the previous options #6410

Closed
opened 2025-11-02 06:55:03 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @ffbh123456 on GitHub (Nov 30, 2020).

  • Gitea version (or commit ref): 1.14.0+dev-265-g742e21aeb built with GNU Make 4.3, go1.15.5
  • Git version: 2.28.0
  • Operating system: macOS 11.0.1
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No

Description

In the interface of PR Review, I set ignore whitespace when comparing lines, but when I close the browser page and reopen the page, this becomes Show all changes again. I hope this button can stay in this state. Because now I need to reset this option every time I open this page
截屏2020-11-30 21 06 48
截屏2020-11-30 21 07 03

Originally created by @ffbh123456 on GitHub (Nov 30, 2020). - Gitea version (or commit ref): 1.14.0+dev-265-g742e21aeb built with GNU Make 4.3, go1.15.5 - Git version: 2.28.0 - Operating system: macOS 11.0.1 <!-- Please include information on whether you built gitea yourself, used one of our downloads or are using some other package --> <!-- Please also tell us how you are running gitea, e.g. if it is being run from docker, a command-line, systemd etc. ---> <!-- If you are using a package or systemd tell us what distribution you are using --> - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [ ] Yes (provide example URL) - [x] No ## Description In the interface of PR Review, I set **ignore whitespace when comparing lines**, but when I close the browser page and reopen the page, this becomes **Show all changes** again. I hope this button can stay in this state. Because now I need to reset this option every time I open this page <img width="670" alt="截屏2020-11-30 21 06 48" src="https://user-images.githubusercontent.com/20750357/100613943-4e5c3c80-3350-11eb-9a04-816cdf99d3a6.png"> <img width="697" alt="截屏2020-11-30 21 07 03" src="https://user-images.githubusercontent.com/20750357/100613949-50260000-3350-11eb-898f-d976b5fee947.png">
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#6410