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

Trash icon for simulations #59

Closed
stefaniapedrazzi opened this issue Sep 27, 2022 · 2 comments
Closed

Trash icon for simulations #59

stefaniapedrazzi opened this issue Sep 27, 2022 · 2 comments
Labels
question Further information is requested

Comments

@stefaniapedrazzi
Copy link
Member

When a user is logged it, the trash icon for animation loaded by the user itself is blue and all the others are red.
But for simulations there is not this difference and all the trash are red.

I don't know if there is a reason for this.
But it is very useful to have anything that identifies which are the scenes/animations/simulations loaded by the current users, given that there is not even a user column in the table.

Maybe a future feature could to add a filter to show only the own scenes/animations/simulations/servers.

@stefaniapedrazzi stefaniapedrazzi added the question Further information is requested label Sep 27, 2022
@BenjaminDeleze
Copy link

BenjaminDeleze commented Sep 27, 2022

You see the red icon because your are an administrator.

The trash icon follows this code:

  • blue: you own the animation/scene => only you can delete it.
  • white: nobody own the animation/scene => everybody can remove it.
  • red: animation/scene owned by someone else. Normal user do not see red trash icon, if the animation/scene belongs to someone else, there is no thrash icon for them. The red icon means that, as an admin, you can remove the animation/scene owned by someone else.

Special case for simulations:
Simulation are not owned (it is just a link to a repo), so the normal way to remove one is to change the .yaml file in the github repo (which you can do only if you are the user.
However, as an admin, you can remove the simulation directly on the webots.cloud.

I agree that the filter to see only its animation/scene is a good idea.

@omichel
Copy link
Member

omichel commented Sep 28, 2022

I agree that the filter to see only its animation/scene is a good idea.

Adding a "mine" check-box next to the search box could be a solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Development

No branches or pull requests

3 participants