Skip to content
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

New component 'SelectedTotal' #765

Closed
lpatiny opened this issue Oct 8, 2024 · 0 comments · Fixed by #766
Closed

New component 'SelectedTotal' #765

lpatiny opened this issue Oct 8, 2024 · 0 comments · Fixed by #766
Assignees

Comments

@lpatiny
Copy link
Contributor

lpatiny commented Oct 8, 2024

Currently in NMRium we have 5 different ways to display the number of selected items versus the total number of entries.

We need a component to display this simple information (if it is not yet available) and the first place it should be used is:

image

I would suggest to always have [ selected / total ]. Take care that all the spaces are Thin Space (https://www.compart.com/en/unicode/U+2009)

Here is the difference between normal space and thin space

image

If selected is undefined we whould only display the total [ total ]

Once done it should be implemented in NMRium.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants