✨ (App.tsx): Import the `useNavigate` hook from `react-router-dom` to enable programmatic navigation within the app.
📝 (App.tsx): Add comments to explain the purpose of the `isLoadingHealth` state variable and the `checkApplicationHealth` function.
📝 (App.tsx): Add comments to explain the purpose of the `onHealthCheck` function.
🐛 (App.tsx): Fix a bug where the `checkApplicationHealth` function was not being called when the component mounts.
🐛 (App.tsx): Fix a bug where the `onHealthCheck` function was not being called when the health check was successful.
📝 (App.tsx): Add comments to explain the purpose of the `checkApplicationHealth` function and the `onHealthCheck` function.
✨ (fetchErrorComponent/index.tsx): Import the `BaseModal` component from the `modals/baseModal` module to display the fetch error component in a modal.
✨ (fetchErrorComponent/index.tsx): Import the `Button` component from the `ui/button` module to display a retry button in the fetch error component.
✨ (fetchErrorComponent/index.tsx): Add a retry button to the fetch error component to allow the user to retry the failed request.
✨ (ui/dialog-with-no-close.tsx): Create a new file `ui/dialog-with-no-close.tsx` to define a custom dialog component without a close button.
✨ (ui/dialog-with-no-close.tsx): Define the `Dialog`, `DialogTrigger`, `DialogPortal`, `DialogOverlay`, `DialogContent`, `DialogHeader`, `DialogFooter`, `DialogTitle`, and `DialogDescription` components for the custom dialog component.
📝 (baseModal/index.tsx): add support for a new type prop to switch between modal and dialog mode
🐛 (baseModal/index.tsx): fix typo in import statement for Modal and ModalContent components
♻️ (baseModal/index.tsx): refactor BaseModal component to conditionally render either Modal or Dialog based on the type prop
🐛 (flowsManagerStore.ts): fix issue where isLoading state was not being set to false after catching an error
🐛 (typesStore.ts): fix issue where error alert was not being shown when fetching types failed
🐛 (typesStore.ts): remove unnecessary error alert when fetching types failed
✨ (components/index.ts): add new properties to fetchErrorComponentType to support opening a modal, retrying, and showing loading state
* Update node and edge IDs in PageComponent and reactflowUtils
* Merge remote-tracking branch 'origin/zustand/io/migration' into fixGroup
* Refactor node ID generation and update node IDs in selection
* Update flowStore.ts and reactflowUtils.ts
* Fix async bug in build_vertex_stream function
* Add check for missing id in vertex data
* Fix exception message for missing vertex id
* Update code: Added VertexLayerElementType type and modified updateIds function
✨ (codeAreaModal/index.tsx): add event listener to prevent the Escape
key from closing the modal
📝 (codeAreaModal/index.tsx): improve code readability by adding line
breaks and indentation for better code organization
♻️ (toolbarSelectItem/index.tsx): remove unused import and refactor code to include data-testid attribute in the rendered element
📝 (index.ts): add dataTestId property to the toolbarSelectItemProps type to reflect the addition of data-testid attribute in the component
📝 (auto_login.spec.ts): increase timeout for page.waitForTimeout to 16 seconds and test.setTimeout to 140 seconds to accommodate slower test execution
📝 (keyPairListComponent.spec.ts): increase timeout for page.waitForTimeout to 20 seconds to accommodate slower test execution
♻️ (index.tsx): remove unused import of useEffect to improve code
cleanliness and readability
📝 (index.tsx): refactor toolbarSelectItem component to improve code
formatting and readability
📝 (nodeToolbarComponent/index.tsx): update styleObj for Docs button to improve code readability and maintainability
📝 (nodeToolbarComponent/index.tsx): update className for Command icon to improve code readability and maintainability
📝 (toolbarSelectItem/index.tsx): update className for Command icon to improve code readability and maintainability
This pull request addresses a critical bug where the login process
enters into a loop when users provide incorrect credentials,
specifically when the username or password is invalid. Prior to this
fix, the system would repeatedly prompt users to re-enter their
credentials without providing any indication of the error, leading to
frustration and confusion among users.