* Refactor chat.py for improved readability and maintainability
* Add imports and fix formatting issues
* Refactor database connection in Alembic env.py
* Add nullable columns to tables and fix foreign key constraint
* Update sqlalchemy logging level to DEBUG in alembic.ini
* Add connection and inspector objects for database reflection
* Refactor alembic initialization and migration process
* Refactor version option in main_entry_point function
* Remove pre-commit hook and format code
* Fix database inspector type hinting
* Add unique constraints and fix credential table
This pull request introduces a comprehensive refactor of our
application's error page layout. The primary goal of these changes is to
enhance user experience during error states by providing clearer, more
helpful information and improving the overall aesthetics of the error
page.
🐛 fix(CrashErrorComponent/index.tsx): fix typo in error message for better user understanding
✨ feat(CrashErrorComponent/index.tsx): add restart button to reset the app and provide a link to report errors on GitHub for community support
🔧 fix(authContext.tsx): add import statement for useFlowsManagerStoreto
fix missing import error
🔧 fix(authContext.tsx): set isLoading to false in useFlowsManagerStore
after setLoading to false to fix loading state inconsistency
🔧 fix(typesStore.ts): add null check for response.data to fix potential
null reference error
* 🐛 fix(GenericNode): simplify return statement for build status classes to improve code readability
🔥 chore(GenericNode): remove console.log statement used for debugging
🔥 chore(alertDropDown): remove unused import
🔥 chore(nodeToolbarComponent): remove unused import
🔥 chore(styleUtils): remove unused color definition
* 🎨 style(styleUtils.ts): update color for 'str' key in nodeColors object to match the color used in other keys
* 🔥 refactor(GenericNode/index.tsx): remove unnecessary console.log statement for data.node?.template
🔧 fix(authContext.tsx): set isLoading to false in useFlowsManagerStore after setLoading to false to fix loading state inconsistency
🔧 fix(typesStore.ts): add null check for response.data to fix potential null reference error
feat(frontend): add support for process.env.PORT environment variable in server.ts
feat(frontend): add updateFlowPool function to NewChatView component
feat(frontend): add buildId parameter to addDataToFlowPool function in flowStore
feat(frontend): add stream_url property to ChatOutputType in flow types