Dark-Alex-17
f2ee1e71f6
feat: show sizes under a gigabyte in megabytes
...
Every size cell converted bytes to gigabytes and formatted the float in
place, so anything below a gigabyte rendered as 0.00 GB. Books and
tracks are almost always that small, which made the Size columns in
Readarr and Lidarr useless.
Replace convert_to_gb and convert_f64_to_gb with one format_size helper
that renders gigabytes at or above 1 GiB and megabytes below it, at the
precision each site already used. Every render site across the four
servarr trees now calls it, including the two movie and episode detail
strings built on the network side. Values at or above a gigabyte render
byte for byte as before.
Give the Readarr book statistics and book file fixtures and the Lidarr
album statistics fixture realistic sub-gigabyte sizes so the megabyte
path is pinned by the committed snapshots.
2026-09-18 21:44:22 -06:00
Jonathan McCumber and Claude Sonnet 4.6
645ca19d76
fix: address reviewer feedback — rename scroll field to bool, relocate static, drop env var
...
- Rename `ui_scroll_tick_count: u64` → `should_text_scroll: bool` across all 33
call sites; `on_ui_scroll_tick` now assigns true/false instead of 0/1
- Remove two now-redundant comments from `test_on_ui_scroll_tick`
- Move `WHITESPACE_RE` static declaration below module imports in network/mod.rs
- Remove `MANAGARR_TICK_RATE_MS` env var and its parsing helpers; `recv()`-based
blocking already brings idle CPU to near-0, and tuning tick rate silently
stretches the poll cadence — keep `DEFAULT_TICK_RATE_MS` const only
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
Claude-Session: https://claude.ai/code/session_01C3FpbniZme9mJqgFkMVowz
2026-07-04 20:30:20 -05:00
Dark-Alex-17
368f7505ff
feat: Improved UI speed and responsiveness
Check / stable / fmt (push) Has been cancelled
Check / beta / clippy (push) Has been cancelled
Check / stable / clippy (push) Has been cancelled
Check / nightly / doc (push) Has been cancelled
Check / 1.89.0 / check (push) Has been cancelled
Test Suite / ubuntu / beta (push) Has been cancelled
Test Suite / ubuntu / stable (push) Has been cancelled
Test Suite / macos-latest / stable (push) Has been cancelled
Test Suite / windows-latest / stable (push) Has been cancelled
Test Suite / ubuntu / stable / coverage (push) Has been cancelled
2025-12-19 13:41:14 -07:00
Dark-Alex-17
c3fa689617
refactor: Use is_multiple_of for the tick counter in the UI module
2025-12-09 14:30:17 -07:00
Dark-Alex-17
e50fb88bfc
refactor: Refactored to use more idiomatic let-else statements where applicable
2025-12-03 15:23:07 -07:00
Dark-Alex-17
ad58912baf
test: Updated Rust edition to 2024 and refactored network module tests to be more idiomatic
2025-12-03 14:49:27 -07:00
Dark-Alex-17
00ab0f27f7
feat: Refactor all keybinding tips into a dynamically changing menu that can be invoked via '?' [ #32 ]
2025-08-12 16:27:34 -06:00
Dark-Alex-17
412cb2408e
fix(style): Addressed linter complaints on formatting
2024-12-13 19:48:22 -07:00
Dark-Alex-17
c09950d0af
refactor(ui): Simplified the popup delegation so all future UI is easier to implement
2024-12-11 15:08:52 -07:00
Dark-Alex-17
2d2901f6dc
feat(ui): Full Sonarr support for the indexer tab
2024-12-04 16:39:37 -07:00
Dark-Alex-17
f139db07d9
feat(app): Dispatch support for all relevant Sonarr blocks
2024-11-27 17:06:20 -07:00
Dark-Alex-17
650c9783a6
Applied bug fix to the downloads tab as well as the context [skip ci]
2024-11-04 14:21:34 -07:00
Dark-Alex-17
217d3242a8
Upgraded ratatui to 0.28.0
2024-09-09 17:12:43 -06:00
Dark-Alex-17
32a8a4de76
Implemented the final widget for confirmation prompts!
2024-02-14 14:13:00 -07:00
Dark-Alex-17
9bff58c20b
Refactored all popups to use centrally defined, consistent sizes.
2024-02-13 17:56:00 -07:00
Dark-Alex-17
51b789fd0f
Refactored tables and loading blocks to use the new dedicated widgets for Tables and Loading blocks
2024-02-10 19:23:19 -07:00
Dark-Alex-17
9b0c272e76
Completed the refactor and upgrade to Ratatui v0.26. Next up: Refactoring all of the "draw_" functions into custom widgets for more ergonomic and extensible DevX
2024-02-08 13:58:45 -07:00
Dark-Alex-17
c6f51ab9b6
Upgraded to Ratatui 0.26 and did a partial refactor to clean up the UI module. Created the ManagarrStyle trait to make it cleaner to use consistent styles across the project. Still need to update the layouts to be consistent with the newer and nicer format. That's a tomorrow problem
2024-02-07 17:33:17 -07:00
Dark-Alex-17
76e21e7697
Added 'Test All Indexers' table and functionality to the Indexers tab, and upgraded to Ratatui 0.24.0 and cleaned up code for newer Ratatui version
2023-11-25 17:36:30 -07:00
Dark-Alex-17
2b15afcb83
Added support for editing all indexer settings (finally)!
2023-09-08 16:06:20 -06:00
Dark-Alex-17
b16a58deae
Updated Ratatui, created custom deserialization logic for i64s to make life easier, and used string interpolation where possible to reduce the lines needed to write log messages or create formatted text
2023-09-07 17:20:38 -06:00
Dark-Alex-17
907fa9a2ec
Refactored unnecessary data fields into Options to make the code cleaner, and to reduce the memory usage of the application
2023-08-14 13:02:50 -06:00
Dark-Alex-17
56fe4400cc
Fixed another subtle bug with scrolling movie titles when showing the delete movie popup
2023-08-08 10:50:07 -06:00
Dark-Alex-17
2d624e2648
Refactored the Edit/Add modals into their own structs so that adding similar modals in the future is more consistent, uses less RAM (since it's wrapped in an Option now), and is easier to implement. This comes with an initial example of the IndexerSettings UI that needs its own modal now. The modal has been created but it is still not used just yet so that's the next step.
2023-08-08 10:50:07 -06:00
Dark-Alex-17
618ba09b02
Refactored the RadarrData and ActiveRadarrBlock structs into their own file in models/servarr_data to make things neater and cleaner and easier to build on
2023-08-08 10:50:07 -06:00
Dark-Alex-17
cf11527fef
Refactored the UI module and the handlers module to do a more chain-of-responsibility method to manage the UI's and handlers for different key events. Also, initial work for indexer settings as well
2023-08-08 10:50:07 -06:00