[PR #4915] [MERGED] Simplify message presets by removing heading input #4817

Closed
opened 2026-02-22 18:36:35 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4915
Author: @shatfield4
Created: 1/27/2026
Status: Merged
Merged: 2/9/2026
Merged by: @timothycarambat

Base: 4911-feat-home-page-redesign-implementationHead: simplify-message-presets


📝 Commits (5)

  • 1899bfe Remove heading input from message presets, merge legacy headings on edit
  • cbce24b filter out empty messages from state after saving
  • f8590d9 mark form as dirty on input change
  • feb053f Merge branch '4911-feat-home-page-redesign-implementation' into simplify-message-presets
  • 7f1269d styling

📊 Changes

2 files changed (+31 additions, -19 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx (+7 -0)
📝 frontend/src/pages/WorkspaceSettings/GeneralAppearance/SuggestedChatMessages/index.jsx (+24 -19)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

connect #4931

  • Remove heading input from workspace settings editing form
  • New presets store empty string for heading
  • Legacy presets with headings render with semibold prefix (backward compatible)
  • Editing a legacy preset merges heading into message text
  • Chat view handles empty headings without sending a leading space

What is in this change?

Additional Information

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 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/Mintplex-Labs/anything-llm/pull/4915 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 1/27/2026 **Status:** ✅ Merged **Merged:** 2/9/2026 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `4911-feat-home-page-redesign-implementation` ← **Head:** `simplify-message-presets` --- ### 📝 Commits (5) - [`1899bfe`](https://github.com/Mintplex-Labs/anything-llm/commit/1899bfe22c7b4bd29f57adb30decdab14f691ae8) Remove heading input from message presets, merge legacy headings on edit - [`cbce24b`](https://github.com/Mintplex-Labs/anything-llm/commit/cbce24bf192c4a3f23f505a4ea04f459547a7827) filter out empty messages from state after saving - [`f8590d9`](https://github.com/Mintplex-Labs/anything-llm/commit/f8590d918cdc579fb82943a3012946645827d06e) mark form as dirty on input change - [`feb053f`](https://github.com/Mintplex-Labs/anything-llm/commit/feb053f6095017d5a927e2e8c94df9a3218c22d2) Merge branch '4911-feat-home-page-redesign-implementation' into simplify-message-presets - [`7f1269d`](https://github.com/Mintplex-Labs/anything-llm/commit/7f1269d0f89e6a93ce96f284fad549612fcab923) styling ### 📊 Changes **2 files changed** (+31 additions, -19 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx` (+7 -0) 📝 `frontend/src/pages/WorkspaceSettings/GeneralAppearance/SuggestedChatMessages/index.jsx` (+24 -19) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> connect #4931 - Remove heading input from workspace settings editing form - New presets store empty string for heading - Legacy presets with headings render with semibold prefix (backward compatible) - Editing a legacy preset merges heading into message text - Chat view handles empty headings without sending a leading space ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:35 -05:00
yindo closed this issue 2026-02-22 18:36:35 -05:00
yindo changed title from [PR #4915] Simplify message presets by removing heading input to [PR #4915] [MERGED] Simplify message presets by removing heading input 2026-06-05 15:20:32 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4817