generated from ThalesGroup/template-project
-
Notifications
You must be signed in to change notification settings - Fork 14
feat: Rework sideBar to host the conversations list #898
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
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- if viewing an existing conversation (=session), select the first agent of this conversation (with session.agents[0]) - If this is a new chat, get the last agent used for new conversation (stored in local storage, with current `useLocalStorageState`) - Else (if this is a new chat but there is no agent in local storage) first agent of the list
…oid selecting a disabled agent
dimitri-tombroff
previously approved these changes
Jan 13, 2026
simcariou
pushed a commit
that referenced
this pull request
Jan 13, 2026
* refacor: rename sidebar to sidebar old * feat: rework navigation part of sidebar * feat: center icons in nav bar * feat: add user profile section in side bar * feat: handle active nav element in sidebar * feat: add conversation header in navbar * feat: add agent selector in sidebar * feat: add conversation list in sidebar * feat: add delete button on hover * refacotr: rename Chat in OldChat * reafactor: rename file to oldChat * feat: use routing to naviguate to chats * feat: remove old side panel and last session id local storage saving * fix: settings moving up when closing side bar * feat: allow to delete session from sidebar * feat: send list of used agents with each conversations when listing them * feat: allow to filter conversation by agents * feat: rework default agent selection in conversation - if viewing an existing conversation (=session), select the first agent of this conversation (with session.agents[0]) - If this is a new chat, get the last agent used for new conversation (stored in local storage, with current `useLocalStorageState`) - Else (if this is a new chat but there is no agent in local storage) first agent of the list * fix: pass enabled only enabled agents to useSessionOrchestrator to avoid selecting a disabled agent * feat: rework logic to get curren session id and transfert from new to existing chat * feat: use ref to update isCreatingNewConversation * fix: close and reopen websocket on conversation change * refacotr: remove some console.logs * refactor: use key on ChatBot to handle component reset * refactor: name back OldChat to Chat * refactor: split SideBar file in multiples files * feat: add mechanism to show logo * refactor: remove old sidebar * feat: add click on logo to get to home + remove `/chat` url, use `/` instead * feat: add loading skeleton in sidebar * fix: add missing postgres password in .env.template + use fred postgres user in _pord * feat: sort conversation in sidebar from newest to oldest * feat: add autofocus to UserInput * feat: do not fetch every session on Chat + simplify props of chatbot component * feat: remove key on ChatBot + use useSessionChange to reset states on session change * fix: do not select sub agents in the agent selector * feat: add theme selector in profile page * feat: add links to profile page * feat: add back release note in settings * feat: better scroll on settings page * fix: redirect to existing chat in `ensureSessionId` + use currentData * feat: add back chat context selector * fix: display higher role only * fix: typescript error --------- Co-authored-by: dimitri.tombroff <[email protected]>
dimitri-tombroff
added a commit
that referenced
this pull request
Jan 14, 2026
…chat messages (#975) * fix: Batch load more calls to max 500 docs * impr: Paginate Chat messages to handle very long messages * fix: tabular expert * impr: Refactor show more|less * feat: Rework sideBar to host the conversations list (#898) * refacor: rename sidebar to sidebar old * feat: rework navigation part of sidebar * feat: center icons in nav bar * feat: add user profile section in side bar * feat: handle active nav element in sidebar * feat: add conversation header in navbar * feat: add agent selector in sidebar * feat: add conversation list in sidebar * feat: add delete button on hover * refacotr: rename Chat in OldChat * reafactor: rename file to oldChat * feat: use routing to naviguate to chats * feat: remove old side panel and last session id local storage saving * fix: settings moving up when closing side bar * feat: allow to delete session from sidebar * feat: send list of used agents with each conversations when listing them * feat: allow to filter conversation by agents * feat: rework default agent selection in conversation - if viewing an existing conversation (=session), select the first agent of this conversation (with session.agents[0]) - If this is a new chat, get the last agent used for new conversation (stored in local storage, with current `useLocalStorageState`) - Else (if this is a new chat but there is no agent in local storage) first agent of the list * fix: pass enabled only enabled agents to useSessionOrchestrator to avoid selecting a disabled agent * feat: rework logic to get curren session id and transfert from new to existing chat * feat: use ref to update isCreatingNewConversation * fix: close and reopen websocket on conversation change * refacotr: remove some console.logs * refactor: use key on ChatBot to handle component reset * refactor: name back OldChat to Chat * refactor: split SideBar file in multiples files * feat: add mechanism to show logo * refactor: remove old sidebar * feat: add click on logo to get to home + remove `/chat` url, use `/` instead * feat: add loading skeleton in sidebar * fix: add missing postgres password in .env.template + use fred postgres user in _pord * feat: sort conversation in sidebar from newest to oldest * feat: add autofocus to UserInput * feat: do not fetch every session on Chat + simplify props of chatbot component * feat: remove key on ChatBot + use useSessionChange to reset states on session change * fix: do not select sub agents in the agent selector * feat: add theme selector in profile page * feat: add links to profile page * feat: add back release note in settings * feat: better scroll on settings page * fix: redirect to existing chat in `ensureSessionId` + use currentData * feat: add back chat context selector * fix: display higher role only * fix: typescript error --------- Co-authored-by: dimitri.tombroff <[email protected]> * #976 fixed a regression the chat is now again robust and reload conversation eagerly as before (#977) * #1 updated release note * fix: npm vulns * fix: useless code linked to merge conflicts * fix: code-quality * fix: type-check * impr: Paginate Chat messages to handle very long messages * fix: Pagination lost during merge conflicts resolution --------- Co-authored-by: Simon Cariou <[email protected]> Co-authored-by: florian-muller <[email protected]> Co-authored-by: dimitri.tombroff <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.