Skip to content

Enhance chat functionality with response mode toggle#61

Draft
NeonRyan wants to merge 2 commits into
devfrom
feat/Different-Response-Modes
Draft

Enhance chat functionality with response mode toggle#61
NeonRyan wants to merge 2 commits into
devfrom
feat/Different-Response-Modes

Conversation

@NeonRyan
Copy link
Copy Markdown
Collaborator

@NeonRyan NeonRyan commented May 5, 2026

  • Added a response mode toggle in EnhancedChatInput to switch between 'panel' and 'aggregated' response modes.
  • Updated ChatPage to manage response mode state and handle message synthesis in aggregated mode.
  • Enhanced advisor avatar handling in MessageBubble for improved visual representation.
  • Updated AppConfigContext to include a synthetic persona for aggregated responses.

This update improves user experience by allowing for a more cohesive response from advisors.

Description

-The new chat box toggle allows switching between summarised responses and each advisor's response easily.
-The new summarised version was branded as Partner. Can be renamed easily
-Partner persona (name, icon, colors) is defined in phd-advisor-frontend/src/contexts/AppConfigContext.js under the synthetic aggregated advisor edit that block to rebrand, or move it into the backend personas config to make it fully dynamic.

Issues

Other Notes

NeonRyan added 2 commits May 5, 2026 09:35
- Added a response mode toggle in EnhancedChatInput to switch between 'panel' and 'aggregated' response modes.
- Updated ChatPage to manage response mode state and handle message synthesis in aggregated mode.
- Enhanced advisor avatar handling in MessageBubble for improved visual representation.
- Updated AppConfigContext to include a synthetic persona for aggregated responses.

This update improves user experience by allowing for a more cohesive response from advisors.
- Enhanced ChatPage to persist user-selected response mode ('panel' or 'aggregated') across sessions using localStorage.
- Introduced functionality for on-demand synthesis of advisor responses, allowing users to toggle between individual and aggregated views for specific exchanges.
- Added error handling for streaming chat responses and improved state management for group views and synthesizing groups.

This update enhances user experience by providing a more flexible and cohesive chat interaction.
@NeonDaniel NeonDaniel changed the base branch from main to dev May 19, 2026 00:47
@NeonDaniel NeonDaniel added this to the 2.1 milestone May 19, 2026
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.

2 participants