Commit Graph

52 Commits

Author SHA1 Message Date
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
3d249cc51c Upgraded to ratatui v0.25.0 2023-12-22 15:04:13 -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
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
268029bfe8 Fixed a few linting warnings 2023-08-16 11:32:29 -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
f7cb832095 Refactored the filter and search logic to follow the established modal logic and added some refactored functions to the UI module as well to clean up the UI code too 2023-08-10 16:43:57 -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
5602fc4341 Tweaked the key mappings so that it is now easier to change key mappings and update the corresponding UI elements as well 2023-08-08 10:50:07 -06:00
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
718613d59f Added typo checks and upgraded to the latest version of Ratatui 2023-08-08 10:50:07 -06:00
653c7274b0 Added a help block to the updates popup 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
9d943a266e Created the DrawUi trait and refactored the UI logic to delegate to different modules to draw parts of the UI to ensure future UI components follow a similar pattern and structure. Additionally, cleaned up the _BLOCKS constants in the Radarr module to be static instead of const's so that less data is copied around during compilation and the arrays all share the same memory reference. 2023-08-08 10:50:06 -06:00
4fb83c114a Cleaned up the block selection logic to use the new BlockSelectionState struct 2023-08-08 10:50:06 -06:00
f252fedeed Converted project to use the tui-rs-revival ratatui in favor of the likely soon-to-be-archived tui-rs repo. 2023-08-08 10:50:06 -06:00
435926f6f0 Added two new checkboxes to the delete movie UI that allows users to specify to delete the file and/or add an exclusion for the selected film on deletion. Also fixed the refresh bug in the root folders UI where you have to manually refresh to get the changes to show before 20 seconds. Also cleaned up code a bit and removed some unnecessary clone calls and references-dereferences since the types were copyable and not necessary to be referenced since they were all dereferenced anyway and copied. Made sense to just cut out the middleman on the copies. 2023-08-08 10:50:06 -06:00
a564710aee Added the ability to add and delete root folders, and added a body to the error message logs and dialog box if a body is returned from the Servarr 2023-08-08 10:50:06 -06:00
b9771ab108 Updated UI layout to have the Radarr logo on the right and shrunk the context row so the managarr UI looks better on 16:9 aspect ratio systems as well as 16:10 2023-08-08 10:50:06 -06:00
514fd2244a Added horizontal scrolling for long movie titles, a refresh key, and fixed the network issues so that network requests are sent once every 20 seconds by default to not stress out the server. 2023-08-08 10:50:06 -06:00
207b8a8c80 Mostly completed tags implementation; still need to add the UI option for the Add Movie popup, and I still need to fix the REALLY FAST horizontal scrolling issue (I'm thinking just %2 everything to slow it down). Oh, and also need to convert the quality profile Hashmap into a BiMap 2023-08-08 10:50:05 -06:00
f92042fb21 Added some better theming to the UI, enabled clippy to warn on 2018 idioms, and added human_panic hook to report bugs 2023-08-08 10:50:05 -06:00
652dc0f2c4 Completed edit movies implementation, cleaned up the Movies table, and fixed a bug when adding a movie from the CollectionDetails screen. 2023-08-08 10:50:05 -06:00
6866f90329 Added support for adding movies directly from the collection details UI, refactored to support contexts for different routes, and fixed the horizontal scrolling bug with the get_width_with_margin function. 2023-08-08 10:50:05 -06:00
dcc251ae01 Cleaned up active radarr block delegation to not have giant match arms and instead just check an array, and fixed a UI bug that shows an error message if a movie is already in a user's library. 2023-08-08 10:50:05 -06:00
0f9dc639a8 Cleaned up some code with some macros 2023-08-08 10:50:05 -06:00
6735849518 Fully functional manual searching capabilities and refresh capabilities for all movies, downloads, and collections 2023-08-08 10:50:05 -06:00
05b8f85dfb Updated UI to have contextual help with tables so the UI doesn't feel so crowded 2023-08-08 10:50:05 -06:00
1ad1b16668 Refresh, disk scan, and trigger auto-scan support and partial implementation for manual searches 2023-08-08 10:50:05 -06:00
8f6505bb1e Full support for adding movies with drop downs! 2023-08-08 10:50:04 -06:00
b748d27a06 Partial implementation for additional add-movie details. Need to implement selection menus now but that's it! 2023-08-08 10:50:04 -06:00
960319c3e7 Successful implementation of movie adding and deleting, and refactored network logic to be more reusable later 2023-08-08 10:50:04 -06:00
08cde20359 Mostly added Add movie functionality. Removed calendar functions for now. Want to add the ability to modify settings and quality profiles first 2023-08-08 10:50:04 -06:00
cd0cf2e04a Added delete movie functionality 2023-08-08 10:50:04 -06:00
ca86cad950 Fully added filtering and searching! 2023-08-08 10:50:04 -06:00
25730a3324 Partially working filtering logic 2023-08-08 10:50:04 -06:00
3f378fb25a Refactored things a bit and added help text support 2023-08-08 10:50:04 -06:00
43e35da49f Added horizontally scrollable text 2023-08-08 10:50:04 -06:00
44db47f8ee Added error windows with scrolling text, and a colorized Radarr logo. Also added header row with header tabs 2023-08-08 10:50:04 -06:00
daf08c10cc Added tabs and navigation for movie info 2023-08-08 10:50:04 -06:00
c16f234088 Implemented Library and Download tabs! 2023-08-08 10:50:04 -06:00
d856e84b93 Added downloads info box to context and increased network API refresh calls to every 15 seconds 2023-08-08 10:50:04 -06:00
ec980ea32c Full popup description functionality 2023-08-08 10:50:04 -06:00
b24e0cdccd Almost kinda functional description box 2023-08-08 10:50:04 -06:00
d39acb0683 Added better support for contexts now and improved base Radarr UI 2023-08-08 10:50:04 -06:00
9276fb474d Added 0 padding to uptime 2023-08-08 10:50:04 -06:00
1ebf481326 Initial Radarr ui! 2023-08-08 10:50:04 -06:00
3ae7e15961 Added uptime metrics for radarr 2023-08-08 10:50:04 -06:00