From 0c8d610bff16453db4203fe251816223497605b5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Mar 2026 07:34:41 +0000 Subject: [PATCH 1/2] Initial plan From 7d72fc958add5cf62bf172d6cf563513e23033b5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 10 Mar 2026 07:36:43 +0000 Subject: [PATCH 2/2] Use TextOverflow.ELLIPSIS enum instead of string in projects/view.py Co-authored-by: clstaudt <875194+clstaudt@users.noreply.github.com> --- tuttle/app/projects/view.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tuttle/app/projects/view.py b/tuttle/app/projects/view.py index a2b371a..816da81 100644 --- a/tuttle/app/projects/view.py +++ b/tuttle/app/projects/view.py @@ -18,6 +18,7 @@ Row, Text, TextButton, + TextOverflow, Control, Alignment, Border, @@ -102,7 +103,7 @@ def __init__( size=fonts.BODY_1_SIZE, color=colors.text_primary, weight=fonts.BOLD_FONT if is_selected else None, - overflow="ellipsis", + overflow=TextOverflow.ELLIPSIS, max_lines=1, expand=True, ), @@ -116,7 +117,7 @@ def __init__( _client_title, size=fonts.BODY_2_SIZE, color=colors.text_secondary, - overflow="ellipsis", + overflow=TextOverflow.ELLIPSIS, max_lines=1, ), ), @@ -127,7 +128,7 @@ def __init__( _contract_title, size=fonts.BODY_2_SIZE, color=colors.text_secondary, - overflow="ellipsis", + overflow=TextOverflow.ELLIPSIS, max_lines=1, ), ), @@ -138,7 +139,7 @@ def __init__( date_str, size=fonts.BODY_2_SIZE, color=colors.text_muted, - overflow="ellipsis", + overflow=TextOverflow.ELLIPSIS, max_lines=1, ), ),