Skip to content

Conversation

@florian-muller
Copy link
Contributor

@florian-muller florian-muller commented Dec 11, 2025

image

- 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
@florian-muller florian-muller changed the title feat: Rework sideBar following maxime design feat: Rework sideBar to host the conversations list Jan 12, 2026
@florian-muller florian-muller marked this pull request as ready for review January 12, 2026 20:09
@dimitri-tombroff dimitri-tombroff merged commit b28bdf8 into main Jan 13, 2026
23 checks passed
@dimitri-tombroff dimitri-tombroff deleted the new-nav-bar branch January 13, 2026 10:17
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants