dayboard

BRIEF — “Dayboard” New-Tab Browser Extension

Working name: Dayboard (placeholder — rename freely; keep the name in one constant/config so it’s a one-line change). Owner: Maurice Price / IWC Digital Goal: A personal, privacy-first replacement for the Momentum browser extension — a calm, beautiful new-tab dashboard for desktop browsers, with no account, no tracking and no paywall.


1. Objective

Build a browser extension that replaces the browser’s New Tab page with a full-screen personal dashboard: background photo, large clock, greeting, a daily focus, to-dos, a quote, weather, search and quick links.

It must:

Out of scope for v1: mobile, Safari, team features, paid tiers, a server.


2. Tech Stack (fixed — do not substitute without asking)

Concern Choice
Extension framework WXT (wxt.dev) — Manifest V3, builds Chrome + Firefox targets
UI Vue 3 (Composition API, <script setup>) + TypeScript (strict)
Styling Tailwind CSS
State Pinia, persisted through a thin wrapper over browser.storage
Weather Open-Meteo API (free, no API key) + Open-Meteo geocoding for city search
Photos Bundled local photo set (v1) + optional Unsplash source (user supplies own Access Key in settings)
Quotes Bundled JSON file (user-editable via settings; supports custom quotes)
Testing Vitest (unit) + Playwright (load the built extension, smoke-test new tab)
Lint/format ESLint + Prettier
Package manager pnpm

Use browser.* via WXT’s polyfill so the code is cross-browser. No jQuery, no heavy UI kits.


3. Features (v1)

3.1 New Tab override

3.2 Background

3.3 Clock & greeting (centre)

3.4 Daily Focus

3.5 To-do list (bottom-right panel)

3.6 Quote (bottom-centre)

3.7 Weather (top-right)

3.8 Search (top-centre, optional)

3.10 Settings panel (bottom-left gear icon)

Slide-in panel with tabs:

3.11 Onboarding (first run)

Two-step: “Hello, what’s your name?” → “What’s your main focus today?” → dashboard. Skippable.


4. UX & Design


5. Data & Storage


6. Permissions (minimal)

Required: storage. Optional (requested at the moment the user enables the feature): geolocation, topSites, search. Host permissions: only https://api.open-meteo.com/*, https://geocoding-api.open-meteo.com/*, https://api.unsplash.com/*, https://images.unsplash.com/* — and Unsplash ones as optional host permissions.

No content scripts. No <all_urls>. No remote code.


7. Project Structure (suggested)

dayboard/
  wxt.config.ts
  src/
    entrypoints/
      newtab/          # index.html, main.ts, App.vue
      background.ts    # minimal: image prefetch alarm, midnight reset alarm
    components/
      Clock.vue  Greeting.vue  Focus.vue  TodoPanel.vue
      Quote.vue  Weather.vue  Search.vue  Links.vue
      Background.vue  SettingsPanel.vue  Onboarding.vue
    stores/            # Pinia stores per domain
    services/          # weather.ts, unsplash.ts, storage.ts, imageCache.ts
    data/              # quotes.json
    types/
  public/
    backgrounds/       # bundled images (placeholder README)
    icons/             # 16/32/48/128 icons (placeholder)
  tests/

8. Build Phases

Work through these in order. Commit at the end of each phase; stop and report after each so the owner can review.

  1. Scaffold — WXT + Vue + TS + Tailwind + Pinia; new-tab override shows “Hello”; builds for Chrome and Firefox; loads unpacked successfully.
  2. Core visual — background (local + gradient), clock, greeting, onboarding, storage layer with types and migrations.
  3. Focus + To-do — full functionality, midnight reset via alarms.
  4. Quotes + Weather + Search + Links.
  5. Settings panel + Export/Import + Unsplash + custom uploads.
  6. Polish — keyboard shortcuts, zen mode, accessibility pass, performance pass (measure new-tab load), Playwright smoke test.
  7. Packaging — pnpm build and pnpm zip for both browsers; README with install-unpacked instructions and store-submission checklist (Chrome Web Store, Edge Add-ons, Firefox AMO), plus a PRIVACY.md suitable for the store listing.

9. Acceptance Criteria


10. Notes for Claude Code

11. Future Ideas (not v1)

Pomodoro timer · habit tracker · notes widget · countdowns · calendar (Google/Outlook) glance · daily reflection/journal prompt · “Quote from my books” mode drawing from Maurice’s own writing · optional self-hosted sync via a small Laravel API.