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

Click a recording to select it #4761

Merged
merged 8 commits into from Jan 10, 2024
Merged

Click a recording to select it #4761

merged 8 commits into from Jan 10, 2024

Conversation

emilk
Copy link
Member

@emilk emilk commented Jan 9, 2024

What

You can now click a recording to select it (show info about it in the selection panel).

(gif made before I updated the icon)
select-recording

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 the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

@emilk emilk added ui concerns graphical user interface include in changelog labels Jan 9, 2024
@emilk
Copy link
Member Author

emilk commented Jan 9, 2024

Blocked on having a "Store" icon

@Wumpf Wumpf self-requested a review January 9, 2024 17:09
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.

really cool, I like the collateral code cleanups almost more than the feature itself :)


use crate::DataUi;

impl DataUi for Item {
Copy link
Member

Choose a reason for hiding this comment

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

do we know what this was used for?

Copy link
Member Author

Choose a reason for hiding this comment

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

Selection panel and time panel; but not anymore

@@ -400,6 +400,14 @@ impl App {
);
}
}

SystemCommand::SetSelection(store_id, item) => {
Copy link
Member

Choose a reason for hiding this comment

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

This makes me wonder if we should move more over to this system command. If everything where to use it we wouldn't need double buffering on the selection state 🤔

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup, I think we should

@emilk emilk merged commit 48f64a7 into main Jan 10, 2024
40 of 41 checks passed
@emilk emilk deleted the emilk/select-recordings branch January 10, 2024 08:21
abey79 added a commit that referenced this pull request Feb 21, 2024
-> use the same icon as the one introduced by #4761
emilk pushed a commit that referenced this pull request Feb 21, 2024
### What

<img width="360" alt="image"
src="https://github.com/rerun-io/rerun/assets/49431240/3202ac5b-bfca-49bb-b446-1363b84c2a0f">

<br/>
<br/>

-> use the same icon as the one introduced by #4761:

<img width="426" alt="image"
src="https://github.com/rerun-io/rerun/assets/49431240/fa711a4c-b7e8-4810-ba41-6d0225d77fed">




### 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 the web demo (if applicable):
* Using newly built examples:
[app.rerun.io](https://app.rerun.io/pr/5246/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/5246/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/5246/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json)
* [x] The PR title and labels are set such as to maximize their
usefulness for the next release's CHANGELOG
* [x] If applicable, add a new check to the [release
checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)!

- [PR Build Summary](https://build.rerun.io/pr/5246)
- [Docs
preview](https://rerun.io/preview/7d6649d2c5395bc6e5f789409733e374adafb8ec/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/7d6649d2c5395bc6e5f789409733e374adafb8ec/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
include in changelog ui concerns graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clicking a recording should select it Don't use "Store ID" in the UI
2 participants