Add dropdown for namespace selection on App Wizard#62
Merged
Conversation
- Implemented prefix-based filtering to hide system namespaces (p-, c-, kube-, etc.). - Refactored the UI to use a single "creatable" dropdown for a cleaner user experience. - Ensured `<app-name>-system` is always suggested as the default.
Previous changes made the `<app-name>-system` namespace the option selected by default in the namespace dropdown during app installation and management. Now, the installed namespace is the selected option during app management.
leooamaral
reviewed
Feb 25, 2026
leooamaral
reviewed
Feb 25, 2026
Contributor
Author
|
It should be able to create the namespace, I'll try to reproduce the issue. |
When creating a new namespace in the App Wizard using the "creatable" dropdown, the component was incorrectly passing an object (e.g., `{ label: 'new-ns' }`) to the form model instead of a simple string. It now checks if the incoming value is an object and extracts the string name from its `label` property, ensuring a valid string is always passed to the backend.
leooamaral
approved these changes
Feb 25, 2026
Contributor
leooamaral
left a comment
There was a problem hiding this comment.
Changes validated:
- I could install ollama in pre-created namespace
- I could install ollama in non-existent namespace
- I could install ollama in ollama-system namespace
Also worked installing the apps in the current rancher server and downstream servers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


This PR introduces improvements to the App Wizard (both Install and Manage pages), focusing on namespace selection and user experience.
Key changes:
c-xxxxxx,p-xxxxxx,kube-system,cattle-system) from the dropdown, providing users with a cleaner and more relevant list of available namespaces.<app-name>-systemas the default namespace in the Install page, ensuring it remains available as an option and is pre-selected after fetching and filtering other namespaces. For the Manage page, the pre-selected option is the namespace where the app is currently installed.