DEV Community

Cover image for Kagelin v1.50 to v1.51: a matte UI pass, zero-dependency
Achyuth S
Achyuth S

Posted on Edited on AI-assisted

Kagelin v1.50 to v1.51: a matte UI pass, zero-dependency

This post is late. I shipped v1.50.0 on November 3rd, v1.51.0 on November 12th, then took a week off, so here is the changelog for both releases plus the v1.51.1 patch, in one go.

Kagelin is a local-first task, habit, and calendar app built on Next.js 16 (App Router) with Supabase for cloud sync. Two releases is a lot of surface area, so I've grouped it by theme rather than by commit order.

v1.50.0 - the shape of the app changed

Habits became a timeline instead of a list of rows

The compact habit view used to be rows of disconnected checkmarks. It's now a synchronized 7-day matrix: a docked identity column with the habit name, streak, and target, a sticky day-offset header, and 24×24 squircle cells with 4px gaps. Single tap logs, double tap opens detail. The whole grid scrolls horizontally under the sticky header so the day you're looking at never drifts out of alignment with the habit it belongs to.

Habit compact view desktop

The task editor stopped reserving empty space

Previously the desktop task view permanently reserved ~40% of the width for an inspector that was empty most of the time. Now the list gets the full width until you open something, and the inspector slides in at ≥1280px with the same easing as the cards.

Board view takes a different approach: the inspector opens as an unblurred 440px drawer over the right edge, so the columns stay readable underneath. Click the canvas or hit Escape to dismiss.

Task board view desktop

That refactor also pulled the form logic out of the components into a headless useTaskEditor controller and a unified useTaskDnd, which is what made deep links (?task=<id>) and unsaved-draft preservation possible across guests and signed-in users.

Settings got a third column

Settings is now a desktop 3-column layout: navigation rail, section list, and content with a contextual rail for signals and shortcuts on the right, and a collapsible accordion on mobile. Tabs were rebuilt around one component with card/brand variants and three height tiers, so every tab strip in the app finally matches.

New Settings page UI

Sentry and Upstash left the building

This was the biggest non-visual change. I removed @sentry/nextjs (about 50KB of bundle and a third-party egress path I didn't need) and replaced it with a client-only diagnostic logger: a 30-record IndexedDB ring buffer, exceptions scrubbed of personal content before they're stored.

Rate limiting got the same treatment. @upstash/redis and @upstash/ratelimit are gone; there's now an in-memory sliding-window limiter with idle bucket pruning. No cloud credentials, no extra network hop, and it's honest about what it is — per-instance, not global.

The user-facing result is the diagnostic report modal, which packages app version, storage quota, service worker status, sync health, and the scrubbed error log into something you can paste into a GitHub issue.

Inbuilt Diagnostic report modal

One more infra cleanup: a scheduled pg_cron job now prunes pg_net HTTP response logs, which had quietly grown to ~160MB on the Supabase free tier.

v1.51.0 - fewer boxes, more continuity

Folio continuous cards

Task cards used to visibly break apart when you expanded subtasks: the parent had a project accent stripe, the children had nothing. The stripe now runs continuously through the expanded checklist, and priorities are rendered as a 4-bar ascending SVG glyph instead of a text badge, which reads much faster in dense lists.

The property strip under a task was also rebalanced into two rows — dates on top, priority and recurrence below — so it no longer wraps into a ragged jumble at narrow widths.

Every entity form now uses the same shell

Task, habit, event, and project forms share one architecture with a layout: "sheet" | "panel" switch: the same monospace TASK-XXXX / HABIT-XXXX badges, the same SlidersHorizontal property anchor, the same icon-only footer split into lifecycle actions on the left and submit on the right.

Task notes also stopped opening a fullscreen rich-text modal. They're a native auto-expanding <textarea> with field-sizing-content, inline in the form.

Height animations became CSS grid animations

Framer Motion height animations were causing layout shifts during drag-and-drop and list expansion. The replacement is a small CollapsibleReveal component that animates grid-template-rows: 0fr → 1fr on the GPU, now used for event reminders, task priority/recurrence pickers, and habit frequency settings. The motion runtime also moved to <LazyMotion strict> with lazily loaded domMax, and animated numbers now use NumberFlow — which incidentally fixed a countdown bug where the tens digit of seconds sat in the wrong slot and a leading zero appeared on single-digit values.

Stats turned into a 24-hour runway

The time-of-day heatmap is now a calibrated 24-hour grid that sizes itself to the viewport and auto-scrolls to your active hours on mobile, instead of making you swipe from midnight.

New Stats page UI

The trend chart got adaptive bucketing: raw daily points over 7 and 30 days, weekly buckets over 90 days, monthly over a year and beyond. Long horizons used to look like noise because they were sub-pixel daily points.

Habit insights grew up

Each habit now has an identity header — icon avatar, frequency badge, brand accent line and a four-card overview that adapts to the habit type: Score, Current Streak, Best Streak, Total Completions for boolean habits; Score, Target Met Rate, 30-Day Average, Total Volume for measurable ones.

Habit Insights view

The score chart supports touch and mouse scrubbing with haptic ticks and a live date/score readout, and the history calendar is explicit that past days are editable, "Tap any date to record or update past entries" — rather than leaving you to guess whether backfilling works.

Mobile safety and touch work

Confirmation dialogs landed where destructive mistakes were one stray tap away: stopping a focus session early, disconnecting a calendar, discarding an unsaved event edit, resetting backup data. Task swipe physics got calibrated activation thresholds and elastic resistance, habit rows hit 44px targets, and drawers no longer pop the virtual keyboard open on mount. Grouped task lists also virtualize above 50 items while keeping sticky headers and drag-and-drop indexing intact.

Task List view Mobile

v1.51.1 - the patch

Small release, one item worth explaining.

  • The floating focus timer now dismisses when the session is stopped, and can be closed manually.
  • Number-flow animations stop burning frames on mobile and in background tabs.
  • Removed a duplicate priority glyph that slipped into list cards.
  • Hardened function grants. Supabase grants public functions to anon and authenticated by default. This patch revokes those defaults globally, re-grants EXECUTE only where a client-facing RPC or a SECURITY INVOKER trigger helper actually needs it, and documents the convention so it doesn't regress. If you use Supabase RPCs, check your grants — the default is wider than most people assume. [This vulnerability was found by guardlayer.io]

Join the waitlist at kagelin.app
Or use it now with zero sign up at app.kagelin.app
Repo at Achyuth072/kagelin [AGPLv3]

What's next

The migration work is nearly done: Microsoft To Do, Google Tasks, Todoist, and Loop Habit Tracker import paths are in the 1.52 previews, with TickTick as the last piece. After that, the focus shifts to first-run onboarding — convincing people their data can leave.

Both releases are on the main branch, and the diagnostic report is the fastest way to tell me if something's broken.

Top comments (2)

Collapse
 
userxnom profile image
Abdullah Naseer •

The dependency-removal work is the part I'd call out — dropping Sentry and Upstash in favour of a client-only diagnostics log and an in-memory sliding-window limiter is a real trade-off, honestly stated as per-instance rather than global, and it fits the local-first pitch instead of fighting it. The v1.51.1 grants hardening is the other detail worth more attention: Supabase granting EXECUTE to anon and authenticated by default catches a lot of people out, and documenting the convention so it doesn't regress is what makes a one-off fix stick. The diagnostic report modal that bundles version, storage quota, sync health and the scrubbed log into something pasteable into a GitHub issue is a nice touch — it turns a bug report from a guessing game into a checklist.

Collapse
 
oneakira profile image
Achyuth S •

Really appreciate the thoughtful feedback!