diff options
| author | Adam Soltys <[email protected]> | 2026-07-06 08:48:32 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-07-06 08:48:32 -0700 |
| commit | ce7d50d9c87b790ff8f17d986024c1c99a7889a2 (patch) | |
| tree | 7fea2317ba918b74b0eba331f97907e7c2151510 /src/features/ark.js | |
| parent | 45a4a9d5cec8eafc7e98ebd7ca2a9790c0ee94b4 (diff) | |
| download | coinosv3-ce7d50d9c87b790ff8f17d986024c1c99a7889a2.tar.gz coinosv3-ce7d50d9c87b790ff8f17d986024c1c99a7889a2.zip | |
History: Ark glyph in the row circle (no text chip); real Bitcoin logo
Off-chain Ark rows (arkHistoryItem) showed an arrow + a redundant 'Ark'
text chip; now the Ark mark sits in the direction-colored circle and
the chip is gone — the label + signed amount carry direction. The
detail header gets the badge instead of the chip. And the receive
selector's Bitcoin option uses coinos's real bitcoin.svg (orange disc +
tilted white B) instead of a bare ₿ character.
Co-Authored-By: Claude Fable 5 <[email protected]>
Diffstat (limited to 'src/features/ark.js')
| -rw-r--r-- | src/features/ark.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/features/ark.js b/src/features/ark.js index 5f64b21..92b248a 100644 --- a/src/features/ark.js +++ b/src/features/ark.js @@ -269,11 +269,12 @@ export function arkFeature(ctx) { return h( 'div', { class: 'item', style: 'cursor:pointer', onClick: () => { ui.arkMoveDetail = m.id; render(); } }, - h('div', { class: `ico ${incoming ? 'in' : 'out'}` }, incoming ? '↓' : '↑'), + // Ark mark in the (direction-colored) circle carries the rail; the label + // + signed amount carry direction, so no redundant "Ark" text chip. + h('div', { class: `ico ${incoming ? 'in' : 'out'}`, html: ARK_MARK(15) }), h('div', { class: 'grow' }, h('div', { class: 'row gap6' }, label, - h('span', { class: 'tag' }, 'Ark'), m.status !== 'complete' ? h('span', { class: 'tag pending' }, m.status) : null), h('div', { class: 'small faint' }, timeAgo(m.ts / 1000))), h('div', { style: 'text-align:right' }, @@ -292,8 +293,8 @@ export function arkFeature(ctx) { 'div', { class: 'card col', style: 'gap:10px' }, h('div', { class: 'row gap6', style: 'align-items:center' }, + h('span', { html: ARK_ICON(18) }), h('h3', { style: 'margin:0' }, label), - h('span', { class: 'tag' }, 'Ark'), m.status !== 'complete' ? h('span', { class: 'tag pending' }, m.status) : null), h('div', { class: incoming ? 'amount-pos' : 'amount-neg', style: 'font-size:20px' }, (incoming ? '+' : '-') + fmtAmount(m.amountSat) + ' ' + unitLabel()), |
