- Revamped the flags ui to be consistent with the rest
- The expand setting is on by default now. Tweaks to its dialog and
header
- Added a new kiosk mode that will use the entire screen for the
workbench
- Got rid of the auto-hiding behaviour of the header which gets annoying
quick
This will break the org build, but we need to rip out sanity anyway so
I don't think it's worth obsessing over it now.
I've essentially changes the default layout and added a new navigation
component.
Prior to this commit we'd generate a page for each MDX document as that
avoids having to load MDX dynamically (which can be tricky) or through
static props (which causes issues with serialization).
However, Vercel (which hosts for us) has an upper limit on the number of
routes, and because of this extensive documentation, we blew passed it
with this approach.
This changes to a dynamic resolution of MDX content with an async import
in the useEffect hook. This should drastically reduce the number of
routes and make Vercel happy.
I didn't do much digging into the effects of this on SSR. If it turns
out it's causes issues, we'll deal with it at that time.
This removes the useApp hook from all org pages in favor of various
context. This means there is no longer global state that gets passed
around, instead each component that requires access to something shared
(like account, or navigation) can just use the context instead.
This is a first step, as a lot of shared components stil rely on app not
to mention the dev and lab sites.