Skip to content

UI improvements for RemotePeerActivity and ChanActivity - #56

Open
0orion wants to merge 1 commit into
standardsats:masterfrom
0orion:ui_improvements
Open

0orion wants to merge 1 commit into
standardsats:masterfrom
0orion:ui_improvements

Conversation

@0orion

@0orion 0orion commented Feb 4, 2026

Copy link
Copy Markdown

This PR Improved user experience when connecting to remote peers and managing channels.

It also optimized the camera pop up for QR scan (Initially had a serious lag that required double clicking on the "Scan Node QR" button before camera pops up)

@evd0kim

RemotePeerActivity improvements:
- Added node alias display prominently at top
- Collapsible "Node Details" section with node key, IP, features
- Styled "Share" button with bold/underlined text
- Reordered channel buttons (Normal > Hosted SAT > Fiat USD > Fiat EUR)
- Feature tags in 2-column grid layout

ChanActivity improvements:
- Changed from horizontal chips to vertical buttons
- Fixed double-click scanner issue with onRequestPermissionsResult handler
- Added frag_chan_footer.xml layout

Minor fixes:
- Fixed typo in colors.xml (extra > on cardFiatUsd)
- Added colorGreen color
@evd0kim

evd0kim commented Mar 21, 2026

Copy link
Copy Markdown

@0orion do you have an apk build for this PR?

@0orion

0orion commented Apr 2, 2026

Copy link
Copy Markdown
Author

@0orion do you have an apk build for this PR?

Yes, there's an apk build for it.

I'm just seeing this now.

@0orion

0orion commented Apr 2, 2026

Copy link
Copy Markdown
Author

@0orion do you have an apk build for this PR?

Here: https://github.com/0orion/valet/releases/tag/Valet_Bitcoin

@0orion

0orion commented Apr 14, 2026

Copy link
Copy Markdown
Author

@0orion do you have an apk build for this PR?

  1. Changed the "GetNew Channel" page view from Grid to a List view.

OLD

Old_2

NEW

new_1

@0orion

0orion commented Apr 14, 2026

Copy link
Copy Markdown
Author

@0orion do you have an apk build for this PR?

  1. When a node QR is scanned, the node info, as well as the action buttons all appear on the page looking a bit disorganized. I organized it and hid the node info in a dropdown button.

OLD

old_1

NEW

new_2a

@evd0kim

evd0kim commented Apr 14, 2026

Copy link
Copy Markdown

2. When a node QR is scanned, the node info, as well as the action buttons all appear on the page looking a bit disorganized. I organized it and hid the node info in a dropdown button.

here you introduced friction when opening new channel. Please revert.

val hview = new HostedViewHolder(card).fill(chan, hc)
hview.queryRates(chan)
// Only query rates for Fiat channels, not standard Hosted Channels
if (!hc.isStandardHostedChannel) hview.queryRates(chan)

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This should not be in this PR.

serverRateText.setText(fiatOrNothing(serverRate, cardIn,s"${ticker.tag}/BTC").html)
// rateText.setText(fiatOrNothing(rate, cardIn,s"${ticker.tag}/BTC").html)
fiatText.setText(fiatOrNothing(hc.fiatValue, cardIn, ticker.tag).html)
if (isFiatChannel) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Also, should not belong to this PR

import fr.acinq.eclair.transactions.Scripts
import fr.acinq.eclair.wire._
import immortan.Ticker.{EUR_TICKER, USD_TICKER}
import immortan.Ticker.{EUR_TICKER, SAT_TICKER, USD_TICKER}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Here too. Please check your changes because they concern not just UI.

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