Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Pagination UI always highlights both page 1 and page 2 #487

Closed
ciur opened this issue Oct 15, 2022 · 0 comments
Closed

Pagination UI always highlights both page 1 and page 2 #487

ciur opened this issue Oct 15, 2022 · 0 comments
Assignees
Labels
2.1 bug Something isn't working

Comments

@ciur
Copy link
Owner

ciur commented Oct 15, 2022

Browsers: all
Backend version: 2.1.0b10
Frontend version: 2.1.0b8

Description

In case there are more than 10 folders in home screen - pagination UI is displayed. In my case I have 12 folders, thus pagination UI shows two pages. Clicking pagination UI numbers (1, 2) works as expected - it opens different pages (page 1 - first 10 folders, page 2 - last two folders).

Problem/Bug/Wrong Behaviour

Pagination UI's numbers are always highlighted - page 1 and page 2 - and both of them are clickable - regardless of which page is current (see below screenshot).

Expected Behavior

Current page should not be clickable and should not be highlighted.

Current page is page for which user already sees the items, thus there is no action required to "get there" - which is suggested
by the fact that current page is not clickable (or highlighted).

In general I suggest to remove "highlighting" part - only to leave pagination as numbers either as links or as plain text numbers. Current page will be plain number, all other pagination pages will be links.

pagination

@ciur ciur added the bug Something isn't working label Oct 15, 2022
@ciur ciur self-assigned this Oct 15, 2022
@ciur ciur added the 2.1 label Oct 15, 2022
passionatedev44 added a commit to passionatedev44/papermerge that referenced this issue Dec 10, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
2.1 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant