Commit Graph
7 Commits
Author SHA1 Message Date
NeilClack 0ebc3adf4a Proclamations change colors! 2026-05-31 12:08:19 -05:00
NeilClack 1f9da7ee78 Attempt to fix proclamation sync
internal/sync/sync.go: Return proclamations after updating.
internal/page/proclamationOptions: Handle sync return value and fallback to db if empty
2026-05-11 12:55:16 -05:00
NeilClack 3cf3e4cf23 Fix database syncronization
When connecting to the internet for the first time, the proclamations table is empty.
If the user navigates to Settings -> Proclamations, then the sync.SyncProclamations
function is called. After this function returns, the ProclamationOptions screen
queries the database for proclamations which returns an empty list. Even though
the database was updated, the ProclamationOptions screen's instance of the database
connection was returning empty.
2026-05-06 10:16:19 -05:00
NeilClack 504095caa8 Sync instead of download.
Updated Sync functions to perform proper synchronizations instead of pure downloads.
This means that if something is deleted on the server, it will be deleted on the client as well, instead of just left hanging.
The SyncProclamations function was also updated to perform this way, but while retaining the user's saved list.
2026-04-23 17:29:21 -05:00
NeilClack b6bf0f1873 Sync proclamations when entering proclamation list 2026-04-23 17:29:20 -05:00
NeilClack 7339a30cca Fix update to omit "selected" field. 2026-03-27 19:12:40 -05:00
NeilClack 8d23841391 Pull Proclamations & Categories from API and store them in the database 2026-03-23 17:35:52 -05:00