Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit15a1a82

Browse files
authored
Plus UI dropdown (#1971)
* Replace file upload button with bits-ui DropdownMenuReplaces 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.* Add URL file fetch modal to chat inputIntroduces 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.* Copy shared files when creating conversation from shareAdds 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.* Centralize MIME type allowlists and update usageIntroduces 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.* Improve MIME type handling for uploaded filesRefactored 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.* format
1 parent5f465e2 commit15a1a82

File tree

9 files changed

+545
-70
lines changed

9 files changed

+545
-70
lines changed

‎package-lock.json‎

Lines changed: 147 additions & 15 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
"@iconify-json/bi":"^1.1.21",
7373
"@resvg/resvg-js":"^2.6.2",
7474
"autoprefixer":"^10.4.14",
75+
"bits-ui":"^2.14.2",
7576
"date-fns":"^2.29.3",
7677
"dotenv":"^16.5.0",
7778
"file-type":"^21.0.0",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp