Skip to content

🐛(frontend) wrap long unbroken document titles - #2852

Merged
AntoLC merged 1 commit into
suitenumerique:mainfrom
YousefKurchaloy:fix-wrap-long-document-titles
Oct 20, 2026
Merged

AntoLC merged 1 commit into
suitenumerique:mainfrom
YousefKurchaloy:fix-wrap-long-document-titles

Conversation

@YousefKurchaloy

@YousefKurchaloy YousefKurchaloy commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Purpose

Fixes #2849

Before:

image

After:

image

Proposal

  • Document title is no longer unbroken

General requirements

Skip the checkbox below 👇 if you're fixing an issue or adding documentation

  • Before submitting a PR for a new feature I made sure to contact the product manager

CI requirements

  • I made sure that all existing tests are passing
  • I have signed off my commits with git commit --signoff (DCO compliance)
  • I have signed my commits with my SSH or GPG key (git commit -S)
  • My commit messages follow the required format: <gitmoji>(type) title description
  • I have added a changelog entry under ## [Unreleased] section (if noticeable change)

AI requirements

Skip the checkboxes below 👇 If you didn't use AI for your contribution

  • I used AI assistance to produce part or all of this contribution
  • I have read, reviewed, understood and can explain the code I am submitting
  • I can jump in a call or a chat to explain my work to a maintainer

@coderabbitai

coderabbitai Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: ASSERTIVE
  • Plan: Advanced
  • Run ID: 484b8101-677a-4c84-bba0-8d35e96d343b
📥 Commits

Reviewing files that changed from the base of the PR and between ccb0b10 and e456ece.

📒 Files selected for processing: 1
  • CHANGELOG.md

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.

Walkthrough

The document title display and editable title now wrap long, unbroken text. Their layout containers have a minimum width of zero. The changelog adds an Unreleased fix entry.

Priority: ➖ Normal

Estimated code review effort: 1 (Trivial) | ~5 minutes

Severity of issue fixed: Medium

Suggested reviewers: jul11us

Merge Risk: ⚪ Minimal · up to e456e

The title-wrapping change is ready to merge; no concrete current-head defect was identified.

Pre-merge checks: Passed 5
Check name Status Explanation
Description check Passed The description clearly explains the fix for long unbroken document titles and includes relevant implementation and validation details.
Title check Passed The title clearly and concisely identifies the frontend fix for wrapping long unbroken document titles.
Linked Issues check Passed Issue #2849 requires long unbroken document titles to wrap in editable and read-only headers. DocTitle.tsx adds overflow-wrap: anywhere to both title elements. It sets the relevant flex wrappers t…
Out of Scope Changes check Passed The changes affect the document title layout in DocTitle.tsx and add one related CHANGELOG.md entry. These changes directly support issue #2849. No unrelated change is shown.
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1…
Full details: Linked Issues check

Explanation

Issue #2849 requires long unbroken document titles to wrap in editable and read-only headers. DocTitle.tsx adds overflow-wrap: anywhere to both title elements. It sets the relevant flex wrappers to min-width: 0. The changelog records the fix. Issue #2849 does not require automated tests.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@AntoLC
AntoLC self-requested a review October 16, 2026 07:11
@AntoLC AntoLC added bug Something isn't working frontend labels Oct 16, 2026
@AntoLC
AntoLC force-pushed the fix-wrap-long-document-titles branch from b6316c2 to 33da9b4 Compare October 20, 2026 10:27

@AntoLC AntoLC left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution 🎉

@AntoLC AntoLC self-assigned this Oct 20, 2026
@AntoLC
AntoLC force-pushed the fix-wrap-long-document-titles branch from 33da9b4 to ccb0b10 Compare October 20, 2026 11:38
@AntoLC
AntoLC force-pushed the fix-wrap-long-document-titles branch from ccb0b10 to e456ece Compare October 20, 2026 14:41
@AntoLC
AntoLC merged commit e456ece into suitenumerique:main Oct 20, 2026
45 checks passed
lunika added a commit that referenced this pull request Oct 21, 2026
Added

- ✨(docspec) handle DocSpec 4xx/5xx import errors distinctly #2552
- 🌐(frontend) add Crowdin translator context #2785
- ✨(frontend) open the emoji picker when adding a document emoji #2777

Changed

- 💄(frontend) limit heading choices to levels 1–3

