Skip to content

Feature/85 chat interface#86

Merged
felix-schultz merged 11 commits intodevfrom
feature/85-chat-interface
Jun 18, 2025
Merged

Feature/85 chat interface#86
felix-schultz merged 11 commits intodevfrom
feature/85-chat-interface

Conversation

@felix-schultz
Copy link
Copy Markdown
Member

No description provided.

…onfiguration UI, and implement chat interface
- Added FileManagerDialog component for managing file uploads with a hierarchical view.
- Introduced MessageComponent for displaying chat messages with user and bot differentiation.
- Created ChatWelcome component to provide a welcoming interface with example prompts and fuzzy search functionality.
- Updated interfaces and payload schemas to support new features such as voice input/output and example messages.
- Enhanced index exports to include new components and types.
- Added `attachment.tsx` to manage file attachments, including conversion to attachment format and rendering previews.
- Introduced `chat-db.ts` to define message and attachment types, utilizing Dexie for local storage.
- Updated `chat.tsx` to support new message structure and manage local message state.
- Refactored `chatbox.tsx` to use a new `ISendMessageFunction` type for sending messages with attachments.
- Enhanced `message.tsx` to display attachments with appropriate previews and handling for different file types.
- Implemented fullscreen viewing for images and files in messages.
- Modified `welcome.tsx` to align with new message sending structure.
- Updated `backend-state.ts` to include a method for converting files to URLs.
… system

- Added `ISession` interface for session tracking in chat.
- Updated `IMessage` interface to include rating and rating settings.
- Introduced `ChatHistory` component for managing chat sessions with search and delete functionality.
- Enhanced `MessageComponent` to support user feedback with thumbs up/down and additional feedback dialog.
- Implemented `Container` component for responsive sidebar management.
- Created `Header` component for event selection and toolbar actions.
- Added `useSetQueryParams` hook for managing query parameters in navigation.
- Updated backend state interface to include `upsertEventFeedback` method for handling feedback submissions.
@felix-schultz felix-schultz requested a review from Copilot June 18, 2025 23:26
@felix-schultz felix-schultz self-assigned this Jun 18, 2025
@felix-schultz felix-schultz added the enhancement New feature or request label Jun 18, 2025
@deepsource-io
Copy link
Copy Markdown

deepsource-io bot commented Jun 18, 2025

Here's the code health analysis summary for commits b86eb02..918f0c7. View details on DeepSource ↗.

Analysis Summary

AnalyzerStatusSummaryLink
DeepSource Docker LogoDocker✅ SuccessView Check ↗
DeepSource Rust LogoRust❌ Failure
❗ 61 occurences introduced
🎯 35 occurences resolved
View Check ↗
DeepSource JavaScript LogoJavaScript❌ Failure
❗ 852 occurences introduced
🎯 312 occurences resolved
View Check ↗

💡 If you’re a repository administrator, you can configure the quality gates from the settings.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR implements the chat interface feature (Feature/85) by updating various UI components and refactoring code for consistency and improved error handling. Key changes include fallback handling for profile thumbnail and description fields, removal of the embeddings page, and several UI and code style improvements across settings, library, and admin pages.

Reviewed Changes

Copilot reviewed 20 out of 92 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
apps/desktop/app/settings/profiles/page.tsx Added nullish coalescing for thumbnail and description fallback.
apps/desktop/app/settings/embeddings/page.tsx Removed the embeddings page.
apps/desktop/app/settings/ai/page.tsx Adjusted meta property access and conditional rendering.
apps/desktop/app/onboarding/page.tsx Replaced explicit closing div with a self-closing element.
apps/desktop/app/loading.tsx Introduced a new loading screen component.
apps/desktop/app/library/* Various UI and formatting improvements, including key formatting.
apps/desktop/app/admin/bits/add/* Refactored bit registration logic and added user authentication check.
apps/backend/aws/api/src/main.rs Updated the Tokio runtime attribute for the AWS API.

<Toaster />
<body className={inter.className}>
<Suspense
{/* <Suspense
Copy link

Copilot AI Jun 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider removing the commented-out Suspense component code if it is no longer needed, in order to keep the codebase clean and maintainable.

Copilot uses AI. Check for mistakes.
@felix-schultz felix-schultz merged commit d7801b1 into dev Jun 18, 2025
2 of 7 checks passed
@felix-schultz felix-schultz deleted the feature/85-chat-interface branch June 18, 2025 23:31
@felix-schultz felix-schultz mentioned this pull request Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants