[PR #14856] [CLOSED] Style: System Prompt Styling Improvement #10415

Closed
opened 2025-11-11 19:04:12 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/open-webui/pull/14856
Author: @Classic298
Created: 6/10/2025
Status: Closed

Base: devHead: style-system-prompt


📝 Commits (2)

📊 Changes

3 files changed (+16 additions, -4 deletions)

View changed files

📝 src/lib/components/chat/Controls/Controls.svelte (+10 -2)
📝 src/lib/components/chat/Settings/General.svelte (+3 -1)
📝 src/lib/components/common/Textarea.svelte (+3 -1)

📄 Description

Pull Request Checklist

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 to validate 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 clearly categorize this pull request, prefix the pull request title using one of the following:
    • style: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.)

Changelog Entry

Description

Related to PR: https://github.com/open-webui/open-webui/pull/14843

This PR improves the styling of the input field for the custom system prompt in the settings modal and in the Chat Controls Modal.

The new styling is copied from the AddMemory.svelte Modal. Therefore the new system prompt styling adheres to existing styling conventions for Open WebUI!

The new styling makes it easier to see the borders of the input field and also allows for changing the size of the input field by dragging the corner to increase it's size!


image
image
image
image

Contributor License Agreement

By submitting this pull request, I confirm that I have read and fully agree to the Contributor License Agreement (CLA), and I am providing my contributions under its terms.


🔄 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/14856 **Author:** [@Classic298](https://github.com/Classic298) **Created:** 6/10/2025 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `style-system-prompt` --- ### 📝 Commits (2) - [`6325613`](https://github.com/open-webui/open-webui/commit/63256136ef8322210c01c2bb322097d1ccfb8c6f) Merge pull request #14675 from open-webui/dev - [`66faaef`](https://github.com/open-webui/open-webui/commit/66faaef8a51f757de37fbe272b02dad5b17ac808) System prompt styling (#9) ### 📊 Changes **3 files changed** (+16 additions, -4 deletions) <details> <summary>View changed files</summary> 📝 `src/lib/components/chat/Controls/Controls.svelte` (+10 -2) 📝 `src/lib/components/chat/Settings/General.svelte` (+3 -1) 📝 `src/lib/components/common/Textarea.svelte` (+3 -1) </details> ### 📄 Description # Pull Request Checklist **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. - [ ] **Documentation:** Have you updated relevant documentation [Open WebUI Docs](https://github.com/open-webui/docs), or other documentation sources? - [ ] **Dependencies:** Are there any new dependencies? Have you updated the dependency versions in the documentation? - [X] **Testing:** Have you written and run sufficient tests to validate 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 clearly categorize this pull request, prefix the pull request title using one of the following: - **style**: Changes that do not affect the meaning of the code (white space, formatting, missing semi-colons, etc.) # Changelog Entry ### Description Related to PR: https://github.com/open-webui/open-webui/pull/14843 This PR improves the styling of the input field for the custom system prompt in the settings modal and in the Chat Controls Modal. **The new styling is copied from the AddMemory.svelte Modal.** Therefore the new system prompt styling adheres to existing styling conventions for Open WebUI! The new styling makes it easier to see the borders of the input field and also allows for changing the size of the input field by dragging the corner to increase it's size! --- ![image](https://github.com/user-attachments/assets/0cd84dc6-42bb-484e-9a94-ddb2eeb3a78d) ![image](https://github.com/user-attachments/assets/35d2c371-dec7-43ee-9846-0266d19ac19f) ![image](https://github.com/user-attachments/assets/cf78d143-03e5-48e0-b414-10b2dabb1450) ![image](https://github.com/user-attachments/assets/35a96094-ac4b-40aa-ba9f-5db69f3cab2e) ### Contributor License Agreement By submitting this pull request, I confirm that I have read and fully agree to the [Contributor License Agreement (CLA)](/CONTRIBUTOR_LICENSE_AGREEMENT), and I am providing my contributions under its terms. --- <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 19:04:12 -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#10415