Closed tulsiojha closed 3 days ago
This pull request addresses a popup issue by modifying the navigation behavior in the account selection component. The changes involve replacing Link components with custom onClick handlers that use setTimeout to delay navigation, allowing the popup to close before redirecting.
sequenceDiagram
actor User
participant UI as User Interface
participant Nav as Navigation
User->>UI: Click on account option
UI->>UI: setOpen(false)
UI->>UI: setTimeout(..., 200ms)
UI-->>User: Close popup
UI->>Nav: navigate to /{account}/environments
User->>UI: Click on 'Create team'
UI->>UI: setOpen(false)
UI->>UI: setTimeout(..., 200ms)
UI-->>User: Close popup
UI->>Nav: navigate to /new-team
Change | Details | Files |
---|---|---|
Replaced Link components with custom navigation logic |
|
src/apps/console/routes/_main+/$account+/_layout.tsx |
Modified popup closing behavior |
|
src/apps/console/routes/_main+/$account+/_layout.tsx |
Summary by Sourcery
Bug Fixes: