Skip to content

Replace trash icon with close icon on Close Session button#154

Merged
PureWeen merged 1 commit intomainfrom
fix/close-session-now-has-a-trash-basket-as-20260220-1605
Feb 20, 2026
Merged

Replace trash icon with close icon on Close Session button#154
PureWeen merged 1 commit intomainfrom
fix/close-session-now-has-a-trash-basket-as-20260220-1605

Conversation

@jfversluis
Copy link
Copy Markdown
Collaborator

Problem

The Close Session button used a 🗑 (wastebasket/trash) emoji icon, which implies permanent deletion. However, closing a session is a reversible action — the session can be restored later.

Fix

Replaced the 🗑 icon with ✕ (multiplication sign/close mark) in both:

  • SessionCard.razor (Dashboard card context menu)
  • SessionListItem.razor (Sidebar session list context menu)

The trash icon is still used for actual destructive actions (Remove Repo, Delete Group) where it remains appropriate.

Tests

Added CloseSessionIconTests.cs with 4 tests to prevent regression:

  • Verifies both components don't use the trash icon for Close Session
  • Verifies both components use the ✕ close icon

All 688 tests pass. Mac Catalyst build succeeds.

@jfversluis jfversluis force-pushed the fix/close-session-now-has-a-trash-basket-as-20260220-1605 branch from e281415 to 91a3df9 Compare February 20, 2026 16:45
The 🗑 (wastebasket) emoji on the Close Session button implied permanent
deletion, but closing a session is a reversible action. Replace it with
✕ (multiplication sign) which better conveys 'close/dismiss' semantics.

Changed in both SessionCard.razor and SessionListItem.razor. The trash
icon is still used for actual destructive actions (Remove Repo, Delete
Group) where it remains appropriate.

Added CloseSessionIconTests to prevent regression.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jfversluis jfversluis force-pushed the fix/close-session-now-has-a-trash-basket-as-20260220-1605 branch from 255bf35 to f3e3566 Compare February 20, 2026 18:54
@PureWeen PureWeen merged commit 916ca79 into main Feb 20, 2026
6 checks passed
@PureWeen PureWeen deleted the fix/close-session-now-has-a-trash-basket-as-20260220-1605 branch February 22, 2026 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants