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.
This pull request introduces several new features and improvements to the session components, including adding a new
EndedView
component, enhancing group chat history functionality, and updating group status handling. The most important changes include the addition of new components, updates to existing components, and improvements to the group status functionality.New Components and Features:
src/lib/components/session/EndedView.svelte
: Added a newEndedView
component to display individual and group summaries, chat history, and group discussions. [1] [2]src/lib/components/session/GroupChatHistory.svelte
: Added a new component to handle group chat history and summaries within a modal.Updates to Existing Components:
src/lib/components/session/HostView.svelte
: IntegratedGroupChatHistory
andGroupStatus
components, and added functionality to handle group clicks and display group chat history. [1] [2] [3] [4] [5]src/lib/components/session/ParticipantView.svelte
: Updated to display the newEndedView
component when the session status is 'ended'. [1] [2]Group Status Handling:
src/lib/components/session/GroupStatus.svelte
: Added a new component to handle and display the status of groups, including idle and discussion states.src/routes/api/session/[id]/group/+server.ts
: Updated group creation to includestatus
andupdatedAt
fields. (src/routes/api/session/[id]/group/+server.tsL35-R37)Minor Text Updates:
src/lib/components/session/Summary.svelte
: Updated text to indicate no conversation summary available.src/lib/components/session/GroupSummary.svelte
: Updated text to indicate no discussion summary available.