conda-incubator / conda-store-ui

conda-store-ui is a frontend for conda-store powered by react
https://conda-incubator.github.io/conda-store-ui/
BSD 3-Clause "New" or "Revised" License
13 stars 18 forks source link

[BUG] - UI when not logged in. #311

Open dharhas opened 12 months ago

dharhas commented 12 months ago

Describe the bug

Currently on Nebari when you are not logged in you see the following:

image

This has two problems. First, global is a namespace in shared environments and should show up below the "shared Environments" tag. Second, you can't actually see any of the environments in the global namespace, you just see the title.

Not sure if this is a Nebari config issue or a core conda-store issue.

Expected behavior

We should define what needs to be shown when not logged in.

My recommendation would be that public namespaces like global etc be shown in the correct place with its environments available to look at.

OR we show nothing and just a login screen.

How to Reproduce the problem?

not sure if this can be reproduced locally but you can visit https://nebari.quansight.dev/conda-store/ to see this behavior.

Output

No response

Versions and dependencies used.

No response

Anything else?

No response

pavithraes commented 11 months ago

Locally, conda-store shows the default namespace and the envs in this namespace under the "shared environments" heading:

Screenshot 2023-09-28 at 2 21 42 AM

This is mainly a Nebari issue.


However, when logged-out, users should not be able to create envs and the green plus button should be disabled. Currently, I'm allowed to go through the creation workflow, but will be shown a request not authorized error on clicking "Create" because I'm not logged in.

https://github.com/conda-incubator/conda-store/assets/33131404/ecc734b8-09bd-473b-b215-f45ab41cfb87


Next steps: I'll open a relevant issue on the Nebari issue tracker to track Dharhas' notes and move this issue to conda-store-ui to keep track of the env creation UX enhancement noted in the previous section

smeragoel commented 9 months ago

Here is a design of the logged out screen. I have removed the + New buttons to disable environment creation when logged out and I have moved global to Shared Namespaces.

image