Skip to content

Conversation

@RemiBonnet
Copy link
Member

@RemiBonnet RemiBonnet commented Jan 14, 2026

Summary

  • Add first cluster creation flow "General"
  • Migrate "credentials" and "general" settings element from shared to domains
  • Add the possibility to not display the layout (useful for creation flow)

Screenshots / Recordings

https://www.loom.com/share/9bc66c9925694f96a4f67729fa2294b5

Testing

  • Changes tested locally in the relevant Console's pages and Storybooks
  • yarn test or yarn test -u (if you need to regenerate snapshots)
  • yarn format
  • yarn lint

PR Checklist

  • I followed naming, styling, and TypeScript rules (see .cursor/rules)
  • I performed a self-review (diff inspected, dead code removed)
  • I titled the PR using Conventional Commits with a scope when possible (e.g. feat(service): add new Terraform service) - required for semantic-release
  • I only kept necessary comments, written in English (watch for useless AI comments)
  • I involved a designer to validate UI changes if I am not a designer
  • I covered new business logic with tests (unit)
  • I confirmed CI is green (Codecov red can be accepted)
  • I reviewed and executed locally any AI-assisted code

@RemiBonnet
Copy link
Member Author

Qovery Preview

Qovery can create a Preview Environment for this PR.
To trigger its creation, please post a comment with one of the following command.

Command Blueprint environment
/qovery preview 15d69f24-9bc1-4a8d-80fe-d1bb1b2bcd00 New Navigation
/qovery preview {all|UUID1,UUID2,...} To preview multiple environments

This comment has been generated from Qovery AI 🤖.
Below, a word from its wisdom :

Don’t Sacrifice Readability, you are going to debug it in 6 months

@@ -1,9 +0,0 @@
export interface RouteLayoutOptions {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is useless and not used

@RemiBonnet RemiBonnet marked this pull request as ready for review January 14, 2026 16:35
@RemiBonnet RemiBonnet requested a review from rmnbrd January 14, 2026 16:41
})
const sortedCredentials = credentials.sort((a, b) => a.name.localeCompare(b.name))

const openCredentialsModal = (id?: string, onChange?: (e: string | string[]) => void) => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@RemiBonnet Could be nice to use useCallback here

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed 🙏
6b3ee51

const navigationContext = useNavigationContext()
const activeTabId = useActiveTabId(navigationContext)
const needsFullWidth = useFullWidthLayout()
const hiddenLayout = useHiddenLayout()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const hiddenLayout = useHiddenLayout()
const bypassLayout = useHiddenLayout()

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed 🙏
6b3ee51

@RemiBonnet RemiBonnet merged commit f37ea37 into new-navigation Jan 15, 2026
1 check passed
@RemiBonnet RemiBonnet deleted the feat/cluster-creation-flow-general branch January 15, 2026 07:32
rmnbrd pushed a commit that referenced this pull request Jan 19, 2026
* feat(cluster): add general step in the creation flow

* refactor(routes): clean up router configuration and remove unused onboarding routes

* refactor: rename layout functions and add callback for credentials modal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants