Commit graph

501 commits

Author SHA1 Message Date
4d8e2cf270 note the way 2026-04-07 11:40:52 -05:00
0e94874ca9 this may be the way.
By making the db functions take the vector of items in the model, we
can drain the model, pass an owned version of those items to the async
db function(adding, updating, deleting, etc) and then return an
updated list of the items back in the Result.

We should probably return a tuple with the original vector of items in
case the db function fails somehow.
2026-04-07 11:40:52 -05:00
45b4a27113 tried to reroute through runtime, but PoolConnections not clonable
Without being able to clone a PoolConnection, we can't pass the
connection back through the runtime. Maybe we could do it with an Arc?
But I'm really not sure.
2026-04-07 11:40:52 -05:00
64faaf0c1a trying to remodel the models...
This may not be possible since the models are owned by the
library. This means that in order to run the sql queries, you will
need to pass owned versions of the models to the task and therefore
clone the entire model perhaps. Not ideal....
2026-04-07 11:40:49 -05:00
8c59688e2f fixing lint issues and style issues 2026-04-07 11:40:43 -05:00
f3d0ec9aa2 a working build of the new update 2026-04-07 11:40:43 -05:00
ff2bfc4f86 getting closer 2026-04-07 11:40:43 -05:00
679a2cafa5 working on updating 2026-04-07 11:40:43 -05:00
2b87c4cad7 back to working
Some checks failed
/ clippy (push) Failing after 5m14s
/ test (push) Failing after 5m45s
2026-04-02 14:22:58 -05:00
0d20a1f1ff making some tweaks to the db pieces
Some checks failed
/ clippy (push) Failing after 5m3s
/ test (push) Failing after 6m24s
2026-04-02 12:58:11 -05:00
78edc2eae8 better tests for song_search
Some checks failed
/ clippy (push) Failing after 5m13s
/ test (push) Failing after 6m24s
2026-03-13 16:03:23 -05:00
4fce826893 tests are failing because hashmap is returned in different order 2026-03-10 16:39:09 -05:00
f9a473d5ac better test for updating song model 2026-03-10 14:59:42 -05:00
a14e0ff13f fixing some presentation/library bugs
Some checks failed
/ clippy (push) Failing after 5m10s
/ test (push) Failing after 5m39s
2026-03-06 16:52:04 -06:00
3ac38e4769 some ui tweaks 2026-03-06 12:05:24 -06:00
11fab45a30 fix splitting pdfs so they update in db 2026-03-06 11:55:33 -06:00
19fc673761 fixing eliding text panicing when using text that isn't UTF-8 2026-03-06 11:35:02 -06:00
67b2bf2478 adding genius lyrics searcher
Some checks failed
/ test (push) Waiting to run
/ clippy (push) Has been cancelled
2026-02-24 15:18:51 -06:00
cf691a2de2 split this into its own function
Some checks failed
/ clippy (push) Successful in 6m25s
/ test (push) Failing after 12m51s
2026-02-23 15:18:38 -06:00
57d0380ca3 converting OnlineSong to Song testing 2026-02-23 15:16:46 -06:00
c482436d05 cleanup: some refactoring in the file module 2026-02-23 15:16:25 -06:00
c30f077246 bugfix: fixing the loading not creating the handle to the TextSvg
Some checks failed
/ clippy (push) Failing after 4m49s
/ test (push) Failing after 5m21s
2026-02-23 12:12:45 -06:00
1b3e67ada1 testing: some other test data fixes
Some checks failed
/ clippy (push) Successful in 4m44s
/ test (push) Failing after 5m29s
2026-02-23 12:01:39 -06:00
24b444567a testing: fix the testing data to allow the fontdb to choose a font
Some checks failed
/ test (push) Waiting to run
/ clippy (push) Has been cancelled
2026-02-23 11:59:58 -06:00
df1e247576 testing: loading test is more robust around size
Some checks failed
/ test (push) Waiting to run
/ clippy (push) Has been cancelled
2026-02-23 11:57:46 -06:00
0710eb9609 bugfix: adding TextSvg to the saving and loading functions
Some checks failed
/ clippy (push) Failing after 4m59s
/ test (push) Failing after 5m29s
2026-02-23 10:01:34 -06:00
d7061508f5 getting closer to some tests that may help with proper loading 2026-02-20 22:55:44 -06:00
985710b7c5 bugs: loading is nearly working...
There is a bug with the slides not containing the text portions of the
songs. There is also perhaps a bug in the logic to move to the next
and previous slides
2026-02-18 13:35:46 -06:00
3685670ff7 bugfix: fixing scrolling issues with the verse editors
Some checks failed
/ clippy (push) Successful in 4m43s
/ test (push) Failing after 5m26s
2026-02-18 11:54:07 -06:00
3e9882ba75 adding a semi working load function with some testing 2026-02-18 11:45:49 -06:00
56d5e684b9 building a loading function
Some checks failed
/ clippy (push) Failing after 5m14s
/ test (push) Failing after 10m48s
2026-02-18 10:07:03 -06:00
bc0464ef03 trying to fix the scrolling in the verse editors
Some checks failed
/ clippy (push) Failing after 4m59s
/ test (push) Failing after 14m57s
2026-02-17 15:23:11 -06:00
a36af6bc3b fixing unused import 2026-02-17 15:07:55 -06:00
57e5177f8b fixing inconsistencies in the ui 2026-02-17 15:04:02 -06:00
c6ae2a0fbd updating db to allow for changing the style and weight of the font
Also, fixed a bug in showing the stroke and shadow size if set to 0
2026-02-17 14:22:34 -06:00
02773f068f lints: Fixed the rest of the lints and some bugs along the way 2026-02-17 11:18:21 -06:00
452f1fc0c7 fix imports format 2026-02-17 09:47:00 -06:00
2112eb1d19 more linties
All checks were successful
/ test (push) Successful in 5m50s
2026-02-17 09:46:20 -06:00
f8a72b1359 fix some more lints
All checks were successful
/ test (push) Successful in 5m27s
2026-02-16 15:19:12 -06:00
01bffe2014 allowing option_if_let_else and fixing a lot of them
All checks were successful
/ test (push) Successful in 5m58s
I was misunderstanding how to handle the references in these closure
contexts again. But now some of that code is a bit more idiomatic/readable
2026-02-16 15:07:20 -06:00
40ae229391 fix more broken tests
All checks were successful
/ test (push) Successful in 5m32s
2026-02-16 10:40:56 -06:00
475896f754 CI tests should skip some that are reliant on filesystem of user
Some checks failed
/ test (push) Failing after 6m2s
2026-02-16 10:25:03 -06:00
6aa6f94e05 fix failing test in CI
Some checks failed
/ test (push) Failing after 5m29s
2026-02-16 10:09:07 -06:00
d9de88bc99 bugfix: search input not updating to typing
Some checks failed
/ test (push) Failing after 5m35s
2026-02-16 06:34:55 -06:00
e792be5e4c mooooooor lints 2026-02-16 06:34:42 -06:00
1c8a0bf450 mor lint fixes
Some checks failed
/ test (push) Failing after 5m41s
2026-02-15 22:06:55 -06:00
2e8829027a clippy warnings down to 250 when using pedantic, nursery, and perf
Some checks failed
/ test (push) Failing after 12m50s
2026-02-15 14:44:25 -06:00
66cea56767 fixing song_editor not using real dropdown values and some lints
Some checks failed
/ test (push) Has been cancelled
2026-02-15 14:40:28 -06:00
8803976d2d removing these 2026-02-15 12:57:41 -06:00
81e2734e8a a lot more linting fixes 2026-02-15 12:57:26 -06:00