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

Refactor naming of SpaceViewClass and changed TextSpaceView name to "Text Log" #4386

Merged
merged 4 commits into from Nov 29, 2023

Conversation

abey79
Copy link
Contributor

@abey79 abey79 commented Nov 29, 2023

What

Space View names are now user-facing, so I wanted to change "TextLog" to "Text Log", consistent with all other multi-word space view names. In the process, I ended up refactoring the way names is handled for SpaceViewClasss and ViewSystems, such that they all provide a convenient ClassName::NAME constant to use throughout the code.

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested app.rerun.io (if applicable)
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

Copy link
Member

@Wumpf Wumpf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

crates/re_viewer_context/src/space_view/named_system.rs Outdated Show resolved Hide resolved
@abey79 abey79 changed the title Refactor naming of SpaceViewClass and ViewSystem and changed TextSpaceView name to "Text Log" Refactor naming of SpaceViewClass and changed TextSpaceView name to "Text Log" Nov 29, 2023
@abey79
Copy link
Contributor Author

abey79 commented Nov 29, 2023

I reverted the change on ViewSystem as it's not that useful.

# Conflicts:
#	crates/re_viewer/src/ui/selection_panel.rs
#	crates/re_viewport/src/space_view.rs
@abey79 abey79 merged commit d0ff195 into main Nov 29, 2023
40 checks passed
@abey79 abey79 deleted the antoine/space-view-names branch November 29, 2023 20:40
teh-cmc pushed a commit that referenced this pull request Nov 30, 2023
…to "Text Log" (#4386)

### What

Space View names are now user-facing, so I wanted to change "TextLog" to
"Text Log", consistent with all other multi-word space view names. In
the process, I ended up refactoring the way names is handled for
`SpaceViewClass`s ~~and `ViewSystem`s~~, such that they all provide a
convenient `ClassName::NAME` constant to use throughout the code.

### Checklist
* [x] I have read and agree to [Contributor
Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and
the [Code of
Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md)
* [x] I've included a screenshot or gif (if applicable)
* [x] I have tested [app.rerun.io](https://app.rerun.io/pr/4386) (if
applicable)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG

- [PR Build Summary](https://build.rerun.io/pr/4386)
- [Docs
preview](https://rerun.io/preview/700b50bc390cb857067a2f3242f4225dffe08e5d/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/700b50bc390cb857067a2f3242f4225dffe08e5d/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🧑‍💻 dev experience developer experience (excluding CI) include in changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants