rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
459 stars 260 forks source link

Improve Namespace Creation in Empty Projects on Project/Namespace Overview Page #5558

Open kwwii opened 2 years ago

kwwii commented 2 years ago

Setup

Describe the bug Users find it hard to create a Namespace in an empty Project when there are NO empty Projects visible in the table Project View.

To Reproduce When all Namespaces are associated with a Project, try to create a Namespace in an empty Project.

Result There is actually only one Namespace creation UI, pre-seeded with the Project Name a given button is associated with in the table row header(s). If there is no "Not in a project" Namespace grouped at the bottom of the table, there is no dedicated button with the value "None" pre-seeded in the UI.

Users have requested to ALWAYS show the empty Project row at the bottom of the table to make this easier. I suggest this change instead.

Expected Result A user can easily create a Namespace without assigning it to a Project.

Remove the Namespace creation buttons in every Project table row.

Add one button at the top right of the page next to "Create Project" labelled "Create Namespace". This button should open the current UI, BUT with the "Project" field at the beginning (top left instead of top right) of the creation UI.

catherineluse commented 2 years ago

You can add namespaces to an empty project now, as empty projects are included in the projects/namespaces list now. Can this issue be closed?

Screen Shot 2022-07-11 at 5 55 52 PM