update todo

This commit is contained in:
Chris Cochrun 2024-10-09 13:39:40 -05:00
parent 362a31581d
commit ba51c56169
2 changed files with 20 additions and 8 deletions

View file

@ -44,6 +44,9 @@ I've got SlideType enums working
*** Move logic of changing slides to slide_model
Since the slide_object is merely supposed to be the view of the current slide, deciding which slide to switch to should be entirely on the slide_model, not the slide_object. This way slide_object doesn't need to know anything about the which slide is next and instead have a function to update everything to the slide returned from slide_model's new slide.
*** Move all big logic to library crate for using rust data types better
I've started to move all the real logic to a pure rust library that can be consumed and used by the cxx-qt rust parts in QML. This could also pave the way to using any other rust gui instead of QML in the future.
** TODO [#A] Consider converting diesel to raw sqlx instead
From what I can gather, sometimes an orm is just too hard to work around rather than doing raw sql queries. The only issue is that my queries have been rather small. I only really need to select everything into the app and then run it from there. However, it could still be a consideration as things age. Perhaps when there are hundreds or even thousands of items in the database, it'll be more effective to use something like SQLx.