Commit graph

5 commits

Author SHA1 Message Date
32d68691a1
feat: added relations, added window uis to edit them all 2022-11-03 02:07:21 +01:00
76772465a3
feat: floating windows to edit stuff
allow editing models via floating windows. Also added weird buttons to
create new models. Still need to do relations!
2022-11-02 03:18:23 +01:00
adf2812dfc
fix: postgres issues
ids are i64, converted to bigints. color should be stored as signed.
This makes migrating from SQLite to postgres kind of painful, but
doable.
2022-11-01 18:12:32 +01:00
bc94398e49
chore: boilerplate over async stuff 2022-11-01 04:32:46 +01:00
cbca9f99b3
feat!: async refactor
this mostly has the objective of splitting fetching and visualizing, to
be able to daemonize the fetching. I swapped out ureq for reqwest,
brought in clap, removed rusqlite for full fledged sea_orm, added
tokio. Created migrations in sea_orm to reflect current db schema. Moved
data structures defititions out of app, and slimmed down gui code.
Entities collections are mostly managed by background workers and made
available with watch-channels to the main thread, which can always
nonblockingly access data. This is cool but still has some sharp
corners. Now plots don't refresh live but at specific interval. I plan
to add synchronization channels later on tho.
2022-10-31 02:54:42 +01:00