All Projects

Task Manager App

Live Demo
Role
Full-Stack Architecture, Firebase Sync & Workspace UX
Read
3 min read
Table of Contents
  1. Project Overview
  2. Problem Statement
  3. Solution Architecture
  4. Technical Deep Dives
    1. Firebase Auth, Cloud Firestore REST Client & Hardened Rules
    2. 4 Interactive Views, Multi-Board Workspaces & Smart Syntax
    3. 60fps 2D Canvas Engine, Focus Timer & Team Audit Log
  5. Algorithm & Benchmarks
  6. Architecture Trade-Offs
  7. Project Results

Project Overview

A minimalist, Linear-inspired full-stack Kanban and workspace management application built with React 18, Vite 5, Tailwind CSS, Firebase Authentication, and Cloud Firestore. It combines a translucent liquid-glass 60fps 2D canvas login screen, multi-board workspaces, four interactive views (Board, List, Calendar, Analytics), natural-language smart task syntax, a Spotlight Command Palette, a 25-minute Pomodoro Focus Timer, and real-time multi-tab + cloud synchronization.

Problem Statement

Traditional Kanban tools often force heavy SDK bundles, sluggish reloads, or single-view rigidity that breaks down once teams juggle multiple boards, due-date schedules, and analytics. Delivering a fast, Linear-caliber workspace requires instant optimistic interactions, isolated guest previewing, strict multi-tenant security rules, and seamless cross-tab plus cloud state sync.

Solution Architecture

AppContext orchestrates multi-board workspace state, undo history, and BroadcastChannel multi-tab sync locally, while a zero-bloat Firebase Identity Toolkit & Cloud Firestore REST v1 client handles authenticated cloud persistence, automatic ID token refresh, and shared Workspace Sync IDs.

Live architecture & logic flow
Service Data store External
actions & shortcuts ID tokens workspace sync React 18 4-View Workspace AppContext & Smart Parser Firebase Auth REST v1 Cloud Firestore & Rules
Click or focus any node to inspect architectural details.

Technical Deep Dives

Firebase Auth, Cloud Firestore REST Client & Hardened Rules

  • Built a lightweight Firebase Identity Toolkit and Cloud Firestore REST v1 client (src/lib/firebase.js) with automatic ID token refresh, per-user scoped persistence (taskflow_v4_{uid}), and shared team Workspace Sync IDs.
  • Authored production firestore.rules enforcing authentication, strict hasOnly schema validation, field size bounds, immutable uid/ownerId ownership, and workspace access checks.
  • Paired cloud persistence with BroadcastChannel multi-tab sync and an isolated in-memory Guest Preview mode that never overwrites signed-in user data.

4 Interactive Views, Multi-Board Workspaces & Smart Syntax

  • Supports instant keyboard-driven switching (V) across Board (drag-and-drop columns with custom colors, inline rename, and sorting), List (sortable table), Calendar (monthly due-date grid), and Analytics (KPI & workload charts).
  • Implemented a natural-language task parser (smartParser.js) that extracts !urgent/!high priorities, #tags, and @today/@tomorrow/@YYYY-MM-DD due dates directly from quick-add inputs and the Ctrl/Cmd + K Spotlight Command Palette.

60fps 2D Canvas Engine, Focus Timer & Team Audit Log

  • Engineered a full-screen 60fps HTML5 2D <canvas> aurora flow field with parallax tiles and click shockwave ripples behind a frosted liquid-glass login card, plus a 2D canvas confetti burst on task completion.
  • Added a docked 25-minute Pomodoro Focus Timer, card-face interactive subtasks, timestamped discussion comments, 1-click Undo toasts, CSV/JSON workspace export, and a persistent Team Activity Audit Log.

Algorithm & Complexity Benchmarks

Smart Syntax Token Parsing

vs multi-field modal forms
Time: O(N) Space: O(N)

Single-pass regex extraction of priority, tags, and dates in <1ms per keystroke.

Multi-Tab BroadcastChannel Sync

vs polling localStorage
Time: O(1) Space: O(S)

Propagates board updates across open browser tabs instantaneously without network round-trips.

Architecture Trade-Offs

Firebase Integration Footprint

Chosen: Direct Firebase Auth & Firestore REST v1 Client Over: Full Modular Firebase JS SDK Bundle

Keeps the Vite production bundle lean while retaining full token refresh, password reset emails, and hardened Cloud Firestore persistence.

Guest Onboarding Experience

Chosen: Isolated In-Memory Guest Preview Session Over: Mandatory Sign-Up Wall

Lets visitors immediately test all 4 views, drag-and-drop, and smart syntax without risking leakage into or overwriting authenticated user workspaces.

Project Results

4-in-1 Workspace

Unified Kanban Board, sortable List, monthly Calendar, and Analytics KPIs under a single keyboard-first Linear aesthetic.

Hardened Cloud Sync

Secured per-user and shared workspace documents with production Firestore security rules and instant BroadcastChannel multi-tab sync.

60fps Visual Polish

Liquid-glass login canvas and task completion confetti run smoothly at 60fps with zero third-party graphics libraries.

Keyboard Shortcuts

Global Navigation

  • Open Command Palette Cmd / CtrlK
  • Toggle Bruce's AI Assistant Shell ~or`
  • Show keyboard shortcuts ?
  • Close active modal or dialog Esc

Case Studies & Diagrams

  • Jump to next article section J
  • Jump to previous article section K
  • Inspect focused architecture node Enter / Space

Interactive Shell

  • Autocomplete commands, routes, & slugs Tab
  • Cycle command history ↑↓