[PR #5663] [MERGED] Enhance changelog input to textarea with character counter #6546

Closed
opened 2026-02-05 10:35:12 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/5663
Author: @shresthkapoor7
Created: 6/19/2025
Status: Merged
Merged: 7/19/2025
Merged by: @ssddanbrown

Base: developmentHead: enhance-changelog-textarea


📝 Commits (1)

  • 3617ab1 Enhance changelog input to textarea with character counter

📊 Changes

2 files changed (+15 additions, -6 deletions)

View changed files

📝 resources/js/components/page-editor.js (+6 -1)
📝 resources/views/pages/parts/editor-toolbar.blade.php (+9 -5)

📄 Description

This PR addresses #5434 by improving the UX of the changelog input field during page edits.

Changes:

  • Replaced single-line <input> with compact <textarea> (rows="2", maxlength="250")
  • Added live character counter (0 / 250) below the field
  • Preserved preview logic using existing debounced JS handler
  • UI remains visually compact as requested

Tested:

  • Page creation and editing flow
  • Character counter updates live
  • Summary preview still truncates after 16 chars
  • Long changelogs saved correctly and appear in revision history

Notes:

  • Revision list may overflow with long changelogs - possibly a separate CSS issue

🔄 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/BookStackApp/BookStack/pull/5663 **Author:** [@shresthkapoor7](https://github.com/shresthkapoor7) **Created:** 6/19/2025 **Status:** ✅ Merged **Merged:** 7/19/2025 **Merged by:** [@ssddanbrown](https://github.com/ssddanbrown) **Base:** `development` ← **Head:** `enhance-changelog-textarea` --- ### 📝 Commits (1) - [`3617ab1`](https://github.com/BookStackApp/BookStack/commit/3617ab1540840ca1b12ee6dd40e3eeccbfffc94b) Enhance changelog input to textarea with character counter ### 📊 Changes **2 files changed** (+15 additions, -6 deletions) <details> <summary>View changed files</summary> 📝 `resources/js/components/page-editor.js` (+6 -1) 📝 `resources/views/pages/parts/editor-toolbar.blade.php` (+9 -5) </details> ### 📄 Description This PR addresses [#5434](https://github.com/BookStackApp/BookStack/issues/5434) by improving the UX of the changelog input field during page edits. ### Changes: - Replaced single-line `<input>` with compact `<textarea>` (`rows="2"`, `maxlength="250"`) - Added live character counter (`0 / 250`) below the field - Preserved preview logic using existing debounced JS handler - UI remains visually compact as requested ### Tested: - Page creation and editing flow - Character counter updates live - Summary preview still truncates after 16 chars - Long changelogs saved correctly and appear in revision history ### Notes: - Revision list may overflow with long changelogs - possibly a separate CSS issue --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:35:12 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6546