Commit Graph
22 Commits
Author SHA1 Message Date
NeilClack 2735af5fbb refactor: remove cached AppConfig pointer and read configuration directly from DB
Replace in-memory atomic AppConfig caching with direct DB queries via db.GetConfig
across application and page layers. This simplifies state management and ensures
all components always operate on the latest persisted configuration.

Key changes:
- Remove Application.Config atomic cache and refreshCache mechanism
- Eliminate PageCtx.CfgPtr and pass DB handle instead
- Replace all cfg reads with db.GetConfig(app.DB)
- Update mixer, audio, UI pages, and initialization paths accordingly
- Explicitly set AppConfig table name to avoid GORM pluralization issues
- Reduce DB connection pooling (SetMaxIdleConns(1))
- Standardize application font to SpaceMonoNerdFont-Regular
- Lower default audio volume (1.0 → 0.2)
- Add Unicode checkmark glyph to font map

Behavioral impact:
- Configuration is no longer cached in memory
- Every config access now hits the DB (more consistent, slightly more overhead)
2026-06-26 22:51:32 -05:00
NeilClack f7b793d88a Remove unnecessary log 2026-06-26 18:07:03 -05:00
NeilClack b018a79ecf Create a fallback for wen no audio is selected 2026-06-24 14:22:48 -05:00
NeilClack 5bd2b75267 Auto play audio based on solfeggio frequencies 2026-06-19 00:11:48 -05:00
NeilClack b11afe22f0 remove file downloads 2026-06-18 15:49:29 -05:00
NeilClack fe5543d50d Audio downloads when necessary 2026-06-18 11:29:45 -05:00
NeilClack d121ffdaa8 Ready to implement a loading bar 2026-06-18 08:11:33 -05:00
NeilClack 74874f97c5 audio selection works 2026-06-17 00:46:56 -05:00
NeilClack 0ebc3adf4a Proclamations change colors! 2026-05-31 12:08:19 -05:00
NeilClack f4a205c472 Switch logs to Debug and remove SwitchDevice 2026-04-24 18:20:52 -05:00
NeilClack b30489ad0f Increment version for testing purposes 2026-04-24 18:00:35 -05:00
NeilClack 7f344ae5c8 Optimize proclamation loading 2026-04-24 11:06:50 -05:00
NeilClack cfd67f3545 Optimize word collection loop 2026-04-23 17:30:33 -05:00
NeilClack dd069e9345 WIP: Stagger proclamations
Proclamations are now inserted 10 times, and in between each proclamation, the Universal Wellness proclamation is inserted.
Now I need to optimize the loop & remove the Universal Wellbeing option from the Proclamations menu (hide it) because it's always enabled.
2026-04-23 17:30:33 -05:00
NeilClack 05a7098886 Remove devices list and device vector length check 2026-04-23 17:26:22 -05:00
NeilClack 205b068fbf Fix audio bug 2026-03-25 17:17:22 -05:00
NeilClack 8763f70452 Fix no-start issue 2026-03-25 15:13:35 -05:00
NeilClack 57691e6b68 Fix font scaling issue 2026-03-25 13:53:05 -05:00
NeilClack 678d679b53 Fix bug loading 0 proclamations 2026-03-25 11:27:16 -05:00
NeilClack 9b6bae9511 List proclamations inside of categories
F2 also redirects when no proclamations are selected (the default)
2026-03-24 11:19:50 -05:00
NeilClack 17c088cc2f Update Database
Database is more usable now.
All pages have been updated to use the database, and share an application configuration.
Page Stack has been removed, no more pages hanging around in memory. Replaced with a 'Router' which uses an Enum to determine which page should be displayed, destroys the old page and initializes the new page all in one go. No more push, pop, rollback, etc. No more holding instances of pages.
Logger has been updated with proper timestamps and sorting now works as expected."
2026-03-23 15:02:07 -05:00
NeilClack 403ec4db89 Initial release: RadiantWave v1.0 2026-03-12 08:05:10 -05:00