Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down
3 changes: 1 addition & 2 deletions src/lazy_ecs/features/container/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 0 additions & 4 deletions src/lazy_ecs/features/service/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 1 addition & 5 deletions src/lazy_ecs/features/task/ui.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@

# Constants
MAX_RECENT_TASKS = 10
MAX_STATUS_DETAILS_LENGTH = 50
SEPARATOR_WIDTH = 80

_CHANGE_TYPE_DISPLAY = {
Expand Down Expand Up @@ -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]:
Expand All @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading