Skip to content

Plus UI dropdown#1971

Merged
gary149 merged 6 commits intomainfrom
plus-ui-dropdown
Nov 5, 2025
Merged

Plus UI dropdown#1971
gary149 merged 6 commits intomainfrom
plus-ui-dropdown

Conversation

@gary149
Copy link
Copy Markdown
Collaborator

@gary149 gary149 commented Nov 5, 2025

No description provided.

Replaces the previous file upload button and tooltip with a DropdownMenu from bits-ui, providing a more modern UI for file/image uploads in ChatInput.svelte. Adds new dependencies to package.json for bits-ui and related packages.
Introduces UrlFetchModal.svelte for fetching files from HTTPS URLs and adds it to ChatInput.svelte. Updates file upload dropdown to support uploading text files from device or URL, and refines mime type handling in ChatWindow.svelte to always allow common text-like files and images for multimodal models.
Adds logic to duplicate files from a shared conversation to a new conversation when created from a share. Files are renamed and metadata is updated to associate them with the new conversation.
Introduces src/lib/constants/mime.ts to centralize text and image MIME allowlists. Updates components and server endpoint logic to use these constants for file type filtering, improving consistency and maintainability. Also fixes a minor label and MIME string typo.
Refactored plain text MIME type detection to use a configurable allowlist and a new matching function. Updated modal width for better display of images and text files.
@gary149 gary149 merged commit 15a1a82 into main Nov 5, 2025
4 checks passed
@gary149 gary149 deleted the plus-ui-dropdown branch November 5, 2025 15:04
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.

1 participant