Skip to content

Enhance changelog input to textarea with character counter #5663

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

shresthkapoor7
Copy link
Contributor

@shresthkapoor7 shresthkapoor7 commented Jun 19, 2025

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

ssddanbrown added a commit that referenced this pull request Jul 19, 2025
@ssddanbrown ssddanbrown merged commit f786d25 into BookStackApp:development Jul 19, 2025
1 check passed
@ssddanbrown ssddanbrown added this to the Next Feature Release milestone Jul 19, 2025
@ssddanbrown
Copy link
Member

Thanks @shresthkapoor7! Now merged to be part of the next feature release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants