Skip to content

feat(oncall): searchable timezone dropdown + sidebar logo polish - #46

Merged
fclairamb merged 103 commits into
mainfrom
feat/oncall-timezone-combobox-and-logo-polish
May 9, 2026
Merged

fclairamb merged 103 commits into
mainfrom
feat/oncall-timezone-combobox-and-logo-polish

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Summary

  • Replaced the free-text timezone Input on the on-call schedule form with a searchable Popover + cmdk Command combobox, populated from Intl.supportedValuesOf(\"timeZone\") with a UTC fallback.
  • Added a small "Use my timezone ($tz)" link beside the timezone label that surfaces the browser-detected zone when it differs from the selected value, so editing existing schedules picks up the shortcut without forcing the dropdown open.
  • Removed the redundant pink background behind the SolidPing mark in the sidebar header — the SVG already carries its own crimson shield, so the wrapper was reading as a double-colored box. The logo now fills the slot directly at `size={32}`.
  • Added `timezoneSearch`, `noTimezones`, and `timezoneUseBrowser` keys to all four oncall locales (en, fr, de, es).

Test plan

  • Navigate to `/dash0/orgs/default/on-call/platform-eu/edit` and confirm the timezone field opens a searchable dropdown listing IANA zones
  • Type `paris` / `tokyo` / `utc` and confirm filtering works
  • Pick a non-browser zone and confirm the "Use my timezone ($browserTz)" shortcut appears beside the label; click it and confirm the field updates
  • Confirm the shortcut hides when the selected zone matches the browser zone
  • Visit any page with the sidebar (e.g. `/dash0/orgs/default`) and confirm the SolidPing mark renders without the pink wrapper rectangle
  • Toggle between EN/FR/DE/ES and confirm the new strings render

🤖 Generated with Claude Code

fclairamb added 30 commits May 8, 2026 22:36
Detail page no longer mounts OnCallScheduleForm in a modal — the Edit
button is now a route link, so back/forward and refresh work as users
expect. List-row Edit icon also points to the new route. Drops Dialog,
useUpdateOnCallSchedule, handleEditSubmit, editInitialValues,
editOpen/editError state, and toast import from the detail page.
The convention exists in CLAUDE.md but wasn't visible on the live
design-reference page. Adds a Conventions section between Overview and
the primitive catalog, with a card per rule and the rationale + carve-out
inline.
Creates a schedule via the on-call-schedules API, visits the detail
page, clicks Edit (now a route link), changes the name in the form,
saves, and asserts the new name on the detail page after redirect.
…uttons

Each row now exposes three ghost icon buttons in tab-order:
ExternalLink (opens /status0/{org}/{slug} in a new tab), Pencil
(detail/management page), and a destructive Trash2 (existing
AlertDialog flow). Drops the DropdownMenu* imports and MoreVertical
icon. View public is now a row-level affordance instead of being
buried two clicks deep behind the detail page header.
Stop union-fetching every tier — pick exactly one per range and cap at
500 rows per page. month=day, week=hour, day=raw|hour (chosen by check
period), hour=raw. New `periodMs` prop on ResponseTimeChart drives the
day-range raw-vs-hour decision.

The boundary tradeoff is documented inline: the trailing edge of the
current bucket can be briefly empty on the right of the chart while
the rollup catches up — the cost was rendering thousands of points
otherwise.
Once chartData.length > 150, set dot={false} and let activeDot handle
hover/click. activeDot now caches its anchor in dotPositions on every
render, so the PinnedResultBox keeps working without the per-point dot.

Also flip isAnimationActive={false} on the Area: 300ms transitions cost
more than they add and re-fire on every refetch.
The page's fast-first-30s polling window is for the summary cards and
last-result card; the response-time chart doesn't need 1.5s polling
on a brand-new check. Compute the chart's effective refetch interval
from periodMs + the current time range, ignoring the page's
fast-poll mode entirely.
The table only displays aggregated stats — raw rows were just feeding
a rawAvailability fallback that papered over the brand-new-check edge
case. Adding the periodType=hour,day,month filter cuts the network
hit on a busy 1-min check from a year of raw rows (~500k+) to ~70
buckets. Floor refetch at 60s for both the results and incidents
queries since annual availability doesn't change faster than that.

A fresh check shows '-' for the first hour until the rollup runs;
acceptable per the spec's tradeoff.
fclairamb and others added 20 commits May 9, 2026 04:11
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Visible piece of the brand work for the operator dashboard:
- Sidebar header tile: bg-brand + <Logo size={24} />
- Login + register + forgot-password + reset-password + invite +
  no-org + confirm-registration: <Logo size={64} /> + 4px
  border-t-brand strip on the auth card
- data-testid="login-logo" preserved (Playwright keys off it)

Buttons, links, focus rings, active-nav highlights, chart series
colors all stay --primary blue. Brand pink is reserved for chrome.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
- Brand-pink top header bar with the org name and Logo, providing
  the visual-continuity hook from solidping.io for users arriving
  from the marketing site or a customer-embedded SolidPing badge.
- Status hero now sits on a neutral background; banner color is
  determined exclusively by status (--status-{ok,warning,error}).
  Brand color is never used in the hero so green/yellow/red read
  unambiguously.
- "Powered by SolidPing" footer is an outbound brand link
  (text-brand, target=_blank to solidping.io). Version stays a
  separate muted line below.

Section/resource indicators, internal navigation, and CTA buttons
keep their existing palette per the spec's color-discipline rule:
brand on chrome, primary on interactive, status-* on health.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Brand identity applied to the public status page per spec 03:
- bg-brand top header bar with the SolidPing mark + org name
- Status hero remains status-only (green/yellow/red)
- Outbound "Powered by SolidPing" link in text-brand

Per-tenant brand override (custom logo / color per org) is
intentionally a separate future feature, not in this spec.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Symptom: /dash0/orgs/$org/on-call/$slug/edit was rendering the
detail page instead of the edit form. The route was registered, but
on-call.\$slug.tsx held the full detail-page JSX with no <Outlet />,
so when the URL matched both parent and child, the parent rendered
its own UI and silently dropped the child.

Brings on-call into line with the canonical pattern used by
checks.\$checkUid.tsx and status-pages.\$statusPageUid.tsx:
- on-call.\$slug.tsx → 9-line layout component, just <Outlet />
- on-call.\$slug.index.tsx → holds the OnCallDetailPage and
  CalendarStrip definitions verbatim (no behavior change)

The data-testid="oncall-edit-button" selector is preserved so the
existing Playwright tests stay green.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Splits on-call.\$slug into layout + index so /on-call/\$slug/edit
renders the edit form instead of silently falling back to the
detail page. Mechanical split, no behavior change.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Brings all four on-call routes into the design-reference's
button-and-header conventions without touching behavior:

- on-call.index.tsx: Create button uses the icon + collapsing label
  pattern (aria-label, Plus icon always, label hidden on sm).
- on-call.\$slug.index.tsx: drops the top-left back link; back / edit /
  delete all live in the top-right action group. Edit + delete labels
  collapse on sm. window.confirm replaced with the AlertDialog
  pattern used by the list page so Playwright can drive the dialog.
- on-call.new.tsx and on-call.\$slug.edit.tsx: top-right back button
  (icon-only ghost) replaces the inline top-left link.
- OnCallScheduleForm footer: right-aligned, primary submit gains the
  Save icon + collapsing label, cancel-then-submit reading order.

data-testid="oncall-edit-button" preserved on the edit Link wrapper
so existing e2e tests stay green. The form and field layouts are
explicitly out of scope; only the chrome moves.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
All four on-call routes (list, detail, new, edit) and the shared
form footer now match the design-reference's button conventions:
icon + collapsing label, top-right back button, AlertDialog for
destructive delete. data-testid="oncall-edit-button" preserved so
existing e2e tests stay green.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
The brand-colored wrapper behind the SolidPing mark was redundant —
the SVG already carries its own crimson shield, so the box read as
double-pink. Sized the logo up to fill the slot directly.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
Replaces the free-text timezone Input on the on-call schedule form
with a Popover + cmdk Command combobox listing IANA zones from
Intl.supportedValuesOf("timeZone"). Adds a small "Use my timezone
({tz})" link beside the label that surfaces the browser-detected
zone when it differs from the current value, so editing existing
schedules picks up the shortcut without forcing the dropdown open.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@fclairamb
fclairamb enabled auto-merge (squash) May 9, 2026 15:46
fclairamb and others added 2 commits May 9, 2026 17:59
The "compute from raw results" assertion was orphaned by d99a419,
which intentionally limited the availability table to aggregated
tiers (hour/day/month) and accepted that fresh checks read '-' until
the rollup runs. Renamed the test and flipped the assertion to guard
that path: with raw-only data, the Today row's Availability cell
must read '-' and "50.0%" must not appear anywhere.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
@fclairamb
fclairamb merged commit 4396898 into main May 9, 2026
10 checks passed
@fclairamb
fclairamb deleted the feat/oncall-timezone-combobox-and-logo-polish branch May 9, 2026 16:13
@fclairamb fclairamb mentioned this pull request May 9, 2026
fclairamb added a commit that referenced this pull request Jun 23, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.1.0](v0.0.0...v0.1.0)
(2026-06-22)


