forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on dcf123a8823bd55f0a656ce94de6b865f41dc08aFiltered to src/components/layout/module-gate.tsxClear filter

2026-09-15

fix: 🧩 handle switched-off school modules without blank screens - client tags 403 {error, module} as a module refusal and notifies the modules context, which refetches so nav and gates catch up mid-session; the list is also re-read when a tab comes back after a minute - ModuleGate shows a switched-off card for pages of an off module (routeModule maps paths to modules) instead of a page that can only 403 - homepage and shell feed skip off modules and wait for the module list; refusals read as no data, off-module tiles and panels are left out - class nav entries now carry the classes moduleBurak Boduroğlu · be0d677
fix: 🧩 handle switched-off school modules without blank screens
- client tags 403 {error, module} as a module refusal and notifies the
  modules context, which refetches so nav and gates catch up mid-session;
  the list is also re-read when a tab comes back after a minute
- ModuleGate shows a switched-off card for pages of an off module
  (routeModule maps paths to modules) instead of a page that can only 403
- homepage and shell feed skip off modules and wait for the module list;
  refusals read as no data, off-module tiles and panels are left out
- class nav entries now carry the classes module