-
Notifications
You must be signed in to change notification settings - Fork 5
feat: improve UX terminology and add comprehensive documentation #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
arcbtc
left a comment
There was a problem hiding this 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.
|
I like the pr a lot though. Low hanging UX improvement |
Good point. What should we put? |
Suggest renaming:
I also think the drop downs aren't immediately clear. Suggest changing the Asset drop downs change:
|
|
LGTM |
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>
a8b3fd3 to
6a9f01b
Compare
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.
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
Documentation Enhancements
Right Sidebar Restructuring:
API Documentation: Expanded to match allowance extension format
Bug Fixes
openSubmarineSwapDialog(), etc.)Files Changed
description.md- Updated with user-friendly language and real-world use casestemplates/boltz/_api_docs.html- Replaced with_info_sections.htmlfor better organizationtemplates/boltz/_intro.html- New file for banner and introduction textstatic/image/boltz-banner.png- New custom banner imageFYI @EdiWeeks @arcbtc
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com