Skip to content

Commit 413e5d2

Browse files
authored
Merge pull request #58 from vertti/fix/remove-truncation-limits
Remove data truncation limits for modern terminals
2 parents 78d281b + 6f73399 commit 413e5d2

File tree

5 files changed

+4
-13
lines changed

5 files changed

+4
-13
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "lazy-ecs"
3-
version = "0.7.4"
3+
version = "0.7.5"
44
description = "A CLI tool for working with AWS services"
55
readme = "README.md"
66
authors = [

src/lazy_ecs/features/container/ui.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,7 @@ def show_container_environment_variables(self, cluster_name: str, task_arn: str,
236236
sorted_vars = sorted(env_vars.items())
237237

238238
for name, value in sorted_vars:
239-
display_value = value if len(value) <= 80 else f"{value[:77]}..."
240-
console.print(f"{name}={display_value}", style="white")
239+
console.print(f"{name}={value}", style="white")
241240

242241
console.print("=" * 60, style="dim")
243242
console.print(f"📊 Total: {len(env_vars)} environment variables", style="blue")

src/lazy_ecs/features/service/ui.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,6 @@ def display_service_events(self, cluster_name: str, service_name: str) -> None:
107107
if len(service_display) > 18:
108108
service_display = "..." + service_display[-15:]
109109

110-
# Now we have more space for the actual message
111-
if len(message) > 100:
112-
message = message[:97] + "..."
113-
114110
table.add_row(time_str, type_display, service_display, message)
115111

116112
console.print(table)

src/lazy_ecs/features/task/ui.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
# Constants
2121
MAX_RECENT_TASKS = 10
22-
MAX_STATUS_DETAILS_LENGTH = 50
2322
SEPARATOR_WIDTH = 80
2423

2524
_CHANGE_TYPE_DISPLAY = {
@@ -203,7 +202,7 @@ def _create_history_table(self) -> Table:
203202
table.add_column("Task ID", style="yellow", width=12)
204203
table.add_column("Revision", style="green", width=8)
205204
table.add_column("Created", style="blue", width=16)
206-
table.add_column("Status Details", width=40)
205+
table.add_column("Status Details")
207206
return table
208207

209208
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
226225
else:
227226
status_details = f"[yellow]{status_details}[/yellow]"
228227

229-
if len(status_details) > MAX_STATUS_DETAILS_LENGTH:
230-
status_details = status_details[:47] + "..."
231-
232228
return status_display, task_id, revision, created_time, status_details
233229

234230
def _display_history_summary(self, recent_tasks: list[TaskHistoryDetails]) -> None:

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)