Open Catrya opened 6 days ago
The changes primarily affect the src/main.rs
file, focusing on user interface enhancements and interaction logic improvements. Modifications include adjustments to popup dimensions and styles, resetting flags for input and order displays when switching tabs, and refining keyboard event handling for order processing. The error handling for out-of-range inputs has been clarified, and the drawing logic for popups has been updated. Additionally, the method implementations for several functions have been modified without changes to their signatures.
File | Change Summary |
---|---|
src/main.rs |
- Enhanced user interface with updated popup dimensions and styles. |
- Reset show_amount_input and show_order flags when navigating between tabs. |
|
- Refined logic for handling Enter key events to streamline order processing. |
|
- Clarified error handling for out-of-range input values. | |
- Updated drawing logic for input popups. | |
- Modified implementations of run , render methods in App , MostroListWidget , and OrderListWidget without signature changes. |
In the garden where popups bloom,
A rabbit hops, dispelling gloom.
With styles anew and flags reset,
User joy is a sure bet!
Enter keys dance, orders align,
A seamless flow, oh how divine! 🐇✨
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Currently if you were in any area and pressed Enter, you took an order. Now it only happens when you are viewing the list of orders
If you had a popup open and you moved to a tab, it would remain open and it was quite annoying. Now the popup closes
If you took an order with a range you were forced to write a number, if you wanted to exit you couldn't. Now pressing Esc allows you to exit
Changed the color and background when a user is going to put the amount of fiat they want in an order with a range
Changed the color of the popup titles to highlight them
Summary by CodeRabbit
New Features
Bug Fixes