Skip to content

Feature/lagensha - #31

Open
lagensha wants to merge 11 commits into
mainfrom
feature/lagensha
Open

Feature/lagensha#31
lagensha wants to merge 11 commits into
mainfrom
feature/lagensha

Conversation

@lagensha

@lagensha lagensha commented Jun 4, 2026

Copy link
Copy Markdown

This pull request introduces several improvements and new features to the chat application, focusing on user experience, authentication flows, and code maintainability. The most significant changes include the addition of forgot/reset password routes, improved chat session handling, a new user dropdown menu in the chat sidebar, and UI consistency enhancements.

Authentication and Routing Enhancements:

  • Added new routes and components for "Forgot Password" and "Reset Password" flows, enabling users to recover or reset their credentials. (src/app/app.routes.ts, src/app/auth/login/login.html) [1] [2]
  • Updated the chat route parameter from conversationId to chatId for consistency across the codebase. (src/app/app.routes.ts)

Chat Session Handling Improvements:

  • Refactored chat session creation to use the ChatSessionService instead of generating random IDs, ensuring backend consistency and proper session management. This affects both login and navigation bar chat entry points. (src/app/auth/login/login.ts, src/app/components/nav-bar/nav-bar.ts) [1] [2]

Sidebar and User Menu UI Upgrades:

  • Replaced the static user info in the chat sidebar with a new dropdown menu that matches the NavBar's style. The menu includes navigation to chat, admin features, and logout, and displays the current user's name, initials, and role dynamically. (src/app/pages/chat/chat.html, src/app/pages/chat/chat.css, src/app/pages/chat/chat.ts) [1] [2] [3] [4]
  • Updated the placeholder for recent chats in the sidebar and removed unused conversation history code to prepare for future history implementation. (src/app/pages/chat/chat.html, src/app/pages/chat/chat.ts) [1] [2] [3]

General Code and UI Consistency:

  • Standardized user initials and role display throughout the chat UI for a more cohesive experience. (src/app/pages/chat/chat.html, src/app/pages/chat/chat.ts) [1] [2]
  • Added CSS variables and classes to unify dropdown styling between the NavBar and chat sidebar, including dark mode support. (src/app/pages/chat/chat.css)

These changes collectively enhance authentication flows, improve chat session reliability, and provide a more polished and consistent user interface.

@lagensha lagensha self-assigned this Jun 4, 2026
@vercel

vercel Bot commented Jun 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
prime-sprint-t1-secure-law-frontend Error Error Jun 4, 2026 8:57am

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants