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

[ENH] - Add namespace to Create Environment tab #307

Closed kcpevey closed 5 months ago

kcpevey commented 11 months ago

Feature description

After you click the +, you get a new tab opened for Create Environment. This tab does not contain any visual indicator of the namespace you are creating in.

So I clicked the +, then answered a slack message, then came back to the screen to see this:

image

Which namespace am I creating an in? I can't remember and the UI doesn't help me 😆

Value and/or benefit

Improved UI for forgetful people - more clarity for everyone else

Anything else?

No response

smeragoel commented 9 months ago

image

Figma Link

This is the solution I propose: We add the namespace next to the environment name. In the design above, it's a read-only text field.

Additionally, this UI allows for potentially changing the namespace as well. This means that when you're creating a new environment, you can switch namespaces. This functionality is not in the scope of this issue, its technical feasibility is uncertain and it also impacts the workflows, so it needs to be discussed if that is something we want to implement. I figured I would mention it because of the UI change!

smeragoel commented 9 months ago

Based on the discussion in today's sync, we are keeping the field read-only for now. Moving environment is a big topic that should be discussed separately as and when the need arises. Based on @trallard's suggestions, I have also changed the text on the tab to help differentiate the different tabs.

image

This is now ready to go into dev!

gabalafou commented 6 months ago

Since pull request #361 solves this issue as written, I decided to create a separate issue, https://github.com/conda-incubator/conda-store-ui/issues/373, to track the related issue to add namespace to all tabs, not just the create environment tab.