omnidiag / frontend /src /context

Commit History

fix(auth): correctly check role name in isAdmin — roles from /auth/me are objects not strings
430b949

yahyoha Claude Sonnet 4.6 commited on

fix(frontend): flatten disease info + add loading state to dashboard
b9d39d4

yahyoha Claude Sonnet 4.6 commited on

fix(auth): use absolute API_BASE URLs for auth and admin endpoints
5c11c77

yahyoha Claude Sonnet 4.6 commited on

fix(auth): wire api.setToken() on login, logout, and page reload
910a1cc

yahyoha Claude Sonnet 4.6 commited on

feat(dark-mode): add ThemeContext with OS preference detection and persistence
9d49663

yahyoha Claude Sonnet 4.6 commited on

feat(auth): add AuthContext with JWT login/logout and role detection
640ccf9

yahyoha Claude Sonnet 4.6 commited on

refactor(frontend): update components, hooks, utils for v2 platform
93a6b8c

yahyoha Claude Sonnet 4.6 commited on

feat(context): add DiseaseProvider with schema pre-fetching and disease hooks
2a6dc9a

yahyoha commited on