[PR #11713] [CLOSED] feat: Save prompts from chat response #22782

Closed
opened 2026-04-20 04:23:49 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/11713
Author: @aaaalrashd
Created: 3/15/2025
Status: Closed

Base: devHead: save_propmpts


📝 Commits (6)

📊 Changes

51 files changed (+208 additions, -53 deletions)

View changed files

📝 src/lib/components/chat/Messages/ResponseMessage.svelte (+51 -1)
📝 src/lib/i18n/locales/ar-BH/translation.json (+3 -1)
📝 src/lib/i18n/locales/bg-BG/translation.json (+3 -1)
📝 src/lib/i18n/locales/bn-BD/translation.json (+2 -1)
📝 src/lib/i18n/locales/ca-ES/translation.json (+2 -1)
📝 src/lib/i18n/locales/ceb-PH/translation.json (+3 -1)
📝 src/lib/i18n/locales/cs-CZ/translation.json (+4 -1)
📝 src/lib/i18n/locales/da-DK/translation.json (+4 -1)
📝 src/lib/i18n/locales/de-DE/translation.json (+4 -1)
📝 src/lib/i18n/locales/dg-DG/translation.json (+4 -1)
📝 src/lib/i18n/locales/el-GR/translation.json (+4 -1)
📝 src/lib/i18n/locales/en-GB/translation.json (+4 -1)
📝 src/lib/i18n/locales/en-US/translation.json (+3 -1)
📝 src/lib/i18n/locales/es-ES/translation.json (+4 -1)
📝 src/lib/i18n/locales/eu-ES/translation.json (+4 -1)
📝 src/lib/i18n/locales/fa-IR/translation.json (+3 -1)
📝 src/lib/i18n/locales/fi-FI/translation.json (+4 -2)
📝 src/lib/i18n/locales/fr-CA/translation.json (+3 -1)
📝 src/lib/i18n/locales/fr-FR/translation.json (+3 -1)
📝 src/lib/i18n/locales/he-IL/translation.json (+3 -1)

...and 31 more files

📄 Description

Pull Request Checklist

Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.

Before submitting, make sure you've checked the following:

  • 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?
  • Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
  • 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?
  • Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:
    • BREAKING CHANGE: Significant changes that may affect compatibility
    • build: Changes that affect the build system or external dependencies
    • ci: Changes to our continuous integration processes or workflows
    • chore: Refactor, cleanup, or other non-functional code changes
    • docs: Documentation update or addition
    • feat: Introduces a new feature or enhancement to the codebase
    • fix: Bug fix or error correction
    • i18n: Internationalization or localization changes
    • perf: Performance improvement
    • refactor: Code restructuring for better maintainability, readability, or scalability
    • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
    • test: Adding missing tests or correcting existing tests
    • WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

Description

  • This update introduces a save icon to the OpenWebUI interface, along with functionality that enables users to save prompts easily. The feature includes:

  • Save Icon: A dedicated button next to the prompt input field.

  • Save Functionality: Users can click the save button to store prompts for future use.

  • Notifications:
    A success message appears when a prompt is saved successfully.
    An error notification is displayed if saving fails.
    Prevention of Duplicate Saves:
    If a prompt is already saved, the save button is disabled.

  • This is achieved using an annotation named saved, ensuring users don’t accidentally store the same prompt multiple times.

Added

  • Save prompt icons on chat response and translation files.

Changed

  • N/A

Deprecated

  • N/A

Removed

  • N/A

Fixed

  • N/A

Security

  • N/A

Breaking Changes

  • N/A

Additional Information

11700

Screenshots or Videos

  • [Attach any relevant screenshots or videos demonstrating the changes]
    Screenshot

🔄 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/11713 **Author:** [@aaaalrashd](https://github.com/aaaalrashd) **Created:** 3/15/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `save_propmpts` --- ### 📝 Commits (6) - [`daad45b`](https://github.com/open-webui/open-webui/commit/daad45b2606d23f81f446d3cf39e8859d4d88057) Save propmpts - [`05781a5`](https://github.com/open-webui/open-webui/commit/05781a5321615a0cf8a98cbf008875421fef8daf) Save Prompt - [`4d03d9a`](https://github.com/open-webui/open-webui/commit/4d03d9aaaf55055c5a9f17370f747bf38ffff207) fix conflict - [`2286aa0`](https://github.com/open-webui/open-webui/commit/2286aa0045313a207e7a49cfca40ed10d3b549fd) fix conflict - [`08e7f52`](https://github.com/open-webui/open-webui/commit/08e7f52eb5e76457a35c4555b40c2439510f5bc0) fix conflcit uk - [`19cbd5f`](https://github.com/open-webui/open-webui/commit/19cbd5f71eda969a2c70e1f1f32a874df4b9dca5) Merge branch 'dev' into save_propmpts ### 📊 Changes **51 files changed** (+208 additions, -53 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Messages/ResponseMessage.svelte` (+51 -1) 📝 `src/lib/i18n/locales/ar-BH/translation.json` (+3 -1) 📝 `src/lib/i18n/locales/bg-BG/translation.json` (+3 -1) 📝 `src/lib/i18n/locales/bn-BD/translation.json` (+2 -1) 📝 `src/lib/i18n/locales/ca-ES/translation.json` (+2 -1) 📝 `src/lib/i18n/locales/ceb-PH/translation.json` (+3 -1) 📝 `src/lib/i18n/locales/cs-CZ/translation.json` (+4 -1) 📝 `src/lib/i18n/locales/da-DK/translation.json` (+4 -1) 📝 `src/lib/i18n/locales/de-DE/translation.json` (+4 -1) 📝 `src/lib/i18n/locales/dg-DG/translation.json` (+4 -1) 📝 `src/lib/i18n/locales/el-GR/translation.json` (+4 -1) 📝 `src/lib/i18n/locales/en-GB/translation.json` (+4 -1) 📝 `src/lib/i18n/locales/en-US/translation.json` (+3 -1) 📝 `src/lib/i18n/locales/es-ES/translation.json` (+4 -1) 📝 `src/lib/i18n/locales/eu-ES/translation.json` (+4 -1) 📝 `src/lib/i18n/locales/fa-IR/translation.json` (+3 -1) 📝 `src/lib/i18n/locales/fi-FI/translation.json` (+4 -2) 📝 `src/lib/i18n/locales/fr-CA/translation.json` (+3 -1) 📝 `src/lib/i18n/locales/fr-FR/translation.json` (+3 -1) 📝 `src/lib/i18n/locales/he-IL/translation.json` (+3 -1) _...and 31 more files_ </details> ### 📄 Description # Pull Request Checklist ### Note to first-time contributors: Please open a discussion post in [Discussions](https://github.com/open-webui/open-webui/discussions) and describe your changes before submitting a pull request. **Before submitting, make sure you've checked the following:** - [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] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [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? - [x] **Prefix:** To cleary categorize this pull request, prefix the pull request title, using one of the following: - **BREAKING CHANGE**: Significant changes that may affect compatibility - **build**: Changes that affect the build system or external dependencies - **ci**: Changes to our continuous integration processes or workflows - **chore**: Refactor, cleanup, or other non-functional code changes - **docs**: Documentation update or addition - **feat**: Introduces a new feature or enhancement to the codebase - **fix**: Bug fix or error correction - **i18n**: Internationalization or localization changes - **perf**: Performance improvement - **refactor**: Code restructuring for better maintainability, readability, or scalability - **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.) - **test**: Adding missing tests or correcting existing tests - **WIP**: Work in progress, a temporary label for incomplete or ongoing work # Changelog Entry ### Description - This update introduces a save icon to the OpenWebUI interface, along with functionality that enables users to save prompts easily. The feature includes: - Save Icon: A dedicated button next to the prompt input field. - Save Functionality: Users can click the save button to store prompts for future use. - Notifications: A success message appears when a prompt is saved successfully. An error notification is displayed if saving fails. Prevention of Duplicate Saves: If a prompt is already saved, the save button is disabled. - This is achieved using an annotation named saved, ensuring users don’t accidentally store the same prompt multiple times. ### Added - Save prompt icons on chat response and translation files. ### Changed - N/A ### Deprecated - N/A ### Removed - N/A ### Fixed - N/A ### Security - N/A ### Breaking Changes - N/A --- ### Additional Information [11700](https://github.com/open-webui/open-webui/discussions/11700) ### Screenshots or Videos - [Attach any relevant screenshots or videos demonstrating the changes] <img width="112" alt="Screenshot" src="https://github.com/user-attachments/assets/8102719e-b845-4b2c-a61b-7e9162e387c6" /> --- <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 2026-04-20 04:23:49 -05: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#22782