Skip to content

Conversation

@BenGWeeks
Copy link
Contributor

@BenGWeeks BenGWeeks commented Oct 16, 2025

Summary

This PR improves the user experience for non-technical users by replacing technical jargon with user-friendly terminology and adds comprehensive documentation to the extension.

image image

My use case for implementation was so that it is a little more intuitive for my daughter who uses this to send funds from here to her Bitcoin balance on Revolut so she can use her Mastercard to make purchases using Bitcoin.

Issues Addressed

Changes Made

UX Improvements

  • Button Labels: Replaced technical terms with user-friendly language
    • "Onchain to LN" → "Receive from onchain"
    • "LN to Onchain" → "Send to Bitcoin address"
    • "Autoswap LN to Onchain" → "Auto Cash Out to Bitcoin"
    • "Create Auto Reverse Swap (Out)" → "Enable Auto Cash Out"
  • Tooltips: Added helpful tooltips to all action buttons explaining what they do
  • Dialog Improvements:
    • Added white introductory text in each dialog explaining its purpose
    • Added field hints with examples to guide users
    • Improved clarity of advanced options tooltips
  • Section Headings: Changed from arrows (→) to "to" for better readability

Documentation Enhancements

  • Right Sidebar Restructuring:

    • Added custom Boltz banner image
    • Created separate "About Boltz" section with link to Boltz Exchange
    • Restructured "Usage Guide" to explain:
      • Onchain to Lightning (Swap IN)
      • Lightning to Onchain (Swap OUT)
      • Auto Cash Out (Automatic Swap OUT)
    • Added "Share Feedback on GitHub" button to Help section
  • API Documentation: Expanded to match allowance extension format

    • Added detailed, expandable documentation for all 9 API endpoints
    • Included HTTP methods (color-coded), headers, request bodies, and responses
    • Provided working curl examples with user's API key for each endpoint

Bug Fixes

Files Changed

  • description.md - Updated with user-friendly language and real-world use cases
  • templates/boltz/_api_docs.html - Replaced with _info_sections.html for better organization
  • templates/boltz/_intro.html - New file for banner and introduction text
  • static/image/boltz-banner.png - New custom banner image
  • Updated all dialog and list templates with improved terminology

FYI @EdiWeeks @arcbtc

🤖 Generated with Claude Code

Co-Authored-By: Claude noreply@anthropic.com

@arcbtc arcbtc self-requested a review November 17, 2025 14:03
Copy link
Member

@arcbtc arcbtc left a comment

Choose a reason for hiding this comment

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

Use of the term "cash out" is misleading, as its a swap between ln/liquid/onchain.
Cashout implies swapping to fiat.

@arcbtc
Copy link
Member

arcbtc commented Nov 17, 2025

I like the pr a lot though. Low hanging UX improvement

@BenGWeeks
Copy link
Contributor Author

Use of the term "cash out" is misleading, as its a swap between ln/liquid/onchain.

Cashout implies swapping to fiat.

Good point. What should we put?

@BenGWeeks
Copy link
Contributor Author

Use of the term "cash out" is misleading, as its a swap between ln/liquid/onchain. Cashout implies swapping to fiat.

Suggest renaming:

  • "Send to Bitcoin Address" to "Send to Onchain"
  • "Auto Cash Out" to Bitcoin" to "Auto Sweep to Onchain"

I also think the drop downs aren't immediately clear. Suggest changing the Asset drop downs change:

  • "L-BTC/BTC" to "Liquid Bitcoin"
  • "BTC/BTC" to "Onchain Bitcoin"

@arcbtc arcbtc self-requested a review December 22, 2025 12:21
@arcbtc
Copy link
Member

arcbtc commented Dec 22, 2025

LGTM

BenGWeeks and others added 4 commits December 22, 2025 13:42
This PR improves the user experience for non-technical users and addresses issues lnbits#54, lnbits#55, and lnbits#46.

**UX Improvements:**
- Replace technical jargon with user-friendly terminology
  - "Onchain to LN" → "Receive from onchain"
  - "LN to Onchain" → "Send to Bitcoin address"
  - "Autoswap LN to Onchain" → "Auto Cash Out to Bitcoin"
- Add helpful tooltips to all action buttons
- Include introductory text in each dialog explaining its purpose
- Add field hints with examples to guide users
- Change section headings from arrows (→) to "to" for clarity

**Documentation Enhancements:**
- Add Boltz banner image to right sidebar
- Create separate "About Boltz" section
- Restructure "Usage Guide" to explain Swap IN, Swap OUT, and Auto Cash Out
- Expand API documentation with detailed endpoint info (similar to allowance extension)
  - Include HTTP methods, headers, body parameters, and response formats
  - Provide working curl examples for each endpoint
- Add "Share Feedback on GitHub" button to Help section

**Bug Fixes:**
- Fix lnbits#46: Min and max values now persist when canceling and reopening dialogs
  - Add proper initialization methods that reset dialog data before opening
  - Ensures asset is always set to default 'BTC/BTC' when opening dialogs

**Files Changed:**
- Updated description.md with user-friendly language and real-world use cases
- Replaced _api_docs.html with _info_sections.html for better organization
- Created _intro.html for banner and introduction text
- Added boltz-banner.png image asset

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Make the introductory text in all three dialogs more readable by changing from grey to white.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Changed "Create Auto Reverse Swap (Out)" to "Enable Auto Cash Out" for consistency with other button labels.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Made the tooltips for the two advanced options more user-friendly:
- Balance to keep: Now explains it's the minimum Lightning balance kept after each automatic cash out plus fee reserve
- Fee limit: Now explains it skips swaps during high fee periods

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@dni dni force-pushed the improve-ux-terminology branch from a8b3fd3 to 6a9f01b Compare December 22, 2025 12:42
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@arcbtc arcbtc merged commit f71bb8b into lnbits:main Dec 22, 2025
16 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

3 participants