Skip to content

fix: transaction list UI polish#555

Merged
gringokiwi merged 4 commits intomasterfrom
wt-tx-list-fixes-20260422
Apr 30, 2026
Merged

fix: transaction list UI polish#555
gringokiwi merged 4 commits intomasterfrom
wt-tx-list-fixes-20260422

Conversation

@sahilc0
Copy link
Copy Markdown
Contributor

@sahilc0 sahilc0 commented Apr 22, 2026

Summary

  • Lighter dividers (dark10 instead of dark20) for subtler visual separation
  • Remove border on first transaction item (cleaner look below header)
  • Asset icon now leading (before amount text) for better visual hierarchy
  • Asset text uses regular weight instead of smaller size
  • Fix "haptics feedback" typo → "haptic feedback" in settings

Test plan

  • Verify dividers are lighter but still visible
  • First transaction row has no top border
  • Asset transactions show icon before amount text
  • Settings > General shows "Haptic feedback" (not "Haptics")

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Style

    • Updated transaction list border color for clearer separation
    • Improved transaction row layout: vertical centering and no top border on the first item
    • Reordered asset info so avatar appears before amounts and refined amount typography
    • Removed the "Transaction history" header for a cleaner list view
  • Bug Fixes

    • Corrected haptic feedback label text

- Lighter dividers (dark10 instead of dark20)
- Remove border on first transaction item
- Asset icon now leading (before amount text)
- Asset text uses regular weight instead of smaller size
- Fix "haptics feedback" typo → "haptic feedback"
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 22, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d84e16b9-94b3-42dd-b591-c37a4264dbbf

📥 Commits

Reviewing files that changed from the base of the PR and between 5e4bf63 and cf15ca0.

📒 Files selected for processing (1)
  • src/components/TransactionsList.tsx
🚧 Files skipped from review as they are similar to previous changes (1)
  • src/components/TransactionsList.tsx

Walkthrough

Change TransactionsList row styling and layout: swap border token to --dark10, add optional isFirst to suppress the top border on the first row, center-align row content, move AssetAvatar before amount and apply thin text; also fix SettingsOptions.Haptics enum value to 'haptic feedback'. (≤50 words)

Changes

Cohort / File(s) Summary
Transaction List Styling & Layout
src/components/TransactionsList.tsx
Changed border token from --dark20--dark10; added optional isFirst prop and pass virtualItem.index === 0 to rows; set alignItems: 'center'; remove top border when isFirst is true; reordered AssetAvatar before amount and applied thin text styling; removed "Transaction history" header.
Settings Options
src/lib/types.ts
Corrected enum value string: SettingsOptions.Haptics changed from 'haptics feedback''haptic feedback'.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested reviewers

  • pietro909
  • bordalix
  • Kukks
🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'fix: transaction list UI polish' directly describes the main change: UI improvements to the transaction list component, which aligns with the primary focus of the changeset (styling adjustments, layout improvements, and header removal).
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch wt-tx-list-fixes-20260422

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 22, 2026

Deploying wallet-bitcoin with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf15ca0
Status: ✅  Deploy successful!
Preview URL: https://d5354a1c.wallet-bitcoin.pages.dev
Branch Preview URL: https://wt-tx-list-fixes-20260422.wallet-bitcoin.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 22, 2026

Deploying wallet-mutinynet with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf15ca0
Status: ✅  Deploy successful!
Preview URL: https://deed9a2f.arkade-wallet.pages.dev
Branch Preview URL: https://wt-tx-list-fixes-20260422.arkade-wallet.pages.dev

View logs

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Apr 22, 2026

Deploying tmp-boltz-upstream-mainnet-arkade-wallet with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf15ca0
Status: ✅  Deploy successful!
Preview URL: https://aabdf779.tmp-boltz-upstream-mainnet-arkade-wallet.pages.dev
Branch Preview URL: https://wt-tx-list-fixes-20260422.tmp-boltz-upstream-mainnet-arkade-wallet.pages.dev

View logs

@sahilc0 sahilc0 requested review from bordalix and pietro909 April 22, 2026 18:08
Copy link
Copy Markdown

@arkanaai arkanaai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arkana Code Review — APPROVE ✅

Pure UI polish + typo fix. No protocol-critical code touched.

Changes reviewed:

src/components/TransactionsList.tsx

  • Border color dark20dark10: cosmetic, fine.
  • isFirst prop to suppress top border on first row: clean implementation, correctly passed via virtualItem.index === 0.
  • Asset avatar moved before amount text: layout reorder only.
  • smallerthin on asset text: style change only.
  • Removed <TextLabel>Transaction history</TextLabel> and the wrapping fragment — TextLabel import correctly removed from line 4.
  • No logic changes, no state changes, no data flow changes.

src/lib/types.ts

  • SettingsOptions.Haptics value: 'haptics feedback''haptic feedback'. Verified all consumers use the enum reference (SettingsOptions.Haptics), not the string value directly. The string is only used for display/aria labels. Safe typo fix.

bun.lock

  • New lockfile addition (1264 lines). Not previously tracked. No .gitignore entry for it. Committing lockfiles is correct practice.

Nit (non-blocking):

  • The bun.lock addition is unrelated to the UI polish. Consider separating lockfile commits from feature changes for cleaner git history, but not a blocker.

No protocol-critical code (VTXOs, signing, forfeit, rounds, exits) is touched. No cross-repo impact — all changes are internal UI components and a display-only enum value.

LGTM.

Copy link
Copy Markdown

@arkanaai arkanaai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arkana Code Review — APPROVE ✅

Pure UI polish + typo fix. No protocol-critical code touched.

Changes reviewed:

src/components/TransactionsList.tsx

  • Border color dark20dark10: cosmetic, fine.
  • isFirst prop to suppress top border on first row: clean implementation, correctly passed via virtualItem.index === 0.
  • Asset avatar moved before amount text: layout reorder only.
  • smallerthin on asset text: style change only.
  • Removed <TextLabel>Transaction history</TextLabel> and the wrapping fragment — TextLabel import correctly removed from line 4.
  • No logic changes, no state changes, no data flow changes.

src/lib/types.ts

  • SettingsOptions.Haptics value: 'haptics feedback''haptic feedback'. Verified all consumers use the enum reference (SettingsOptions.Haptics), not the string value directly. The string is only used for display/aria labels. Safe typo fix.

bun.lock

  • New lockfile addition (1264 lines). Not previously tracked. No .gitignore entry for it. Committing lockfiles is correct practice.

Nit (non-blocking):

  • The bun.lock addition is unrelated to the UI polish. Consider separating lockfile commits from feature changes for cleaner git history, but not a blocker.

No protocol-critical code (VTXOs, signing, forfeit, rounds, exits) is touched. No cross-repo impact — all changes are internal UI components and a display-only enum value.

LGTM.

Copy link
Copy Markdown

@arkanaai arkanaai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Arkana Code Review — APPROVE ✅

Iterative review: Only cf15ca07 (merge of master) is new since my last review.

The merge brought master changes into TransactionsList.tsx:

  • New prettyFiatAmount/prettyFiatHide imports (verified exports exist in format.ts)
  • asAssets flag for conditional asset display sizing
  • Updated Right component rendering order for asset transactions
  • FlexRow between/alignItems='start' props (verified FlexRow.tsx accepts both)

All merge integrations are clean — no conflict markers, no logic regressions, no broken imports. The PR's own changes (border styling, isFirst, haptic typo) remain intact and correct.

No protocol-critical code touched. Ship it.

@gringokiwi gringokiwi merged commit 767f515 into master Apr 30, 2026
6 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.

2 participants