Commit Graph

76 Commits

Author SHA1 Message Date
6cd24be5e4 Added sorting to the main library table 2024-02-13 23:00:35 -07:00
6ba78cb4ba Refactored table sorting into the ManagarrTable widget and StatefulTable so any and all tables created can support sorting with minimal UI changes and thus only need to focus on the handlers. I'm going to continue this effort tomorrow and look at what other widgets can be created to simplify things. Most likely, prompt boxes. 2024-02-12 19:15:02 -07:00
adda82f7f3 Refactored table filtering and searching so that they are now relative to the table being filtered/searched on. Also created two new widgets for error messages and popups to make life easier moving forward. Going to refactor table sorting into StatefulTable's as well so all tables can be searched, filtered, and sorted moving forwards. 2024-02-11 19:02:18 -07:00
2ec4472efc Added the ability to edit existing indexers with basic options, added a tags column to the indexers table, and fixed a bug in the counter fields that displayed the cursor next to the integer instead of on it to make understanding the counter easier. Also upgraded to confy v0.60.0 and rust version to 1.75 2024-01-19 15:45:41 -07:00
9123067651 Fixed a race condition bug with the MovieDetailsModal 2023-11-25 17:50:23 -07:00
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
d0ce98eb93 Fixed race condition bug in loading movie history when user has not yet fetched the movie details 2023-11-25 12:40:07 -07:00
2b15afcb83 Added support for editing all indexer settings (finally)! 2023-09-08 16:06:20 -06:00
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
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
23ad489b15 Updated the logs query to fetch 500 log lines instead of just 100 for more useful logging information 2023-08-12 13:04:18 -06:00
ec9d23ede7 Refactored the movie_details_popup data into the MovieDetailsModal so things are neater and to follow the same format I've already established for other modals 2023-08-11 16:37:21 -06:00
e9b6ff0ca1 Fixed a subtle bug when downloading movies where the movie_id needs to be specified in the POST to the releases endpoint 2023-08-08 10:50:07 -06:00
77fd9e621f Did a lot of things in this one: Cleaned up a bit of leftover unused code from yesterday; deprecated the use of drain() on HorizontallyScrollableText; Refactored the uses of search and filter to be wrapped in Options; Fixed a race condition when closing the Add Movie modals in rapid succession; upgraded to ratatui 0.22.0; Fixed a bug in attempting to close an empty root folder; fixed a bug in attempting to close an empty filter; fixed a bug in attempting to close an empty search; fixed a bug in attempting to close an empty filter without resetting the view; fixed a bug in attempting to delete a movie after dynamically added one and updating the main library table 2023-08-08 10:50:07 -06:00
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
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
a8f6a5398b Fixed long-running requests to be cancelled when users try to change tabs or contexts. 2023-08-08 10:50:07 -06:00
e253ca8359 Did some cleanup 2023-08-08 10:50:07 -06:00
2b9ddd0d1e Added network support for updating all indexer settings, editing specific indexer settings, deleting an indexer; Also added keybindings for all of the above that change the current route. Added full support for deleting an indexer; still need to add an indexer_handler to handle the add, edit, and settings functionalities 2023-08-08 10:50:07 -06:00
52f22312f3 Added field_type to Radarr events to dynamically display fields at runtime. Also updated the keybinding for events in the systems tab to reuse the 'e' key. 2023-08-08 10:50:07 -06:00
72194fe668 Implemented the ability to view indexers 2023-08-08 10:50:07 -06:00
bb7fd6a873 Fixed typo in pageSize in the logs network test 2023-08-08 10:50:07 -06:00
0c7fc88e22 Added the ability to view Radarr updates and remapped the events queue key to 'z' 2023-08-08 10:50:07 -06:00
b2e475200c Implemented full system browsing support with logs, events, and tasks. 2023-08-08 10:50:06 -06:00
460efb2497 Completed initial implementation of logs, events, and tasks 2023-08-08 10:50:06 -06:00
519778c0ca Partial implementation of Tasks and Logs and test refactor 2023-08-08 10:50:06 -06:00