-
Notifications
You must be signed in to change notification settings - Fork 1
release-3.0.0 #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
… component styles
…ayout adjustments
…alog size and enhance navbar styles
…with loading state and session validation
…tion, login, and chat management
…Loading component background color
…oading state management, and UI updates
…t and error handling
… add missing newlines
…uding authentication checks, message streaming, and PropTypes for better type validation
…nce chat handling with authentication checks and auto-scroll functionality
…ve response handling with streaming support
…ling service and related components
…nd enhancing memory handling; remove legacy memory file implementation
…management; introduce session expiration and message streaming
…lities; implement email validation and password hashing
… setup by eliminating unnecessary files
…amic API base URL; add new dependencies for authentication
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR marks the release-3.0.0 update, introducing improvements to authentication, chat streaming, and overall UI/UX while enhancing error handling and deployment pipelines.
- Refactored hooks and authentication context to include additional state management and improved error reporting.
- Updated chat components with auto-scroll, dual-mode (public/private) streaming, and UI enhancements in login/registration flows.
- Expanded the CI/CD pipeline for SonarQube analysis and refined Flask deployment settings with JWT and CORS configuration.
Reviewed Changes
Copilot reviewed 36 out of 39 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| client/src/hooks/useLoading.js | Simplified hook by wrapping useContext in a return statement. |
| client/src/contexts/AuthContext.jsx | Enhanced auth state with additional info and error handling via interceptors. |
| client/src/components/chat/ChatLayout.jsx | Added auto-scroll and dual handling for private/public chats. |
| client/src/components/auth/Login.jsx & Register.jsx | UI improvements and error handling updates for authentication flows. |
| client/src/components/WelcomePrompt.jsx | Updated prompt logic to support session-based greeting and history fetch. |
| client/src/components/NavbarActions.jsx | Introduced actions for history and session management within the navbar. |
| client/src/components/MainLayout.jsx | Integrated new chat and history handling with conditional rendering. |
| client/src/components/LogoutPop.jsx | Added a confirmation dialog for logout actions. |
| client/src/components/Loading.jsx | Updated loading spinner appearance. |
| client/src/api/publicChatApi.js & client/src/api/privateChatApi.js | Enhanced streaming API methods with improved error handling patterns. |
| app.py | Updated JWT and CORS configurations, including error handlers. |
| .github/workflows/pipeline.yml | Expanded CI/CD pipeline with added SonarQube analysis and refined deployment. |
Files not reviewed (3)
- client/package-lock.json: Language not supported
- client/package.json: Language not supported
- client/src/main.css: Language not supported
Comments suppressed due to low confidence (1)
client/src/api/privateChatApi.js:55
- In the catch block, consider calling setAiLoad(false) (if provided) to ensure the loading state is cleared after an error.
} catch (error) {
amankrs21
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code reviewed and ready for release-3.0.0
Duplicate assignment to 'JWT_SECRET_KEY' detected; remove the redundant line to avoid confusion. Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|




release-3.0.0