-
Notifications
You must be signed in to change notification settings - Fork 373
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
Normalize various text string in UI #2902
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added a bunch of nit comments 🤓
(Beyond the scope of this PR, but I'm seeing a huge need for more writing rules across the UI. We're phrasing things very differently in various places. And let's not get started on oxford commas!)
Well spotted 👍🏻 I actually found a bunch more to fix along the way. I fully expect that there are more lurking 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I added some final comments, but other than that, this is ready to go! Awesome step towards making the software feel more mature. 🥰
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great stuff!
# Conflicts: # crates/re_types/source_hash.txt
ui.label(tensor.dtype().to_string()); | ||
ui.end_row(); | ||
|
||
re_ui | ||
.grid_left_hand_label(ui, "Shape") | ||
.on_hover_text("Extent of every dimension."); | ||
.on_hover_text("Extent of every dimension"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should add a lint for this in scripts/lint.py
!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree, but I got lazy because linting rust with regex is rather annoying. How do you feel about putting in place some (syn-based?) rust-based rust lint?
What
Normalises various text strings as per #2724. The writing rules are now made explicit in
design/writing_rules.md
.Fixes #2724
Checklist