Skip to content

Replace frontend with React 19 + TailwindCSS stack, implement all pages#32

Draft
Copilot wants to merge 8 commits intomasterfrom
copilot/implement-new-ui
Draft

Replace frontend with React 19 + TailwindCSS stack, implement all pages#32
Copilot wants to merge 8 commits intomasterfrom
copilot/implement-new-ui

Conversation

Copy link

Copilot AI commented Jan 31, 2026

Removes incomplete yarn/reactstrap frontend, replaces with modern stack per issue requirements.

Stack

  • pnpm, Vite 7, React 19, TypeScript
  • TailwindCSS 4, TanStack Router, MobX
  • Recharts for data visualization

Pages Implemented

Dashboard — Time range selector (day/week/month), 4 stat cards, stacked area chart, pie chart

Timeline — 24-hour horizontal timeline, color-coded activity blocks, click-for-details panel

TagTree — Hierarchical tree grouped by / delimiter, progress bars, expand/collapse all

Plot — Tag filter dropdown, bin size (hourly/daily/weekly), area/bar toggle

RuleEditor — Rule groups list, modal editor for all 6 rule types, save/discard with dirty state

Structure

src/
├── components/   # TimeRangeSelector, StatCard, CategoryHistoryChart, CategoryPieChart
├── stores/       # dashboardStore, timelineStore, tagTreeStore, plotStore, ruleEditorStore
├── lib/          # api.ts, formatDuration.ts, categoryColors.ts
└── pages/        # Dashboard, Timeline, TagTree, Plot, RuleEditor

Screenshots

Dashboard Timeline
Dashboard Timeline
Tag Tree Plot Rule Editor
TagTree Plot RuleEditor
Original prompt

This section details on the original issue you should resolve

<issue_title>Implement new UI</issue_title>
<issue_description>The existing incomplete UI in frontend should be removed. Instead we should write a new frontend using the following technologies: tailwind, typescript, react, tanstack-router, mobx, vite, eslint, pnpm.</issue_description>

Comments on the Issue (you are @copilot in this section)


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

…TanStack Router + MobX stack

Co-authored-by: phiresky <2303841+phiresky@users.noreply.github.com>
Copilot AI changed the title [WIP] Implement new UI with Tailwind and TypeScript Replace frontend with React 19 + TailwindCSS + TanStack Router + MobX stack Jan 31, 2026
Copilot AI requested a review from phiresky January 31, 2026 02:15
Copilot AI changed the title Replace frontend with React 19 + TailwindCSS + TanStack Router + MobX stack Replace frontend with React 19 + TailwindCSS + TanStack Router stack Jan 31, 2026
Copilot AI and others added 6 commits January 31, 2026 02:22
…arts

Co-authored-by: phiresky <2303841+phiresky@users.noreply.github.com>
Co-authored-by: phiresky <2303841+phiresky@users.noreply.github.com>
Co-authored-by: phiresky <2303841+phiresky@users.noreply.github.com>
Co-authored-by: phiresky <2303841+phiresky@users.noreply.github.com>
Co-authored-by: phiresky <2303841+phiresky@users.noreply.github.com>
- Dashboard: Time range selector, stat cards, category charts
- Timeline: Date navigation, 24-hour visualization, event details
- TagTree: Hierarchical tree view with expand/collapse
- Plot: Tag selector, bin sizes, area/bar charts
- RuleEditor: List/edit/add rules with modal editor

Fixed code review issues:
- Use user's local timezone instead of hardcoded UTC
- Use structuredClone instead of JSON.parse/stringify

Co-authored-by: phiresky <2303841+phiresky@users.noreply.github.com>
Copilot AI changed the title Replace frontend with React 19 + TailwindCSS + TanStack Router stack Replace frontend with React 19 + TailwindCSS stack, implement all pages Jan 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implement new UI

2 participants