Closed tulsiojha closed 1 month ago
This pull request focuses on fixing issues related to the profile popup and making minor adjustments to various components. The changes primarily involve code formatting, event handling improvements, and small functional updates across multiple files.
journey
title User Journey for Profile Popup Interaction
section Profile Menu Interaction
User -> OptionList.Root: Open Profile Menu
User -> OptionList.Trigger: Click Profile Trigger
OptionList.Trigger -> OptionList.Item: Display Profile Options
User -> OptionList.Item: Click Profile Settings
OptionList.Item -> navigate: Navigate to Profile Settings
section Profile Settings
navigate -> Profile Settings Page: Load Profile Settings Page
User -> Profile Settings Page: Interact with Profile Settings
classDiagram
class OptionMenuTrigger {
+forwardRef<HTMLButtonElement, ITrigger>
}
class OptionMenuContent {
+forwardRef
}
class OptionItemRaw {
+forwardRef
}
class OptionMenuItem {
+forwardRef<HTMLDivElement, IOptionMenuItem>
}
class OptionMenuLink {
+forwardRef<HTMLDivElement, IOptionMenuLink>
}
class OptionMenuTextInputItem {
+forwardRef
}
class OptionMenuCheckboxItem {
+forwardRef<HTMLDivElement, IOptionMenuCheckbox>
}
class OptionMenuRadioItem {
+forwardRef<HTMLDivElement, IOptionMenuRadio>
}
class OptionMenuSeparator {
+forwardRef<HTMLDivElement, IOptionMenuSeparator>
}
class OptionMenuTabs {
+forwardRef<HTMLDivElement, IOptionMenuTabs>
}
class Root {
+open: boolean
+setOpen: function
}
OptionMenuTrigger --> OptionMenuContent
OptionMenuContent --> OptionItemRaw
OptionItemRaw --> OptionMenuItem
OptionMenuItem --> OptionMenuLink
OptionMenuLink --> OptionMenuTextInputItem
OptionMenuTextInputItem --> OptionMenuCheckboxItem
OptionMenuCheckboxItem --> OptionMenuRadioItem
OptionMenuRadioItem --> OptionMenuSeparator
OptionMenuSeparator --> OptionMenuTabs
OptionMenuTabs --> Root
Change | Details | Files |
---|---|---|
Improved code formatting and consistency |
|
src/design-system/components/atoms/option-list.tsx src/apps/console/routes/_main+/$account+/new-managed-service/_index.tsx |
Enhanced event handling in the OptionList component |
|
src/design-system/components/atoms/option-list.tsx src/design-system/components/atoms/select.tsx |
Updated ProfileMenu component functionality |
|
src/apps/console/routes/_main+/_layout/_layout.tsx |
Refactored cluster selection rendering |
|
src/apps/console/page-components/handle-environment.tsx src/apps/console/routes/_main+/$account+/environments/clone-environment.tsx |
Summary by Sourcery
Fix the profile popup functionality and enhance the handling of disabled states across components. Improve consistency in parameter list formatting and prevent default events in specific components to enhance user interaction.
Bug Fixes:
Enhancements: