Skip to content

Conversation

@abey79
Copy link
Member

@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.

lgtm, makes sense.
Loosely related to:

@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
Member 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
@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.

3 participants