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

fix: improve consistency of labels #2970

Merged
merged 2 commits into from Mar 19, 2024
Merged

fix: improve consistency of labels #2970

merged 2 commits into from Mar 19, 2024

Conversation

targos
Copy link
Member

@targos targos commented Mar 18, 2024

  • Do not use uppercase in wrong places.
  • Remove unnecessary whitespaces.
  • Refactor Label component to wrap the form element with <label> to
    remove the need for htmlFor and automatically bind it to the element.
  • Drive-by: correct spelling error (spectrums instead of spectra).

- Do not use uppercase in wrong places.
- Remove unnecessary whitespaces.
- Refactor Label component to wrap the form element with `<label>` to
  remove the need for `htmlFor` and automatically bind it to the element.
- Drive-by: correct spelling error (spectrums instead of spectra).
Copy link

cloudflare-pages bot commented Mar 18, 2024

Deploying nmrium with  Cloudflare Pages  Cloudflare Pages

Latest commit: 6e74248
Status: ✅  Deploy successful!
Preview URL: https://cb18b8eb.nmrium.pages.dev
Branch Preview URL: https://fix-label.nmrium.pages.dev

View logs

@hamed-musallam
Copy link
Member

I believe it's better to include a space before and after the shortcut label and capitalize the letter 'P' in 'Press'.

image

@targos
Copy link
Member Author

targos commented Mar 18, 2024

I can bring back the capital P, but in English there are no spaces inside parentheses.

@hamed-musallam
Copy link
Member

I can bring back the capital P, but in English there are no spaces inside parentheses.

Yes, you're correct, but it was more readable than having no spaces. You can skip my comment, it is not important and you can keep it like that

@targos targos merged commit 92fd75d into main Mar 19, 2024
11 checks passed
@targos targos deleted the fix-label branch March 19, 2024 07:42
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 this pull request may close these issues.

None yet

2 participants