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

Tensor view ui improvements #1022

Merged
merged 7 commits into from
Feb 1, 2023
Merged

Tensor view ui improvements #1022

merged 7 commits into from
Feb 1, 2023

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Jan 31, 2023

Fixes #1018 - compromise on (4), but otherwise this ticket describes point by point what was changed here.
-> Instead of adding a new space for selectors, we now allow selectors to be invisible in the ui. Started trying the alternative but not only was it quite hard to implement, the ui also didn't feel that good.
Also rearranged dimension mapper ui slightly as it never fitted the default selector width

Best reviewed commit by commit!

Before:
image

After:
image

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I've added a line to CHANGELOG.md (if this is a big enough change to warrant it)

@emilk
Copy link
Member

emilk commented Feb 1, 2023

Nit: I think this would now look better with "flip" and "width/height" on the right, so that the "slots" are vertically aligned

Screen Shot 2023-02-01 at 09 23 32

@emilk emilk self-requested a review February 1, 2023 08:26
Copy link
Member

@emilk emilk left a comment

Choose a reason for hiding this comment

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

Really good improvements 👏

Maybe @nikolausWest want to take it for a spin before merge (otherwise he can take it for a spin after merge)

crates/re_tensor_ops/src/dimension_mapping.rs Outdated Show resolved Hide resolved
crates/re_tensor_ops/src/dimension_mapping.rs Outdated Show resolved Hide resolved
crates/re_tensor_ops/src/dimension_mapping.rs Outdated Show resolved Hide resolved
@nikolausWest
Copy link
Member

Super awesome! I still think the tensor view has some ways to go but I'll put the next round of problems in a new issue.

One small thing: drop the quotes and colon " ": here:
Screenshot 2023-02-01 at 10 24 53

@Wumpf
Copy link
Member Author

Wumpf commented Feb 1, 2023

@nikolausWest the quotes are in the sample, meaning the quotes are literally part of the dimension names and not something the viewer adds. We obv. don't want to mess witih the user names so don't want to remove them on the viewer. I'll check if that is easily fixed in the sample

@Wumpf
Copy link
Member Author

Wumpf commented Feb 1, 2023

huh. okay something else is adding them along the way. Investigating

also remove colon there
@Wumpf
Copy link
Member Author

Wumpf commented Feb 1, 2023

nvm fixed

@Wumpf Wumpf merged commit 972324b into main Feb 1, 2023
@Wumpf Wumpf deleted the andreas/tensor-view-improvements branch February 1, 2023 14:17
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.

A collection of annoying & bad looking things about the tensor view
3 participants