Skip to content

Add a Tailwind design system and darker DataCat brand - #9

Open
carmahhawwari wants to merge 3 commits into
developfrom
ui/visual-refresh
Open

carmahhawwari wants to merge 3 commits into
developfrom
ui/visual-refresh

Conversation

@carmahhawwari

@carmahhawwari carmahhawwari commented Nov 25, 2026 •

Copy link
Copy Markdown
Collaborator

Home after sign-in: darker nav, centered cat logo, rounded main pane, shared cards and buttons (seeded sample data)

APM service page: charts now show horizontal gridlines and y-axis labels (seeded sample data)

Redesigned dashboards list: filter tabs, search, table with descriptions and owners (seeded sample data)

Sign-in card: cat on a tilted dark square, height fits content

What and why

A visual refresh of the web app, with a shared design system so components stay consistent.

  • Design system: artifacts/web/src/components/ui.tsx adds Tailwind style helpers (buttonStyles, fieldStyles, cardStyles, badgeStyles, labelStyles, sectionTitleStyles, tableStyles) and components (Button, Input, Select, Textarea), built on clsx and tailwind-merge, which were already dependencies. Pages and components use them, and the global .btn, .input, .card, .chip, .tbl and .label classes are removed from index.css.
  • Buttons: shadcn-style variants: primary, secondary (default, light grey), outline, ghost, destructive, link and dark. Sizes are sm 28 px, md 32 px, lg 40 px and icon 32 px, with no shadows.
  • Layout and brand: darker purple nav (#1f1035), a new cat logo and favicon, a centered sidebar logo, no section labels, a 36 px global search, and a main pane with rounded squircle corners and no outline.
  • Sign-in screens: cat on a tilted dark square, cards sized to their content, and a larger "Set up DataCat" heading.
  • Page headers: icons are removed. The Dashboards "List" tab, the dashboard title star, the dashboard canvas fill and the org settings subtitle are also removed. APM content now aligns with the page header instead of being centered.
  • Dashboards list: filter tabs (All, Favorites, Created by me, Recently viewed), search, and a table in a card with descriptions, clickable rows and a star on hover.
  • Charts: every timeseries chart now shows horizontal gridlines and y-axis labels. Chart.tsx defined the gridline and axes, but they never rendered: they were wrapped in a fragment, and recharts 2.15's fragment check uses react-is 18, which does not recognize React 19 elements. They are now passed as an array. The logs histogram also gets horizontal gridlines.
  • README: the screenshot is replaced with the APM service page from the new UI.
  • Fonts: the app keeps using Inter when it's installed, as develop does. The bundled font package was dropped because its license was flagged in review.

There are no API or data changes.

How it was tested

  • pnpm run format:check and pnpm --filter @workspace/web run typecheck pass. API unit tests were not run because this change touches only the web UI.
  • scripts/e2e.sh passes (not applicable: no intake, query or storage changes)
  • Docs and the configuration reference are updated (not applicable)

I checked the change by hand on a local DataCat with seeded sample data. It covered the sign-in, setup and invite screens, home, dashboards list and dashboard pages, monitors, APM, logs, infrastructure, metrics and org settings. I confirmed the chart gridlines in the DOM: 14 gridlines and 15 y-axis ticks on the APM service page.

Chat about this change

~ written by ⠕ Replit

Shared Tailwind button, field, card, badge, label and table styles replace the global CSS component classes. Darker purple palette, cat logo mark, refreshed sidebar, sign-in screens and dashboards list. Timeseries charts now render their horizontal gridlines and y-axis.

Assisted-by: Replit
Comment thread artifacts/web/package.json Resolved
Comment thread pnpm-lock.yaml Resolved
@carmahhawwari
carmahhawwari marked this pull request as ready for review November 25, 2026 04:43
Use Inter when installed and fall back to system fonts, as before.

Assisted-by: Replit
@samuelreplit
samuelreplit self-requested a review November 26, 2026 04:46
@carmahhawwari
carmahhawwari deleted the ui/visual-refresh branch November 30, 2026 17:43
@carmahhawwari
carmahhawwari restored the ui/visual-refresh branch November 30, 2026 17:44
@carmahhawwari carmahhawwari reopened this Nov 30, 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.

2 participants