- ♻️(frontend) replace outdated AGPL mentions of BlockNote XL packages #2775
- 💄(frontend) update upload loader and error ui #2778
- ⬆️(yhub) upgrade @y/hub to 0.10.1 #2853
- ♿️(frontend) allow opening the home button in a new tab #2839
- 💄(frontend) use 12px for error page home links #2809

Fixed

- 🐛(frontend) don't add a reader's duplicate to the doc tree #2860
- 🐛(frontend) fix confirmation modal for duplicating sub-docs #2860
- 🐛(frontend) wrap long unbroken document titles #2852
- 🐛(frontend) wrap long text in the print export #2813
- 🔒️(backend) bind comment thread to the path document on creation #2838
- 🐛(frontend) fix search highlight hidden inside code blocks #2681
- 🔒️(backend) require present document access for thread and comment
  writes #2840
- 🐛(backend) enforce resource server action restrictions on the external
  API #2745
- 🐛(backend) mark only the top duplicate as a copy, after its title #2855
- 🐛(yhub) measure migration durations with a monotonic clock #2814
- 🐛(backend) send the mention email when the cache is unreachable #2803
- 🐛(backend) give media-auth its own throttle scope
- 💄(frontend) remove the vertical line next to nested blocks #2825
lunika added a commit that referenced this pull request Oct 21, 2026
Added

- ✨(docspec) handle DocSpec 4xx/5xx import errors distinctly #2552
- 🌐(frontend) add Crowdin translator context #2785
- ✨(frontend) open the emoji picker when adding a document emoji #2777

Changed

- 💄(frontend) limit heading choices to levels 1–3

- ♻️(frontend) replace outdated AGPL mentions of BlockNote XL packages #2775
- 💄(frontend) update upload loader and error ui #2778
- ⬆️(yhub) upgrade @y/hub to 0.10.1 #2853
- ♿️(frontend) allow opening the home button in a new tab #2839
- 💄(frontend) use 12px for error page home links #2809

Fixed

- 🐛(frontend) don't add a reader's duplicate to the doc tree #2860
- 🐛(frontend) fix confirmation modal for duplicating sub-docs #2860
- 🐛(frontend) wrap long unbroken document titles #2852
- 🐛(frontend) wrap long text in the print export #2813
- 🔒️(backend) bind comment thread to the path document on creation #2838
- 🐛(frontend) fix search highlight hidden inside code blocks #2681
- 🔒️(backend) require present document access for thread and comment
  writes #2840
- 🐛(backend) enforce resource server action restrictions on the external
  API #2745
- 🐛(backend) mark only the top duplicate as a copy, after its title #2855
- 🐛(yhub) measure migration durations with a monotonic clock #2814
- 🐛(backend) send the mention email when the cache is unreachable #2803
- 🐛(backend) give media-auth its own throttle scope
- 💄(frontend) remove the vertical line next to nested blocks #2825
lunika added a commit that referenced this pull request Oct 21, 2026
Added

- ✨(docspec) handle DocSpec 4xx/5xx import errors distinctly #2552
- 🌐(frontend) add Crowdin translator context #2785
- ✨(frontend) open the emoji picker when adding a document emoji #2777

Changed

- 💄(frontend) limit heading choices to levels 1–3

- ♻️(frontend) replace outdated AGPL mentions of BlockNote XL packages #2775
- 💄(frontend) update upload loader and error ui #2778
- ⬆️(yhub) upgrade @y/hub to 0.10.1 #2853
- ♿️(frontend) allow opening the home button in a new tab #2839
- 💄(frontend) use 12px for error page home links #2809

Fixed

- 🐛(frontend) don't add a reader's duplicate to the doc tree #2860
- 🐛(frontend) fix confirmation modal for duplicating sub-docs #2860
- 🐛(frontend) wrap long unbroken document titles #2852
- 🐛(frontend) wrap long text in the print export #2813
- 🔒️(backend) bind comment thread to the path document on creation #2838
- 🐛(frontend) fix search highlight hidden inside code blocks #2681
- 🔒️(backend) require present document access for thread and comment
  writes #2840
- 🐛(backend) enforce resource server action restrictions on the external
  API #2745
- 🐛(backend) mark only the top duplicate as a copy, after its title #2855
- 🐛(yhub) measure migration durations with a monotonic clock #2814
- 🐛(backend) send the mention email when the cache is unreachable #2803
- 🐛(backend) give media-auth its own throttle scope
- 💄(frontend) remove the vertical line next to nested blocks #2825
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working frontend

Projects

None yet

Development

Successfully merging this pull request may close these issues.

🐛(Bug) Long doc title overflows the page instead of wrapping

2 participants