From 801cdd07d26fcb6145b11d11ce4959ed59233125 Mon Sep 17 00:00:00 2001 From: sadegh Date: Sat, 20 Jun 2026 10:52:49 +0330 Subject: [PATCH] fix(card): show long card titles in full and edit them on multiple lines The card sidebar header truncated long titles to a single line with an ellipsis and edited them in a single-line input, so the full text was never visible. Let the title wrap onto multiple lines and replace the header edit input with an auto-growing textarea. Because NcAppSidebar renders the title input itself with no slot to override it, the textarea is injected in place of the input when editing starts; the original input is kept (hidden) so the library's form submit and click-outside handling keep working. Pressing Enter applies the title instead of inserting a newline, and Enter is ignored while an IME is composing (e.g. Persian/Arabic input). Signed-off-by: sadegh Co-Authored-By: Claude Opus 4.8 (1M context) --- src/components/card/CardSidebar.vue | 101 ++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) diff --git a/src/components/card/CardSidebar.vue b/src/components/card/CardSidebar.vue index 346aa6cb9..de2f9a0bc 100644 --- a/src/components/card/CardSidebar.vue +++ b/src/components/card/CardSidebar.vue @@ -214,8 +214,72 @@ export default { this.titleEditing = newTitle }, }, + isEditingTitle(editing) { + if (editing) { + // The sidebar header uses a single-line for the title. + // Replace it with a