Skip to content

0.46.0

Choose a tag to compare

@timmo001 timmo001 released this 15 Nov 16:37
670a90a

Installable web apps get the rest of their pieces, buttons can show how their action went, and theme pickers put the app's own theme first.

  • pwa: watchVersion in ./update keeps a page on the server's release: on a 426 it takes the new build and reloads. ./server adds versionGuard (Effect HTTP middleware) and refuseOtherVersion (for fetch servers) to turn away calls from an old page, plus fileOptions, fileResponse and isPwaFile for serving the built files with the right caching. isHashed comes from the root export, ./build adds buildPwa, addHeadTags, pwaDefine and findShell, and ./vite adds a pwa() plugin for apps built with Vite, which is an optional peer. serveShell has better defaults. The PWA page covers each.
  • ui: gw-install-banner offers to install a web app, with Install and Not now, and stays closed once it's turned down. gw-action-button runs an action and shows how it went where it was pressed: a ring while it runs, then a check and its done label, or why it failed. The Feedback and Actions pages show them.
  • tokens: every theme has chart roles, chart-1 to chart-6 (--gw-color-chart-1 and on), for a chart's series. themeChoices(own?) builds a picker's list: the app's own theme first with no heading, the other core themes under Groundwork, then the optional ones by family.
  • docs-kit: the theme picker shows a choice with an empty family with no heading, so a site's own theme can sit at the top.
  • report: the theme picker puts the report's own theme first with no heading.
  • tui: released at the same version, with no changes.
  • mobile: released at the same version, with no changes.
  • desktop: released at the same version, with no changes.