diff --git a/pyproject.toml b/pyproject.toml index 96f5755..df2aea2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "lazy-ecs" -version = "0.7.4" +version = "0.7.5" description = "A CLI tool for working with AWS services" readme = "README.md" authors = [ diff --git a/src/lazy_ecs/features/container/ui.py b/src/lazy_ecs/features/container/ui.py index 769c6f0..dbb9ed0 100644 --- a/src/lazy_ecs/features/container/ui.py +++ b/src/lazy_ecs/features/container/ui.py @@ -236,8 +236,7 @@ def show_container_environment_variables(self, cluster_name: str, task_arn: str, sorted_vars = sorted(env_vars.items()) for name, value in sorted_vars: - display_value = value if len(value) <= 80 else f"{value[:77]}..." - console.print(f"{name}={display_value}", style="white") + console.print(f"{name}={value}", style="white") console.print("=" * 60, style="dim") console.print(f"📊 Total: {len(env_vars)} environment variables", style="blue") diff --git a/src/lazy_ecs/features/service/ui.py b/src/lazy_ecs/features/service/ui.py index 8ffe6c7..711fa57 100644 --- a/src/lazy_ecs/features/service/ui.py +++ b/src/lazy_ecs/features/service/ui.py @@ -107,10 +107,6 @@ def display_service_events(self, cluster_name: str, service_name: str) -> None: if len(service_display) > 18: service_display = "..." + service_display[-15:] - # Now we have more space for the actual message - if len(message) > 100: - message = message[:97] + "..." - table.add_row(time_str, type_display, service_display, message) console.print(table) diff --git a/src/lazy_ecs/features/task/ui.py b/src/lazy_ecs/features/task/ui.py index b94dd92..c6b3488 100644 --- a/src/lazy_ecs/features/task/ui.py +++ b/src/lazy_ecs/features/task/ui.py @@ -19,7 +19,6 @@ # Constants MAX_RECENT_TASKS = 10 -MAX_STATUS_DETAILS_LENGTH = 50 SEPARATOR_WIDTH = 80 _CHANGE_TYPE_DISPLAY = { @@ -203,7 +202,7 @@ def _create_history_table(self) -> Table: table.add_column("Task ID", style="yellow", width=12) table.add_column("Revision", style="green", width=8) table.add_column("Created", style="blue", width=16) - table.add_column("Status Details", width=40) + table.add_column("Status Details") return table def _format_task_row(self, task: TaskHistoryDetails) -> tuple[str, str, str, str, str]: @@ -226,9 +225,6 @@ def _format_task_row(self, task: TaskHistoryDetails) -> tuple[str, str, str, str else: status_details = f"[yellow]{status_details}[/yellow]" - if len(status_details) > MAX_STATUS_DETAILS_LENGTH: - status_details = status_details[:47] + "..." - return status_display, task_id, revision, created_time, status_details def _display_history_summary(self, recent_tasks: list[TaskHistoryDetails]) -> None: diff --git a/uv.lock b/uv.lock index a13fb4a..3d53250 100644 --- a/uv.lock +++ b/uv.lock @@ -404,7 +404,7 @@ wheels = [ [[package]] name = "lazy-ecs" -version = "0.7.4" +version = "0.7.5" source = { editable = "." } dependencies = [ { name = "boto3" },