Skip to content

v1.1.0

Choose a tag to compare

@dominiksmolinski3 dominiksmolinski3 released this 19 Oct 19:29
· 202 commits to main since this release

The frontend is now TypeScript from the services layer to the entry points, server reads go through TanStack Query, and there is an Android app. The API and the database are unchanged (no backend source, no migrations), and nothing here is a breaking change.

Features

Android app

  • The web app, wrapped with Capacitor and bundled into a native shell that calls a deployed API. It is Android only and a debug build for now; a signed release build, push notifications and iOS are not done
  • The API origin is set at build time (VITE_API_ORIGIN), and a mobile build without one is refused. The deployment the app talks to must list https://localhost in SECURITY_CORS_ALLOWED_ORIGINS
  • Android backup is off, because both tokens live in the app's local storage

Fixes

  • Time spent in a column, in a task's history, is now formatted in the reader's own language

Behavior you may notice

  • Opening a page, a task panel or a search shows what it last read at once and refreshes behind it, instead of starting empty
  • Switching boards no longer leaves the previous board on screen while the new one loads
  • An error that was shown after a failed read goes away when a later read succeeds, instead of staying until a reload
  • A task that has no row is put in the first row on every read, not only the first
  • Opening the search panel runs its first search at once rather than after the typing delay

Architecture

  • TypeScript across the app: services, contexts, hooks, components and entry points, checked by tsc in CI. The services layer goes through a few typed request helpers, and the guard tests that read the sources were extended to read them
  • TanStack Query for the server reads a screen shows, except the two that are edit forms (the task panel's fields and a subtask's description). Board data, boards and invitations, the task panel, users, search, activity, devices and flow metrics are queries; the cache is per session and is emptied on sign-out, and live sync invalidates it instead of dispatching window events
  • Radix UI for dialogs: one modal primitive under the form, confirm and task-panel dialogs, with a focus trap, a name and scroll locking
  • React Hook Form on the sign-in screen
  • The largest components were split into small hooks and components, and shared pieces replace code that was written two or three times (outside-click handling, form tabs, the pending and error state of forms)

Operations

  • CI now builds the Android debug APK when the Android project or its dependencies change, and type-checks the frontend on every PR
  • Pushing a vX.Y.Z tag now gives the three images of that commit their version tag, after checking that the tag, the three version files and main agree
  • Dependabot watches the Android Gradle project and moves the @capacitor packages together
  • A transitive uuid with a published advisory is overridden to a fixed version
  • Terraform: an azurerm provider bump and no resource changes
  • Routine dependency bumps: Azure SDK BOM, azurerm, the Node image, the React and minor-and-patch npm groups, and the actions group

Images

ghcr.io/dominiksmolinski3/kanbanproject-app:1.1.0
ghcr.io/dominiksmolinski3/kanbanproject-web:1.1.0
ghcr.io/dominiksmolinski3/kanbanproject-grafana:1.1.0

All three carry the same tag and must be deployed together.

Full history: 55 commits since v1.0.0.