[PR #4225] [MERGED] Initialize fileItem first to speed up file display #8219

Closed
opened 2025-11-11 17:48:01 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/4225
Author: @Yanyutin753
Created: 7/30/2024
Status: Merged
Merged: 8/1/2024
Merged by: @tjbck

Base: devHead: pref_file_upload


📝 Commits (2)

  • 6681df2 Initialize fileItem first to speed up file display
  • c9ed934 refac: file should not have 'uploaded' status

📊 Changes

1 file changed (+42 additions, -33 deletions)

View changed files

📝 src/lib/components/chat/MessageInput.svelte (+42 -33)

📄 Description

Pull Request Checklist

  • Target branch: Please verify that the pull request targets the dev branch.
  • Description: Provide a concise description of the changes made in this pull request.
  • Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
  • Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
  • Testing: Have you written and run sufficient tests for validating the changes?
  • Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?

Changelog Entry

Description

1. During the file upload process, initialize the file first, so that the response is faster during the upload process.

2. Get the file size to prepare for the next pr!


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/open-webui/pull/4225 **Author:** [@Yanyutin753](https://github.com/Yanyutin753) **Created:** 7/30/2024 **Status:** ✅ Merged **Merged:** 8/1/2024 **Merged by:** [@tjbck](https://github.com/tjbck) **Base:** `dev` ← **Head:** `pref_file_upload` --- ### 📝 Commits (2) - [`6681df2`](https://github.com/open-webui/open-webui/commit/6681df29d27e1d56baabadfbac5492e509870137) ⚡Initialize fileItem first to speed up file display - [`c9ed934`](https://github.com/open-webui/open-webui/commit/c9ed934d0b57ffffc1ccf763fa241dab1b38025a) refac: file should not have 'uploaded' status ### 📊 Changes **1 file changed** (+42 additions, -33 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/MessageInput.svelte` (+42 -33) </details> ### 📄 Description # Pull Request Checklist - [x] **Target branch:** Please verify that the pull request targets the `dev` branch. - [x] **Description:** Provide a concise description of the changes made in this pull request. - [x] **Changelog:** Ensure a changelog entry following the format of [Keep a Changelog](https://keepachangelog.com/) is added at the bottom of the PR description. - [x] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [x] **Testing:** Have you written and run sufficient tests for validating the changes? - [x] **Code review:** Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards? # Changelog Entry ## Description ### 1. During the file upload process, initialize the file first, so that the response is faster during the upload process. ### 2. Get the file size to prepare for the next pr! --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-11 17:48:01 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#8219