β¦ 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