Commit graph

1008 commits

Author SHA1 Message Date
Chris Cochrun
b0435e197c attempting to add wrapper move function
I believe this won't work, but it's an attempt
2023-09-18 15:44:41 -05:00
Chris Cochrun
42f65b5516 updating todo 2023-09-18 15:44:31 -05:00
Chris Cochrun
6eaa8ba938 update todo 2023-09-17 14:37:28 -05:00
Chris Cochrun
c57f9f8ac9 the moving of rows works but resets on move
This breaks fluid movements from QML with KirigamiDragHandles

We will need to adjust how this move works in QML or get the
begin_move_rows function to build. If it can build we can still use
the KirigamiDragHandles.
2023-09-17 14:35:37 -05:00
Chris Cochrun
fe25209758 saving works 2023-09-15 17:30:20 -05:00
Chris Cochrun
3a37118aae save properly creates temp dir with all files
All the audio and bg files are created fine. The servicelist is saved
as a json file. Now I just need to compress it and put it into a tar file.
2023-09-15 06:33:53 -05:00
Chris Cochrun
14cac2d13f almost done with saving 2023-09-14 15:28:46 -05:00
Chris Cochrun
0d480cbea6 adding some error handling 2023-09-14 12:25:44 -05:00
Chris Cochrun
48956b52ab creating a temp dir for saving the files. 2023-09-14 09:41:48 -05:00
Chris Cochrun
93933ff00b adding fastrand 2023-09-14 09:41:38 -05:00
Chris Cochrun
f2f2ab27b9 fixing more inserting pieces 2023-09-13 14:58:53 -05:00
Chris Cochrun
4499d1a957 making sure sql models are in lumina folder 2023-09-13 14:58:13 -05:00
Chris Cochrun
d65243a106 formatting slide and fixing inserting slides 2023-09-13 14:05:48 -05:00
Chris Cochrun
064210dec3 again idiot 2023-09-13 14:02:32 -05:00
Chris Cochrun
755ff055d0 I'm an idiot 2023-09-13 14:00:11 -05:00
Chris Cochrun
d46eed567e fix typo 2023-09-13 13:58:29 -05:00
Chris Cochrun
c58ca7e59f adding insert item signal 2023-09-13 13:56:42 -05:00
Chris Cochrun
8d547509af adding remove item signal 2023-09-13 13:52:58 -05:00
Chris Cochrun
00b2183750 add back deleting a single item 2023-09-13 13:39:53 -05:00
Chris Cochrun
66707858ca fixing possible missing looping in save file 2023-09-13 13:32:14 -05:00
Chris Cochrun
8031c32a18 adding the save function working and adding to service items better 2023-09-13 13:22:02 -05:00
Chris Cochrun
258949ae50 adding basic save function... unfinished 2023-09-13 09:50:09 -05:00
Chris Cochrun
1e1c3f6afe adding rustfmt for style 2023-09-12 06:40:28 -05:00
Chris Cochrun
3613586f63 style adjustments and adding the load function
Loading works. Needs some love for error handling and things but it works.
2023-09-12 06:39:52 -05:00
Chris Cochrun
daf8511081 move notification to after the change 2023-09-12 06:38:53 -05:00
Chris Cochrun
332069d2ca update todo 2023-09-12 06:38:44 -05:00
Chris Cochrun
a9ba09866d update todo, possibly change to sqlx instead of diesel
Diesel seems to add a lot of work to compile time, and ORMs are good,
but can become troublesome. We'll see if it's actually worth the
switch later though.
2023-09-08 14:57:48 -05:00
Chris Cochrun
743e345c0e updates to Nix Flake 2023-09-08 14:57:05 -05:00
Chris Cochrun
5d2f993d7e added the loading function. 2023-09-08 14:56:54 -05:00
Chris Cochrun
8619902644 using the C++ proxy function to get item from Rust Model
QMAP_QSTRING_QVARIANT doesn't automatically convert to a QVariantMap
in QML. So we have to run it through C++ to make things work right.
2023-09-08 14:55:48 -05:00
Chris Cochrun
31aec1ca47 fixing slide model to look for correct type
In Rust you can't use type as a property name in a struct. This means
we have to use ty.
2023-09-08 14:54:51 -05:00
Chris Cochrun
ec6119eb57 fixing settings to point to the correct config file 2023-09-08 14:54:31 -05:00
Chris Cochrun
e5a7360f0b added a way to get the item through C++ from the rust model 2023-09-08 14:54:00 -05:00
Chris Cochrun
bc3024434e adding some loading mechanics 2023-08-25 12:07:40 -05:00
Chris Cochrun
bfa3f7280c changing name everywhere to lumina 2023-08-25 12:07:28 -05:00
Chris Cochrun
a70acbdeea changing title to Lumina 2023-08-13 15:07:03 -05:00
Chris Cochrun
d61da6f09f some initial setup to get the service_item_model.rs working 2023-08-12 14:07:13 -05:00
Chris Cochrun
2df4c646a7 adding small details to plan 2023-08-11 07:35:58 -05:00
Chris Cochrun
559f479a90 updates to TODO.org
There is a lot to be done so I've recorded some thoughts in here and I
still need to do some testing on the DB creation to make sure it's
fully finished
2023-08-11 07:30:11 -05:00
Chris Cochrun
ffb4da1432 fixing html visibility in live mode 2023-08-07 07:33:41 -05:00
Chris Cochrun
e80f0216ae tweaks to allow better html presentations 2023-08-07 07:21:18 -05:00
Chris Cochrun
50a8b618ad update to guix.scm 2023-08-06 13:10:24 -05:00
Chris Cochrun
d16550b980 making htmlVisible work in PresWindow 2023-08-06 13:10:24 -05:00
Chris Cochrun
61439d65b3 Migrations work
This code actually enables migrations by running migrations on
initialization before any other code runs.
2023-08-05 14:52:56 -05:00
Chris Cochrun
f7f81e0bda fixing initial migration 2023-08-05 14:52:41 -05:00
Chris Cochrun
cae6cabaa2 updating cargo.lock and adding diesel_migrations 2023-08-05 14:52:07 -05:00
Chris Cochrun
9d7d24168d adding a better picture of diesel migrations 2023-08-04 14:44:26 -05:00
Chris Cochrun
2ccc98a954 adding sonnet to dependencies 2023-07-11 22:31:00 -05:00
Chris Cochrun
3f00cf7abd removing things and moving back to nix 2023-07-08 21:45:01 -05:00
Chris Cochrun
434f3f1776 IDK! 2023-07-05 09:33:12 -05:00