### Features

* add check type registry, sample configs, notification senders, and
observability integrations
([eea049e](eea049e))
* batch — Warning/Degraded statuses, SSL/Docker check upgrades, MCP
OAuth 2.1, config-as-code
([#85](#85))
([936d830](936d830))
* batch spec implementations (dashboard UI, jobs, notifications, SaaS,
perf) ([#78](#78))
([fe003e4](fe003e4))
* bulk feature integration (discovery, web push, badges, webhooks, and
more) ([#73](#73))
([a976856](a976856))
* custom user-agent, refresh checks, vite plugin switch, CI updates
([#1](#1))
([cc00858](cc00858))
* documentation site served at /docs (co-located in web/docs)
([#88](#88))
([27d9ccd](27d9ccd))
* email check frontend (spec 03)
([#30](#30))
([aebd106](aebd106))
* email inbox foundation via JMAP (spec 01)
([#24](#24))
([0f3b0c1](0f3b0c1))
* email passive checks (spec 02)
([#27](#27))
([ba5536f](ba5536f))
* **entitlements:** trim to MaxSSOUsers + MaxChecksPerMinute + status
page history fixes
([#50](#50))
([a007de0](a007de0))
* **entitlements:** trim to MaxSSOUsers + MaxChecksPerMinute, enforce
both ([#49](#49))
([d25cc5f](d25cc5f))
* group incident correlation (spec 04 backend v1)
([#31](#31))
([1883986](1883986))
* **observability:** instrument hot path + add bench harness
([#60](#60))
([c6604cc](c6604cc))
* **oncall:** searchable timezone dropdown + sidebar logo polish
([#46](#46))
([4396898](4396898))
* per-IP HTTP rate limiting and concurrency limiting
([#59](#59))
([f9cc273](f9cc273))
* soften HTTP rate limits with bounded queues + request timeout
([#63](#63))
([025501b](025501b))
* SolidPing — distributed uptime monitoring platform
([eef4383](eef4383))
* **statuspages:** drag-and-drop resource reordering + dash conventions
([#41](#41))
([cf910d4](cf910d4))


### Bug Fixes

* **deps:** update dependency i18next to v26
([#26](#26))
([d5d1b7e](d5d1b7e))
* **deps:** update dependency lucide-react to v1
([#28](#28))
([cdc8e8c](cdc8e8c))
* **deps:** update dependency react-i18next to v17
([#29](#29))
([13135d8](13135d8))
* **deps:** update dependency recharts to v3.8.1
([#14](#14))
([5d95a3b](5d95a3b))
* **deps:** update go dependencies (non-major)
([#16](#16))
([2450f13](2450f13))
* **deps:** update go dependencies (non-major)
([#19](#19))
([f842310](f842310))
* **deps:** update go dependencies (non-major)
([#37](#37))
([c020eca](c020eca))
* **deps:** update go dependencies (non-major)
([#44](#44))
([ff0bcd0](ff0bcd0))
* **deps:** update go dependencies (non-major)
([#52](#52))
([2e3bc28](2e3bc28))
* **deps:** update go dependencies (non-major)
([#69](#69))
([a65ed4c](a65ed4c))
* **deps:** update go dependencies (non-major)
([#77](#77))
([a0920ff](a0920ff))
* **deps:** update go dependencies (non-major) to v1.4.2
([#86](#86))
([1eb7504](1eb7504))
* **deps:** update module github.com/aws/aws-sdk-go-v2/config to
v1.32.18 ([#72](#72))
([6406537](6406537))
* **deps:** update module github.com/aws/aws-sdk-go-v2/service/s3 to
v1.101.0 ([#39](#39))
([f9c9563](f9c9563))
* **deps:** update module github.com/go-webauthn/webauthn to v0.17.3
([#45](#45))
([593931a](593931a))
* **deps:** update module github.com/go-webauthn/webauthn to v0.17.4
([#70](#70))
([fca1c97](fca1c97))
* **deps:** update module github.com/ibm/sarama to v1.48.1
([#47](#47))
([93ccf3a](93ccf3a))
* **deps:** update module github.com/ibm/sarama to v1.48.2
([#54](#54))
([e84d868](e84d868))
* **deps:** update module github.com/ibm/sarama to v1.49.0
([#64](#64))
([fd61bd7](fd61bd7))
* **deps:** update module github.com/oapi-codegen/runtime to v1.4.1
([#65](#65))
([a3a3e9f](a3a3e9f))
* **deps:** update module github.com/prometheus/common to v0.67.5
([#61](#61))
([095dd6f](095dd6f))
* **deps:** update module github.com/slack-go/slack to v0.24.0
([#75](#75))
([6e86d5b](6e86d5b))
* **deps:** update module golang.org/x/sys to v0.44.0
([#42](#42))
([a245730](a245730))
* **deps:** update module golang.org/x/sys to v0.45.0
([#67](#67))
([49c3d90](49c3d90))
* **deps:** update module golang.org/x/term to v0.43.0
([#43](#43))
([4a934f1](4a934f1))
* **deps:** update module google.golang.org/grpc to v1.81.0
([#36](#36))
([1be183a](1be183a))
* **deps:** update module google.golang.org/grpc to v1.81.1
([#55](#55))
([6bfac2d](6bfac2d))
* status lifecycle improvements and created/running result handling
([#5](#5))
([fc64c7d](fc64c7d))
* **status0:** white page header and de-duplicated footer
([#48](#48))
([77506a7](77506a7))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
This was referenced Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant