-
-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Match/Page Counter(Addresses #204) #325
Conversation
Hello, can you rebase your changes as there seems to be conflicts |
The Ubuntu test doesn't appreciate that I used a Edit: Flatpak is fine, just took awhile. |
All checks passed, all unnecessary code removed, re-based, and ready to merge. |
Fixed the inconsistent state, if there are no other reviews then it should be ready. Apologies for the many problems my code brought up. |
Thanks, one more final thing. Can you expose the counter through CLI switch. You can look |
Ah, ok, I mentioned something similar on the original issue. By that do you mean enable it through CLI, or disable it there(does the vast majority of people want it enabled or disabled, or would one or the other be more intuitive)? |
Based on experience before, it's better to have it disabled by default. Usually there always appears a new issue when something is changed by default. |
On a side note, as I mentioned in the issue, do you think the counter should read "[matched/total]"(current), "matched/total", or something similar? |
For the counter option, I would most likely have to add a variable in the API to control it? Does that sound right or am I over-complicating things? |
Yes, you can check the code for scrollbar option as for how it is done. There's API for setting scrollbar display setting, and the CLI flag handling code calls that. As for the display formatting, I leave that for you to decide. |
While doing some testing, the counter seems to disappear when the I'm also committing the changes for the option in the CLI, but let me know if I should replace the |
I beg your pardon for all of this trouble, I didn't expect it to last this long. |
Fixed the |
Thanks, merged! |
Add a match/page counter to the right side of the bar. I could add an option to disable this, but it shouldn't be required due to how minimal it is. Example: If there are 12 items showing on the bar and a total of 220 items in the system, the bar would show "[12/220]"
I forgot to sync my fork with the main branch before adding the counter commits, so for some reason, there are merge conflicts with the main branch, that I couldn't figure out how to fix.Fixed this, I'm not very smart. Ready to merge.Closes #204