Skip to content

fix(ux): lead transaction rows with the label, demote the hash#294

Merged
QSchlegel merged 1 commit into
preprodfrom
claude/tx-row-hierarchy
Jun 13, 2026
Merged

fix(ux): lead transaction rows with the label, demote the hash#294
QSchlegel merged 1 commit into
preprodfrom
claude/tx-row-hierarchy

Conversation

@QSchlegel

Copy link
Copy Markdown
Collaborator

PR 2 of the transactions-UI redesign (after #293 pagination).

The on-chain history rows (desktop table + mobile cards) led with the raw truncated tx hash — the least human-meaningful field — while the actual description ("Ballot Vote: …") was buried below. The pending-tx cards already lead with the description; this brings history in line.

Changes (all-transactions.tsx, responsive-transactions-table.tsx)

  • Primary = dbTransaction.description, falling back to the cert label (desktop) or "Sent"/"Received" so rows without a DB record aren't identified by a bare hash.
  • Date below.
  • Hash demoted to a quiet muted mono link with the external-link arrow.
  • Standardize hash truncation on getFirstAndLast(hash, 8, 8) (was two inline substring schemes); drop the now-redundant standalone description block on mobile.

Cardanoscan links, outputs, certs, signers, and the kebab actions menu are unchanged.

Verify

  • Chrome MCP 390px + desktop: each row leads with the bold human label, date below, hash as a small muted mono link; no-DB rows show Sent/Received; links + dropdown still work.
  • tsc clean; jest 362 passed.

🤖 Generated with Claude Code

The on-chain history rows (desktop table + mobile cards) led with the raw
truncated tx hash — the least human-meaningful field — while the actual
description ("Ballot Vote: …") was buried below. Flip the hierarchy to match
the pending-tx cards:
- primary: the dbTransaction description, or a "Sent"/"Received" fallback (and
  the cert label on desktop) so rows without a DB record aren't identified by
  a bare hash.
- date below.
- hash demoted to a quiet muted mono link with the external-link arrow.

Also standardize the hash truncation on getFirstAndLast(hash, 8, 8) (was two
different inline substring schemes) and drop the now-redundant standalone
description block on mobile. Cardanoscan links, outputs, certs, signers, and
the row actions menu are unchanged.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
multisig Ready Ready Preview, Comment Jun 13, 2026 11:05am

Request Review

@QSchlegel QSchlegel merged commit 63ed05a into preprod Jun 13, 2026
6 of 7 checks passed
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.

1 participant