Patchwise Agent Studio: Oracle AI Agent Studio cycles
Browse files- web/src/components/shell/TopNav.tsx +11 -3
- web/src/components/shell/topnav.css +2 -1
- web/src/ember.css +37 -14
- web/src/icons.tsx +2 -1
- web/src/main.tsx +1 -1
- web/src/pages/HomeBento.tsx +16 -15
- web/src/pages/home-bento.css +1 -1
- web/src/pages/report.css +3 -1
- web/src/tokens.css +34 -27
web/src/components/shell/TopNav.tsx
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
import './topnav.css';
|
| 2 |
-
import { Menu } from '@mantine/core';
|
| 3 |
-
import { IconChevronDown, IconHandStop, IconSearch } from '@/icons';
|
| 4 |
import { Link, NavLink as RouterLink, useLocation, useNavigate } from 'react-router-dom';
|
| 5 |
import { useBrand, useKill, useRuns } from '../../api/hooks';
|
| 6 |
import { useAuth } from '../../auth/AuthContext';
|
|
@@ -25,6 +25,9 @@ export function TopNav() {
|
|
| 25 |
const mine = useWaitsOnMe();
|
| 26 |
const kill = useKill();
|
| 27 |
const { openPalette } = useShell();
|
|
|
|
|
|
|
|
|
|
| 28 |
const waiting = (runs.data?.items ?? []).filter(mine).length;
|
| 29 |
const name = brand.data?.product_name ?? 'Patchwise';
|
| 30 |
const main = [...MAIN.filter((i) => i.to !== '/assistant'), ...LIBRARY, ...MAIN.filter((i) => i.to === '/assistant')];
|
|
@@ -33,7 +36,8 @@ export function TopNav() {
|
|
| 33 |
return (
|
| 34 |
<header className="pw-nav" aria-label="Main navigation">
|
| 35 |
<Link to="/" className="pw-nav-brand" aria-label={`${name} home`} data-testid="brand">
|
| 36 |
-
<img src="/favicon-
|
|
|
|
| 37 |
<span className="pw-nav-name">{name}<small>Oracle patch testing</small></span>
|
| 38 |
</Link>
|
| 39 |
|
|
@@ -69,6 +73,10 @@ export function TopNav() {
|
|
| 69 |
<button type="button" className="pw-nav-icon" onClick={openPalette} aria-label={`Search or ask ${isMac() ? '⌘K' : 'Ctrl K'}`} title="Search, go to a page or ask a question">
|
| 70 |
<IconSearch size={17} aria-hidden />
|
| 71 |
</button>
|
|
|
|
|
|
|
|
|
|
|
|
|
| 72 |
<NotificationBell />
|
| 73 |
<AccountMenu compact />
|
| 74 |
</div>
|
|
|
|
| 1 |
import './topnav.css';
|
| 2 |
+
import { Menu, useComputedColorScheme, useMantineColorScheme } from '@mantine/core';
|
| 3 |
+
import { IconChevronDown, IconHandStop, IconMoon, IconSearch, IconSun } from '@/icons';
|
| 4 |
import { Link, NavLink as RouterLink, useLocation, useNavigate } from 'react-router-dom';
|
| 5 |
import { useBrand, useKill, useRuns } from '../../api/hooks';
|
| 6 |
import { useAuth } from '../../auth/AuthContext';
|
|
|
|
| 25 |
const mine = useWaitsOnMe();
|
| 26 |
const kill = useKill();
|
| 27 |
const { openPalette } = useShell();
|
| 28 |
+
const { setColorScheme } = useMantineColorScheme();
|
| 29 |
+
const scheme = useComputedColorScheme('dark');
|
| 30 |
+
const dark = scheme === 'dark';
|
| 31 |
const waiting = (runs.data?.items ?? []).filter(mine).length;
|
| 32 |
const name = brand.data?.product_name ?? 'Patchwise';
|
| 33 |
const main = [...MAIN.filter((i) => i.to !== '/assistant'), ...LIBRARY, ...MAIN.filter((i) => i.to === '/assistant')];
|
|
|
|
| 36 |
return (
|
| 37 |
<header className="pw-nav" aria-label="Main navigation">
|
| 38 |
<Link to="/" className="pw-nav-brand" aria-label={`${name} home`} data-testid="brand">
|
| 39 |
+
<img className="trio-logo" data-for="light" src="/favicon-graphite.svg" alt="" width={28} height={28} />
|
| 40 |
+
<img className="trio-logo" data-for="dark" src="/favicon-paper.svg" alt="" width={28} height={28} />
|
| 41 |
<span className="pw-nav-name">{name}<small>Oracle patch testing</small></span>
|
| 42 |
</Link>
|
| 43 |
|
|
|
|
| 73 |
<button type="button" className="pw-nav-icon" onClick={openPalette} aria-label={`Search or ask ${isMac() ? '⌘K' : 'Ctrl K'}`} title="Search, go to a page or ask a question">
|
| 74 |
<IconSearch size={17} aria-hidden />
|
| 75 |
</button>
|
| 76 |
+
<button type="button" className="pw-nav-icon" onClick={() => setColorScheme(dark ? 'light' : 'dark')}
|
| 77 |
+
aria-label={dark ? 'Switch to light mode' : 'Switch to dark mode'} title={dark ? 'Light mode' : 'Dark mode'}>
|
| 78 |
+
{dark ? <IconSun size={17} aria-hidden /> : <IconMoon size={17} aria-hidden />}
|
| 79 |
+
</button>
|
| 80 |
<NotificationBell />
|
| 81 |
<AccountMenu compact />
|
| 82 |
</div>
|
web/src/components/shell/topnav.css
CHANGED
|
@@ -11,7 +11,7 @@
|
|
| 11 |
border-left: 1px solid var(--sep-strong); }
|
| 12 |
.pw-nav-name small { font: 500 11px/14px var(--font-display); color: var(--label-3); letter-spacing: 0.02em; }
|
| 13 |
|
| 14 |
-
.pw-nav-pill { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--sep-strong); border-radius: 10px; background:
|
| 15 |
.pw-nav-item { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent;
|
| 16 |
color: var(--label-2); font: 500 14px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: color var(--d1), background var(--d1); }
|
| 17 |
.pw-nav-item:hover { color: var(--label); background: var(--fill); text-decoration: none; }
|
|
@@ -49,3 +49,4 @@ html body .pw-nav .fpt-me[data-compact] { width: 36px; height: 36px; padding: 0;
|
|
| 49 |
.pw-nav-item { padding: 0 10px; }
|
| 50 |
html body .pw-nav .fpt-env.pw-nav-env .fpt-env-label { display: none; }
|
| 51 |
}
|
|
|
|
|
|
| 11 |
border-left: 1px solid var(--sep-strong); }
|
| 12 |
.pw-nav-name small { font: 500 11px/14px var(--font-display); color: var(--label-3); letter-spacing: 0.02em; }
|
| 13 |
|
| 14 |
+
.pw-nav-pill { display: flex; align-items: center; gap: 2px; padding: 4px; border: 1px solid var(--sep-strong); border-radius: 10px; background: var(--tint); }
|
| 15 |
.pw-nav-item { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent;
|
| 16 |
color: var(--label-2); font: 500 14px var(--font); text-decoration: none; cursor: pointer; white-space: nowrap; transition: color var(--d1), background var(--d1); }
|
| 17 |
.pw-nav-item:hover { color: var(--label); background: var(--fill); text-decoration: none; }
|
|
|
|
| 49 |
.pw-nav-item { padding: 0 10px; }
|
| 50 |
html body .pw-nav .fpt-env.pw-nav-env .fpt-env-label { display: none; }
|
| 51 |
}
|
| 52 |
+
html body .pw-nav .fpt-env.pw-nav-env .fpt-env-label b, html body .pw-nav .fpt-env.pw-nav-env .fpt-env-sub { display: block; max-width: 170px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
|
web/src/ember.css
CHANGED
|
@@ -1,10 +1,10 @@
|
|
| 1 |
-
/* Ember: the look after Sheryians Coding School. A black canvas with a warm orange glow, Space Grotesk for display
|
| 2 |
(titles, big numbers, caps labels), Manrope for reading, dark cards with hairline borders that glow orange on hover,
|
| 3 |
burnt-orange primary buttons, outlined secondary buttons. Loaded last; tokens in tokens.css. */
|
| 4 |
|
| 5 |
-
html, body { background:
|
| 6 |
html body { font-family: var(--font); color: var(--label); }
|
| 7 |
-
::selection { background: rgba(232, 96, 46, 0.
|
| 8 |
|
| 9 |
/* ------------------------------------------------------------------ type */
|
| 10 |
html body .trio-head h1, html body .trio-h1 { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 46px;
|
|
@@ -21,7 +21,7 @@ html body .fpt-idpill, html body code, html body kbd { font-family: var(--mono);
|
|
| 21 |
html body .dsh-panel, html body .dsh-kpi, html body .dsh-pin, html body .pw-card, html body .fpt-card, html body .lib-list, html body .lib-tree, html body .lib-panel,
|
| 22 |
html body .mantine-Card-root, html body .mantine-Paper-root:not(.mantine-Menu-dropdown):not(.mantine-Popover-dropdown):not(.mantine-Modal-content):not(.mantine-Drawer-content),
|
| 23 |
html body .rg-card, html body .fpt-stage, html body .rv-groups {
|
| 24 |
-
background: linear-gradient(180deg,
|
| 25 |
border-radius: 16px; box-shadow: 0 0 0 1px var(--sep);
|
| 26 |
}
|
| 27 |
html body a.dsh-pin:hover, html body a.dsh-kpi:hover, html body .dsh-panel:hover {
|
|
@@ -29,13 +29,13 @@ html body a.dsh-pin:hover, html body a.dsh-kpi:hover, html body .dsh-panel:hover
|
|
| 29 |
}
|
| 30 |
html body .dsh-panel { transition: box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
|
| 31 |
html body .mantine-Menu-dropdown, html body .mantine-Popover-dropdown, html body .mantine-Combobox-dropdown, html body .mantine-Modal-content, html body .mantine-Drawer-content {
|
| 32 |
-
background:
|
| 33 |
html body .mantine-Menu-item:hover, html body .mantine-Combobox-option:hover, html body .mantine-Combobox-option[data-combobox-selected] { background: rgba(232, 96, 46, 0.12); }
|
| 34 |
|
| 35 |
/* ------------------------------------------------------------------ buttons */
|
| 36 |
html body .mantine-Button-root { border-radius: 10px; font-family: var(--font); }
|
| 37 |
html body .mantine-Button-root[data-variant='filled'] { background: var(--accent); border-color: var(--accent); color: #fff;
|
| 38 |
-
box-shadow: inset 0 1px 0
|
| 39 |
html body .mantine-Button-root[data-variant='filled']:hover { background: var(--accent-hover); }
|
| 40 |
html body .mantine-Button-root[data-variant='default'], html body .mantine-Button-root[data-variant='outline'] {
|
| 41 |
background: transparent; color: var(--label); border: 1px solid var(--sep-strong); box-shadow: none; }
|
|
@@ -47,27 +47,27 @@ html body .mantine-Button-root:disabled, html body .mantine-Button-root[data-dis
|
|
| 47 |
|
| 48 |
/* ------------------------------------------------------------------ fields */
|
| 49 |
html body .mantine-Input-input, html body .mantine-Select-input, html body .mantine-Textarea-input, html body .mantine-PasswordInput-input {
|
| 50 |
-
background:
|
| 51 |
html body .mantine-Input-input:focus, html body .mantine-Input-input:focus-within, html body .mantine-PasswordInput-input:focus-within {
|
| 52 |
box-shadow: inset 0 0 0 1px var(--ember), 0 0 0 3px rgba(232, 96, 46, 0.2) !important; }
|
| 53 |
html body .mantine-Checkbox-input:checked, html body .mantine-Radio-radio:checked { background: var(--ember); border-color: var(--ember); }
|
| 54 |
|
| 55 |
/* ------------------------------------------------------------------ tables */
|
| 56 |
-
html body .mantine-Table-th, html body .pw-table th, html body .fpt-table th { background:
|
| 57 |
font: 600 11.5px/16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
|
| 58 |
-
html body .mantine-Table-td, html body .pw-table td { border-color:
|
| 59 |
html body .rg-row:hover > td, html body .lib-row:hover > td, html body a.dsh-tr:hover { background: rgba(232, 96, 46, 0.06); }
|
| 60 |
html body .dsh-th { font: 600 11px/16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
|
| 61 |
|
| 62 |
/* ------------------------------------------------------------------ status and chips */
|
| 63 |
html body .pw-status, html body .dsh-pill { font-family: var(--font); }
|
| 64 |
html body .fpt-filterchip[data-active='true'], html body .mantine-SegmentedControl-indicator { background: rgba(232, 96, 46, 0.16) !important; box-shadow: inset 0 0 0 1px rgba(232, 96, 46, 0.5) !important; }
|
| 65 |
-
html body .fpt-filterchip[data-active='true'] { color:
|
| 66 |
|
| 67 |
/* ------------------------------------------------------------------ Home: the hero and the numbers */
|
| 68 |
.dsh-hero { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 12px; }
|
| 69 |
.dsh-eyebrow { font: 600 12px/16px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
|
| 70 |
-
.dsh-hero-h { margin: 0; font: 500 52px/58px var(--font-display); letter-spacing: -0.03em; color:
|
| 71 |
.dsh-hero-sub { margin: 0; color: var(--label-2); font-size: 16px; line-height: 25px; max-width: 70ch; }
|
| 72 |
html body .dsh-v { font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 40px; color: var(--ember); }
|
| 73 |
html body .dsh-v[data-tone='red'] { color: var(--red); }
|
|
@@ -89,11 +89,11 @@ html body .dsh > *:nth-child(6) { animation-delay: 0.3s; } html body .dsh > *:nt
|
|
| 89 |
@keyframes ember-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
|
| 90 |
|
| 91 |
/* ------------------------------------------------------------------ run page on the dark canvas */
|
| 92 |
-
html body .fpt-ws .rw-head, html body .fpt-ws .fpt-detail-head, html body .fpt-panel-head { background:
|
| 93 |
html body .fpt-ws .rw-title b { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
|
| 94 |
html body .fpt-ws .fpt-detail-head .fpt-navtab[aria-current='page'], html body .fpt-panel-tablist .mantine-Tabs-tab[data-active] { border-bottom-color: var(--ember); }
|
| 95 |
-
html body .fpt-ws .rv-step-head { background:
|
| 96 |
-
html body .lib-node[data-on] { background:
|
| 97 |
html body .lib-row[data-selected] > td:first-child { box-shadow: inset 2px 0 0 var(--ember); }
|
| 98 |
|
| 99 |
@media (max-width: 767px) {
|
|
@@ -104,3 +104,26 @@ html body .lib-row[data-selected] > td:first-child { box-shadow: inset 2px 0 0 v
|
|
| 104 |
html body .dsh > *, html body .trio-head ~ * { animation: none; }
|
| 105 |
}
|
| 106 |
html body .pw-countup { font-variant-numeric: tabular-nums; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Ember: the look after Sheryians Coding School, in dark (default) and light. A black (or cream) canvas with a warm orange glow, Space Grotesk for display
|
| 2 |
(titles, big numbers, caps labels), Manrope for reading, dark cards with hairline borders that glow orange on hover,
|
| 3 |
burnt-orange primary buttons, outlined secondary buttons. Loaded last; tokens in tokens.css. */
|
| 4 |
|
| 5 |
+
html, body { background: var(--canvas); }
|
| 6 |
html body { font-family: var(--font); color: var(--label); }
|
| 7 |
+
::selection { background: rgba(232, 96, 46, 0.32); color: var(--label); }
|
| 8 |
|
| 9 |
/* ------------------------------------------------------------------ type */
|
| 10 |
html body .trio-head h1, html body .trio-h1 { font-family: var(--font-display); font-weight: 500; font-size: 40px; line-height: 46px;
|
|
|
|
| 21 |
html body .dsh-panel, html body .dsh-kpi, html body .dsh-pin, html body .pw-card, html body .fpt-card, html body .lib-list, html body .lib-tree, html body .lib-panel,
|
| 22 |
html body .mantine-Card-root, html body .mantine-Paper-root:not(.mantine-Menu-dropdown):not(.mantine-Popover-dropdown):not(.mantine-Modal-content):not(.mantine-Drawer-content),
|
| 23 |
html body .rg-card, html body .fpt-stage, html body .rv-groups {
|
| 24 |
+
background: linear-gradient(180deg, var(--sheen-a), var(--sheen-b)), var(--bg-elev);
|
| 25 |
border-radius: 16px; box-shadow: 0 0 0 1px var(--sep);
|
| 26 |
}
|
| 27 |
html body a.dsh-pin:hover, html body a.dsh-kpi:hover, html body .dsh-panel:hover {
|
|
|
|
| 29 |
}
|
| 30 |
html body .dsh-panel { transition: box-shadow 0.35s cubic-bezier(0.23, 1, 0.32, 1); }
|
| 31 |
html body .mantine-Menu-dropdown, html body .mantine-Popover-dropdown, html body .mantine-Combobox-dropdown, html body .mantine-Modal-content, html body .mantine-Drawer-content {
|
| 32 |
+
background: var(--menu-bg) !important; box-shadow: var(--menu-shadow) !important; }
|
| 33 |
html body .mantine-Menu-item:hover, html body .mantine-Combobox-option:hover, html body .mantine-Combobox-option[data-combobox-selected] { background: rgba(232, 96, 46, 0.12); }
|
| 34 |
|
| 35 |
/* ------------------------------------------------------------------ buttons */
|
| 36 |
html body .mantine-Button-root { border-radius: 10px; font-family: var(--font); }
|
| 37 |
html body .mantine-Button-root[data-variant='filled'] { background: var(--accent); border-color: var(--accent); color: #fff;
|
| 38 |
+
box-shadow: inset 0 1px 0 var(--btn-sheen), 0 8px 24px -10px rgba(232, 96, 46, 0.7); }
|
| 39 |
html body .mantine-Button-root[data-variant='filled']:hover { background: var(--accent-hover); }
|
| 40 |
html body .mantine-Button-root[data-variant='default'], html body .mantine-Button-root[data-variant='outline'] {
|
| 41 |
background: transparent; color: var(--label); border: 1px solid var(--sep-strong); box-shadow: none; }
|
|
|
|
| 47 |
|
| 48 |
/* ------------------------------------------------------------------ fields */
|
| 49 |
html body .mantine-Input-input, html body .mantine-Select-input, html body .mantine-Textarea-input, html body .mantine-PasswordInput-input {
|
| 50 |
+
background: var(--tint) !important; color: var(--label); box-shadow: inset 0 0 0 1px var(--sep-strong) !important; border: 0 !important; border-radius: 10px; }
|
| 51 |
html body .mantine-Input-input:focus, html body .mantine-Input-input:focus-within, html body .mantine-PasswordInput-input:focus-within {
|
| 52 |
box-shadow: inset 0 0 0 1px var(--ember), 0 0 0 3px rgba(232, 96, 46, 0.2) !important; }
|
| 53 |
html body .mantine-Checkbox-input:checked, html body .mantine-Radio-radio:checked { background: var(--ember); border-color: var(--ember); }
|
| 54 |
|
| 55 |
/* ------------------------------------------------------------------ tables */
|
| 56 |
+
html body .mantine-Table-th, html body .pw-table th, html body .fpt-table th { background: var(--tint) !important; color: var(--label-3);
|
| 57 |
font: 600 11.5px/16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
|
| 58 |
+
html body .mantine-Table-td, html body .pw-table td { border-color: var(--row-line) !important; }
|
| 59 |
html body .rg-row:hover > td, html body .lib-row:hover > td, html body a.dsh-tr:hover { background: rgba(232, 96, 46, 0.06); }
|
| 60 |
html body .dsh-th { font: 600 11px/16px var(--font-display); letter-spacing: 0.08em; text-transform: uppercase; }
|
| 61 |
|
| 62 |
/* ------------------------------------------------------------------ status and chips */
|
| 63 |
html body .pw-status, html body .dsh-pill { font-family: var(--font); }
|
| 64 |
html body .fpt-filterchip[data-active='true'], html body .mantine-SegmentedControl-indicator { background: rgba(232, 96, 46, 0.16) !important; box-shadow: inset 0 0 0 1px rgba(232, 96, 46, 0.5) !important; }
|
| 65 |
+
html body .fpt-filterchip[data-active='true'] { color: var(--label); }
|
| 66 |
|
| 67 |
/* ------------------------------------------------------------------ Home: the hero and the numbers */
|
| 68 |
.dsh-hero { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 12px; }
|
| 69 |
.dsh-eyebrow { font: 600 12px/16px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember); }
|
| 70 |
+
.dsh-hero-h { margin: 0; font: 500 52px/58px var(--font-display); letter-spacing: -0.03em; color: var(--hero-ink); max-width: 20ch; }
|
| 71 |
.dsh-hero-sub { margin: 0; color: var(--label-2); font-size: 16px; line-height: 25px; max-width: 70ch; }
|
| 72 |
html body .dsh-v { font-family: var(--font-display); font-weight: 500; font-size: 34px; line-height: 40px; color: var(--ember); }
|
| 73 |
html body .dsh-v[data-tone='red'] { color: var(--red); }
|
|
|
|
| 89 |
@keyframes ember-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
|
| 90 |
|
| 91 |
/* ------------------------------------------------------------------ run page on the dark canvas */
|
| 92 |
+
html body .fpt-ws .rw-head, html body .fpt-ws .fpt-detail-head, html body .fpt-panel-head { background: var(--tint); }
|
| 93 |
html body .fpt-ws .rw-title b { font-family: var(--font-display); font-weight: 500; font-size: 22px; letter-spacing: -0.02em; }
|
| 94 |
html body .fpt-ws .fpt-detail-head .fpt-navtab[aria-current='page'], html body .fpt-panel-tablist .mantine-Tabs-tab[data-active] { border-bottom-color: var(--ember); }
|
| 95 |
+
html body .fpt-ws .rv-step-head { background: var(--tint); }
|
| 96 |
+
html body .lib-node[data-on] { background: var(--accent-soft-2); color: var(--label); }
|
| 97 |
html body .lib-row[data-selected] > td:first-child { box-shadow: inset 2px 0 0 var(--ember); }
|
| 98 |
|
| 99 |
@media (max-width: 767px) {
|
|
|
|
| 104 |
html body .dsh > *, html body .trio-head ~ * { animation: none; }
|
| 105 |
}
|
| 106 |
html body .pw-countup { font-variant-numeric: tabular-nums; }
|
| 107 |
+
|
| 108 |
+
|
| 109 |
+
/* ------------------------------------------------------------------ polish: icon tiles, panel titles, empty states */
|
| 110 |
+
html body .dsh-khead { display: flex; align-items: center; gap: 10px; }
|
| 111 |
+
html body .dsh-ki { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; color: var(--ember);
|
| 112 |
+
background: var(--accent-soft); box-shadow: inset 0 0 0 1px rgba(232, 96, 46, 0.25); }
|
| 113 |
+
html body .dsh-kpi { gap: 10px; padding: 18px 20px; }
|
| 114 |
+
html body .dsh-v[data-tone] { font-size: 26px; line-height: 32px; }
|
| 115 |
+
html body .dsh-ph h2 { display: inline-flex; align-items: center; gap: 10px; }
|
| 116 |
+
html body .dsh-hi { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; color: var(--ember); background: var(--accent-soft); }
|
| 117 |
+
html body .dsh-empty { display: flex; align-items: center; gap: 12px; padding: 18px 16px; color: var(--label-2); }
|
| 118 |
+
html body .dsh-empty-i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; color: var(--label-3); background: var(--fill); flex: none; }
|
| 119 |
+
|
| 120 |
+
/* ------------------------------------------------------------------ polish: a dot grid fading out behind the glow (Sheryians) */
|
| 121 |
+
.fpt-shell[data-nav='top'] > .fpt-main::before {
|
| 122 |
+
background:
|
| 123 |
+
radial-gradient(circle at 1px 1px, var(--dot) 1px, transparent 1.4px) 0 0 / 22px 22px,
|
| 124 |
+
var(--glow);
|
| 125 |
+
-webkit-mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%);
|
| 126 |
+
mask-image: linear-gradient(to bottom, #000 0, #000 55%, transparent 100%);
|
| 127 |
+
}
|
| 128 |
+
html:root[data-mantine-color-scheme='dark'] { --dot: rgba(255, 255, 255, 0.07); }
|
| 129 |
+
html:root, html:root[data-mantine-color-scheme='light'] { --dot: rgba(20, 12, 8, 0.07); }
|
web/src/icons.tsx
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
translated to `strokeWidth` here). Brand logos are not in Lucide and stay Tabler's. */
|
| 4 |
import { forwardRef, type ComponentProps } from 'react';
|
| 5 |
import {
|
| 6 |
-
ArrowLeft, ArrowRight, ArrowUp, Bell, Bot, BotMessageSquare, Brain, Bug, CalendarClock, Check, ChevronDown, ChevronLeft,
|
| 7 |
ChevronRight, ChevronsUpDown, CircleAlert, CircleCheck, CircleDashed, CircleHelp, CircleMinus, CircleX, Clock, Cloud, Code,
|
| 8 |
Copy, Download, Ellipsis, ExternalLink, Eye, EyeOff, FileChartColumn, FileDown, FileSpreadsheet, FileText, GlobeLock, Hand,
|
| 9 |
History, Hourglass, House, Image, ImageOff, Info, Key, Keyboard, Library, Lightbulb, Link, List, ListChecks, ListOrdered,
|
|
@@ -26,6 +26,7 @@ function icon(L: Lucide, name: string) {
|
|
| 26 |
return C;
|
| 27 |
}
|
| 28 |
|
|
|
|
| 29 |
export const IconAdjustments = icon(SlidersHorizontal, 'IconAdjustments');
|
| 30 |
export const IconAffiliate = icon(Network, 'IconAffiliate');
|
| 31 |
export const IconAlertCircle = icon(CircleAlert, 'IconAlertCircle');
|
|
|
|
| 3 |
translated to `strokeWidth` here). Brand logos are not in Lucide and stay Tabler's. */
|
| 4 |
import { forwardRef, type ComponentProps } from 'react';
|
| 5 |
import {
|
| 6 |
+
Activity, ArrowLeft, ArrowRight, ArrowUp, Bell, Bot, BotMessageSquare, Brain, Bug, CalendarClock, Check, ChevronDown, ChevronLeft,
|
| 7 |
ChevronRight, ChevronsUpDown, CircleAlert, CircleCheck, CircleDashed, CircleHelp, CircleMinus, CircleX, Clock, Cloud, Code,
|
| 8 |
Copy, Download, Ellipsis, ExternalLink, Eye, EyeOff, FileChartColumn, FileDown, FileSpreadsheet, FileText, GlobeLock, Hand,
|
| 9 |
History, Hourglass, House, Image, ImageOff, Info, Key, Keyboard, Library, Lightbulb, Link, List, ListChecks, ListOrdered,
|
|
|
|
| 26 |
return C;
|
| 27 |
}
|
| 28 |
|
| 29 |
+
export const IconActivity = icon(Activity, 'IconActivity');
|
| 30 |
export const IconAdjustments = icon(SlidersHorizontal, 'IconAdjustments');
|
| 31 |
export const IconAffiliate = icon(Network, 'IconAffiliate');
|
| 32 |
export const IconAlertCircle = icon(CircleAlert, 'IconAlertCircle');
|
web/src/main.tsx
CHANGED
|
@@ -35,7 +35,7 @@ const qc = new QueryClient({
|
|
| 35 |
|
| 36 |
createRoot(document.getElementById('root')!).render(
|
| 37 |
<StrictMode>
|
| 38 |
-
<MantineProvider theme={theme} defaultColorScheme="dark"
|
| 39 |
<QueryClientProvider client={qc}>
|
| 40 |
{/* toasts inside the router: a toast may carry a link ("Watch live"), which needs the router to render */}
|
| 41 |
<BrowserRouter><Notifications /><App /></BrowserRouter>
|
|
|
|
| 35 |
|
| 36 |
createRoot(document.getElementById('root')!).render(
|
| 37 |
<StrictMode>
|
| 38 |
+
<MantineProvider theme={theme} defaultColorScheme="dark">
|
| 39 |
<QueryClientProvider client={qc}>
|
| 40 |
{/* toasts inside the router: a toast may carry a link ("Watch live"), which needs the router to render */}
|
| 41 |
<BrowserRouter><Notifications /><App /></BrowserRouter>
|
web/src/pages/HomeBento.tsx
CHANGED
|
@@ -9,6 +9,7 @@ import { useWaitsOnMe } from '../waiting';
|
|
| 9 |
import type { Schemas } from '../api/client';
|
| 10 |
import { GitHubActivityGrid, type ActivityDay } from '../components/wensity/github-activity-grid';
|
| 11 |
import { CountUp } from '../components/CountUp';
|
|
|
|
| 12 |
import { TextHighlight } from '../components/wensity/text-highlight';
|
| 13 |
import './home-bento.css';
|
| 14 |
|
|
@@ -92,16 +93,16 @@ export function HomeBento({ mods, lastFor, podName, patch }: { mods: ModuleReadi
|
|
| 92 |
</section>
|
| 93 |
|
| 94 |
<section className="dsh-kpis" aria-label="Readiness">
|
| 95 |
-
<div className="dsh-kpi"><span className="dsh-k">Overall verdict</span><span className="dsh-v" data-tone={verdict.tone}>{verdict.words}</span>
|
| 96 |
<span className="dsh-n">{ready} of {plural(mods.length, 'area')} ready{patch ? ` · patch ${patch}` : ''}{podName ? ` · ${podName}` : ''}</span></div>
|
| 97 |
-
<div className="dsh-kpi"><span className="dsh-k">Scenarios passed</span><span className="dsh-v"><CountUp value={pct} suffix="%" /></span>
|
| 98 |
<Bar parts={[['pass', g.passed], ['fail', g.failed], ['wait', g.waiting], ['skip', g.notRun]]} label={`${g.passed} passed, ${g.failed} failing, ${g.waiting} to approve, ${g.notRun} not run`} />
|
| 99 |
<span className="dsh-n">{g.passed} of {total} · {g.failed} failing</span></div>
|
| 100 |
-
<div className="dsh-kpi"><span className="dsh-k">Patch changes covered</span><span className="dsh-v"><CountUp value={covered} /><small> / {changes.length}</small></span>
|
| 101 |
<span className="dsh-n">{gaps ? `${plural(gaps, 'change')} without a test` : changes.length ? 'Every change has a test' : 'No changes read yet'}</span></div>
|
| 102 |
-
<Link className="dsh-kpi dsh-kpi-link" to="/tickets"><span className="dsh-k">Open defects</span><span className="dsh-v"><CountUp value={openDefects.length} /></span>
|
| 103 |
<span className="dsh-n">Confirmed by a person from failed tests</span></Link>
|
| 104 |
-
<div className="dsh-kpi" data-hot={waiting.length > 0 || undefined}><span className="dsh-k">Waiting for you</span><span className="dsh-v"><CountUp value={waiting.length} /></span>
|
| 105 |
<span className="dsh-n">{waiting.length ? 'Approvals and failures to decide' : 'Nothing needs you right now'}</span></div>
|
| 106 |
</section>
|
| 107 |
|
|
@@ -122,7 +123,7 @@ export function HomeBento({ mods, lastFor, podName, patch }: { mods: ModuleReadi
|
|
| 122 |
|
| 123 |
<div className="dsh-row dsh-row-main">
|
| 124 |
<section className="dsh-panel" aria-label="Readiness by business area">
|
| 125 |
-
<header className="dsh-ph"><h2>Readiness by business area</h2><Link to="/runs" className="dsh-link">All test runs</Link></header>
|
| 126 |
<div className="dsh-table" role="table" aria-label="Business areas">
|
| 127 |
<div className="dsh-tr dsh-th" role="row"><span role="columnheader">Business area</span><span role="columnheader">Scenarios</span><span role="columnheader">Changes covered</span><span role="columnheader">Last run</span><span role="columnheader">Verdict</span></div>
|
| 128 |
{states.map(({ m, tone, words }) => {
|
|
@@ -145,8 +146,8 @@ export function HomeBento({ mods, lastFor, podName, patch }: { mods: ModuleReadi
|
|
| 145 |
</section>
|
| 146 |
|
| 147 |
<section className="dsh-panel" aria-label="Waiting for a decision">
|
| 148 |
-
<header className="dsh-ph"><h2>Waiting for a decision</h2>{waiting.length > 0 && <span className="dsh-count" data-tone="orange">{waiting.length}</span>}</header>
|
| 149 |
-
{waiting.length === 0 && <p className="dsh-empty">Nothing needs you right now.</p>}
|
| 150 |
<ul className="dsh-list">
|
| 151 |
{waiting.slice(0, 6).map((r, i) => (
|
| 152 |
<li key={r.run_id}>
|
|
@@ -161,22 +162,22 @@ export function HomeBento({ mods, lastFor, podName, patch }: { mods: ModuleReadi
|
|
| 161 |
|
| 162 |
<div className="dsh-row dsh-row-3">
|
| 163 |
<section className="dsh-panel" aria-label="Patch change coverage">
|
| 164 |
-
<header className="dsh-ph"><h2>Patch change coverage</h2></header>
|
| 165 |
<div className="dsh-donut-row">
|
| 166 |
<span className="dsh-donut" style={{ ['--pct' as string]: `${covPct}%` }} role="img" aria-label={`${covPct}% of the patch's changes are covered by a test`}><span>{covPct}%</span></span>
|
| 167 |
<span className="dsh-donut-keys"><span><b>{covered}</b> covered</span><span><b>{gaps}</b> without a test</span>{gaps > 0 && <a className="dsh-link" href="#patch-changes">Show the gaps</a>}</span>
|
| 168 |
</div>
|
| 169 |
</section>
|
| 170 |
<section className="dsh-panel" aria-label="Scenarios">
|
| 171 |
-
<header className="dsh-ph"><h2>Scenarios of this patch</h2><span className="dsh-n">{total}</span></header>
|
| 172 |
<div className="dsh-pad">
|
| 173 |
<Bar parts={[['pass', g.passed], ['fail', g.failed], ['wait', g.waiting], ['skip', g.notRun]]} label={`${g.passed} passed, ${g.failed} failing, ${g.waiting} to approve, ${g.notRun} not run`} />
|
| 174 |
<span className="dsh-keys"><span><i data-k="pass" />{g.passed} passed</span><span><i data-k="fail" />{g.failed} failing</span><span><i data-k="wait" />{g.waiting} to approve</span><span><i data-k="skip" />{g.notRun} not run</span></span>
|
| 175 |
</div>
|
| 176 |
</section>
|
| 177 |
<section className="dsh-panel" aria-label="Open defects">
|
| 178 |
-
<header className="dsh-ph"><h2>Open defects</h2><Link to="/tickets" className="dsh-link">All defects</Link></header>
|
| 179 |
-
{openDefects.length === 0 && <p className="dsh-empty">No open defects.</p>}
|
| 180 |
<ul className="dsh-list">
|
| 181 |
{openDefects.slice(0, 4).map((t) => (
|
| 182 |
<li key={t.ticket_id}><span className="dsh-dot" data-tone="red" aria-hidden /><span className="dsh-li-t"><b>{t.ticket_id}</b><span className="dsh-n">{t.case_id} · {shortWhen(t.created_at)}</span></span>
|
|
@@ -187,13 +188,13 @@ export function HomeBento({ mods, lastFor, podName, patch }: { mods: ModuleReadi
|
|
| 187 |
</div>
|
| 188 |
|
| 189 |
<section className="dsh-panel" aria-label="Test activity">
|
| 190 |
-
<header className="dsh-ph"><h2>Test activity</h2><span className="dsh-n">test runs per day, last 12 months</span></header>
|
| 191 |
<div className="dsh-pad dsh-activity"><GitHubActivityGrid days={activity} /></div>
|
| 192 |
</section>
|
| 193 |
|
| 194 |
<div className="dsh-row dsh-row-main">
|
| 195 |
<section className="dsh-panel" aria-label="Recent test runs">
|
| 196 |
-
<header className="dsh-ph"><h2>Recent test runs</h2><Link to="/runs" className="dsh-link">View all</Link></header>
|
| 197 |
{items.length === 0 && <p className="dsh-empty">No test runs yet. Start one with New test run.</p>}
|
| 198 |
<ul className="dsh-list">
|
| 199 |
{items.slice(0, 6).map((r) => (
|
|
@@ -206,7 +207,7 @@ export function HomeBento({ mods, lastFor, podName, patch }: { mods: ModuleReadi
|
|
| 206 |
</ul>
|
| 207 |
</section>
|
| 208 |
<section className="dsh-panel" aria-label="What your coworkers did">
|
| 209 |
-
<header className="dsh-ph"><h2>What your coworkers did</h2></header>
|
| 210 |
{notices.items.length === 0 && <p className="dsh-empty">Nothing yet. Their updates appear here as runs move.</p>}
|
| 211 |
<ul className="dsh-list">
|
| 212 |
{notices.items.slice(0, 5).map((n) => (
|
|
|
|
| 9 |
import type { Schemas } from '../api/client';
|
| 10 |
import { GitHubActivityGrid, type ActivityDay } from '../components/wensity/github-activity-grid';
|
| 11 |
import { CountUp } from '../components/CountUp';
|
| 12 |
+
import { IconActivity, IconBug, IconChecklist, IconHourglass, IconListCheck, IconRadar, IconShieldCheck, IconSparkles, IconTicket, IconClock } from '@/icons';
|
| 13 |
import { TextHighlight } from '../components/wensity/text-highlight';
|
| 14 |
import './home-bento.css';
|
| 15 |
|
|
|
|
| 93 |
</section>
|
| 94 |
|
| 95 |
<section className="dsh-kpis" aria-label="Readiness">
|
| 96 |
+
<div className="dsh-kpi"><span className="dsh-khead"><span className="dsh-ki" aria-hidden><IconShieldCheck size={16} /></span><span className="dsh-k">Overall verdict</span></span><span className="dsh-v" data-tone={verdict.tone}>{verdict.words}</span>
|
| 97 |
<span className="dsh-n">{ready} of {plural(mods.length, 'area')} ready{patch ? ` · patch ${patch}` : ''}{podName ? ` · ${podName}` : ''}</span></div>
|
| 98 |
+
<div className="dsh-kpi"><span className="dsh-khead"><span className="dsh-ki" aria-hidden><IconChecklist size={16} /></span><span className="dsh-k">Scenarios passed</span></span><span className="dsh-v"><CountUp value={pct} suffix="%" /></span>
|
| 99 |
<Bar parts={[['pass', g.passed], ['fail', g.failed], ['wait', g.waiting], ['skip', g.notRun]]} label={`${g.passed} passed, ${g.failed} failing, ${g.waiting} to approve, ${g.notRun} not run`} />
|
| 100 |
<span className="dsh-n">{g.passed} of {total} · {g.failed} failing</span></div>
|
| 101 |
+
<div className="dsh-kpi"><span className="dsh-khead"><span className="dsh-ki" aria-hidden><IconRadar size={16} /></span><span className="dsh-k">Patch changes covered</span></span><span className="dsh-v"><CountUp value={covered} /><small> / {changes.length}</small></span>
|
| 102 |
<span className="dsh-n">{gaps ? `${plural(gaps, 'change')} without a test` : changes.length ? 'Every change has a test' : 'No changes read yet'}</span></div>
|
| 103 |
+
<Link className="dsh-kpi dsh-kpi-link" to="/tickets"><span className="dsh-khead"><span className="dsh-ki" aria-hidden><IconBug size={16} /></span><span className="dsh-k">Open defects</span></span><span className="dsh-v"><CountUp value={openDefects.length} /></span>
|
| 104 |
<span className="dsh-n">Confirmed by a person from failed tests</span></Link>
|
| 105 |
+
<div className="dsh-kpi" data-hot={waiting.length > 0 || undefined}><span className="dsh-khead"><span className="dsh-ki" aria-hidden><IconHourglass size={16} /></span><span className="dsh-k">Waiting for you</span></span><span className="dsh-v"><CountUp value={waiting.length} /></span>
|
| 106 |
<span className="dsh-n">{waiting.length ? 'Approvals and failures to decide' : 'Nothing needs you right now'}</span></div>
|
| 107 |
</section>
|
| 108 |
|
|
|
|
| 123 |
|
| 124 |
<div className="dsh-row dsh-row-main">
|
| 125 |
<section className="dsh-panel" aria-label="Readiness by business area">
|
| 126 |
+
<header className="dsh-ph"><h2><span className="dsh-hi" aria-hidden><IconListCheck size={15} /></span>Readiness by business area</h2><Link to="/runs" className="dsh-link">All test runs</Link></header>
|
| 127 |
<div className="dsh-table" role="table" aria-label="Business areas">
|
| 128 |
<div className="dsh-tr dsh-th" role="row"><span role="columnheader">Business area</span><span role="columnheader">Scenarios</span><span role="columnheader">Changes covered</span><span role="columnheader">Last run</span><span role="columnheader">Verdict</span></div>
|
| 129 |
{states.map(({ m, tone, words }) => {
|
|
|
|
| 146 |
</section>
|
| 147 |
|
| 148 |
<section className="dsh-panel" aria-label="Waiting for a decision">
|
| 149 |
+
<header className="dsh-ph"><h2><span className="dsh-hi" aria-hidden><IconHourglass size={15} /></span>Waiting for a decision</h2>{waiting.length > 0 && <span className="dsh-count" data-tone="orange">{waiting.length}</span>}</header>
|
| 150 |
+
{waiting.length === 0 && <p className="dsh-empty"><span className="dsh-empty-i" aria-hidden><IconShieldCheck size={18} /></span>Nothing needs you right now.</p>}
|
| 151 |
<ul className="dsh-list">
|
| 152 |
{waiting.slice(0, 6).map((r, i) => (
|
| 153 |
<li key={r.run_id}>
|
|
|
|
| 162 |
|
| 163 |
<div className="dsh-row dsh-row-3">
|
| 164 |
<section className="dsh-panel" aria-label="Patch change coverage">
|
| 165 |
+
<header className="dsh-ph"><h2><span className="dsh-hi" aria-hidden><IconRadar size={15} /></span>Patch change coverage</h2></header>
|
| 166 |
<div className="dsh-donut-row">
|
| 167 |
<span className="dsh-donut" style={{ ['--pct' as string]: `${covPct}%` }} role="img" aria-label={`${covPct}% of the patch's changes are covered by a test`}><span>{covPct}%</span></span>
|
| 168 |
<span className="dsh-donut-keys"><span><b>{covered}</b> covered</span><span><b>{gaps}</b> without a test</span>{gaps > 0 && <a className="dsh-link" href="#patch-changes">Show the gaps</a>}</span>
|
| 169 |
</div>
|
| 170 |
</section>
|
| 171 |
<section className="dsh-panel" aria-label="Scenarios">
|
| 172 |
+
<header className="dsh-ph"><h2><span className="dsh-hi" aria-hidden><IconChecklist size={15} /></span>Scenarios of this patch</h2><span className="dsh-n">{total}</span></header>
|
| 173 |
<div className="dsh-pad">
|
| 174 |
<Bar parts={[['pass', g.passed], ['fail', g.failed], ['wait', g.waiting], ['skip', g.notRun]]} label={`${g.passed} passed, ${g.failed} failing, ${g.waiting} to approve, ${g.notRun} not run`} />
|
| 175 |
<span className="dsh-keys"><span><i data-k="pass" />{g.passed} passed</span><span><i data-k="fail" />{g.failed} failing</span><span><i data-k="wait" />{g.waiting} to approve</span><span><i data-k="skip" />{g.notRun} not run</span></span>
|
| 176 |
</div>
|
| 177 |
</section>
|
| 178 |
<section className="dsh-panel" aria-label="Open defects">
|
| 179 |
+
<header className="dsh-ph"><h2><span className="dsh-hi" aria-hidden><IconTicket size={15} /></span>Open defects</h2><Link to="/tickets" className="dsh-link">All defects</Link></header>
|
| 180 |
+
{openDefects.length === 0 && <p className="dsh-empty"><span className="dsh-empty-i" aria-hidden><IconBug size={18} /></span>No open defects.</p>}
|
| 181 |
<ul className="dsh-list">
|
| 182 |
{openDefects.slice(0, 4).map((t) => (
|
| 183 |
<li key={t.ticket_id}><span className="dsh-dot" data-tone="red" aria-hidden /><span className="dsh-li-t"><b>{t.ticket_id}</b><span className="dsh-n">{t.case_id} · {shortWhen(t.created_at)}</span></span>
|
|
|
|
| 188 |
</div>
|
| 189 |
|
| 190 |
<section className="dsh-panel" aria-label="Test activity">
|
| 191 |
+
<header className="dsh-ph"><h2><span className="dsh-hi" aria-hidden><IconActivity size={15} /></span>Test activity</h2><span className="dsh-n">test runs per day, last 12 months</span></header>
|
| 192 |
<div className="dsh-pad dsh-activity"><GitHubActivityGrid days={activity} /></div>
|
| 193 |
</section>
|
| 194 |
|
| 195 |
<div className="dsh-row dsh-row-main">
|
| 196 |
<section className="dsh-panel" aria-label="Recent test runs">
|
| 197 |
+
<header className="dsh-ph"><h2><span className="dsh-hi" aria-hidden><IconClock size={15} /></span>Recent test runs</h2><Link to="/runs" className="dsh-link">View all</Link></header>
|
| 198 |
{items.length === 0 && <p className="dsh-empty">No test runs yet. Start one with New test run.</p>}
|
| 199 |
<ul className="dsh-list">
|
| 200 |
{items.slice(0, 6).map((r) => (
|
|
|
|
| 207 |
</ul>
|
| 208 |
</section>
|
| 209 |
<section className="dsh-panel" aria-label="What your coworkers did">
|
| 210 |
+
<header className="dsh-ph"><h2><span className="dsh-hi" aria-hidden><IconSparkles size={15} /></span>What your coworkers did</h2></header>
|
| 211 |
{notices.items.length === 0 && <p className="dsh-empty">Nothing yet. Their updates appear here as runs move.</p>}
|
| 212 |
<ul className="dsh-list">
|
| 213 |
{notices.items.slice(0, 5).map((n) => (
|
web/src/pages/home-bento.css
CHANGED
|
@@ -29,7 +29,7 @@
|
|
| 29 |
.dsh-bar i[data-k='skip'], .dsh-keys i[data-k='skip'] { background: var(--status-idle); }
|
| 30 |
|
| 31 |
/* pinned: the latest run of each area */
|
| 32 |
-
.dsh-pins { display: grid; grid-template-columns: repeat(
|
| 33 |
.dsh-pin { display: flex; flex-direction: column; gap: 8px; padding: var(--sp-3) var(--sp-4); background: var(--bg-elev); border-radius: var(--r-lg);
|
| 34 |
box-shadow: var(--sh-card); color: var(--label); text-decoration: none; min-width: 0; transition: box-shadow var(--d1); }
|
| 35 |
.dsh-pin:hover { box-shadow: 0 0 0 1px var(--sep-strong), 0 4px 12px rgba(27, 19, 64, 0.06); text-decoration: none; }
|
|
|
|
| 29 |
.dsh-bar i[data-k='skip'], .dsh-keys i[data-k='skip'] { background: var(--status-idle); }
|
| 30 |
|
| 31 |
/* pinned: the latest run of each area */
|
| 32 |
+
.dsh-pins { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-3); }
|
| 33 |
.dsh-pin { display: flex; flex-direction: column; gap: 8px; padding: var(--sp-3) var(--sp-4); background: var(--bg-elev); border-radius: var(--r-lg);
|
| 34 |
box-shadow: var(--sh-card); color: var(--label); text-decoration: none; min-width: 0; transition: box-shadow var(--d1); }
|
| 35 |
.dsh-pin:hover { box-shadow: 0 0 0 1px var(--sep-strong), 0 4px 12px rgba(27, 19, 64, 0.06); text-decoration: none; }
|
web/src/pages/report.css
CHANGED
|
@@ -77,7 +77,9 @@
|
|
| 77 |
.rpt-big { display: block; width: 100%; border-radius: var(--r-md); margin-bottom: var(--sp-2); }
|
| 78 |
|
| 79 |
/* ------------------------------------------------------------------ side panel tabs */
|
| 80 |
-
.rpt-mini { display: grid; grid-template-columns: repeat(
|
|
|
|
|
|
|
| 81 |
.rpt-mini > div { padding: var(--sp-2) var(--sp-3); border: 1px solid var(--sep); border-radius: var(--r-md); background: var(--bg-elev); }
|
| 82 |
.rpt-mini dt { font-size: var(--fs-2xs); line-height: var(--lh-2xs); color: var(--label-2); text-transform: none; letter-spacing: var(--ls-caps); }
|
| 83 |
.rpt-mini dd { margin: 2px 0 0; font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: var(--fw-semibold); color: var(--label); }
|
|
|
|
| 77 |
.rpt-big { display: block; width: 100%; border-radius: var(--r-md); margin-bottom: var(--sp-2); }
|
| 78 |
|
| 79 |
/* ------------------------------------------------------------------ side panel tabs */
|
| 80 |
+
.rpt-mini { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--sp-2); margin: 0; }
|
| 81 |
+
.rpt-mini > div { grid-column: span 2; }
|
| 82 |
+
.rpt-mini > div:nth-child(n+4) { grid-column: span 3; }
|
| 83 |
.rpt-mini > div { padding: var(--sp-2) var(--sp-3); border: 1px solid var(--sep); border-radius: var(--r-md); background: var(--bg-elev); }
|
| 84 |
.rpt-mini dt { font-size: var(--fs-2xs); line-height: var(--lh-2xs); color: var(--label-2); text-transform: none; letter-spacing: var(--ls-caps); }
|
| 85 |
.rpt-mini dd { margin: 2px 0 0; font-size: var(--fs-lg); line-height: var(--lh-lg); font-weight: var(--fw-semibold); color: var(--label); }
|
web/src/tokens.css
CHANGED
|
@@ -11,34 +11,38 @@
|
|
| 11 |
|
| 12 |
/* ------------------------------------------------------------------ 1. colour */
|
| 13 |
html:root, html:root[data-mantine-color-scheme='light'] {
|
| 14 |
-
/*
|
| 15 |
-
--bg: #
|
| 16 |
-
--mat-sidebar: rgba(
|
| 17 |
-
--mat-sidebar-solid: #
|
| 18 |
-
--fill: rgba(
|
| 19 |
-
--sep: #
|
| 20 |
-
--scrim: rgba(
|
| 21 |
-
--wash-a: rgba(255, 255, 255, 0.6); --wash-b: rgba(
|
| 22 |
-
--seg-thumb: #ffffff; --chrome-a: #
|
| 23 |
-
/* text:
|
| 24 |
-
--label: #
|
| 25 |
-
|
| 26 |
-
--accent: #
|
| 27 |
-
--accent-text: #
|
| 28 |
-
--violet-strong: #
|
| 29 |
-
--pulse: rgba(
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
--
|
| 33 |
-
--
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
--orange-line: var(--orange-dot); --red-line: var(--red-dot); --green-line: var(--green-dot);
|
| 35 |
-
|
| 36 |
-
--
|
| 37 |
-
--
|
| 38 |
-
|
| 39 |
-
--sh-
|
| 40 |
-
--
|
| 41 |
-
--sh-seg: 0 0.5px 1px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
|
| 42 |
}
|
| 43 |
html:root[data-mantine-color-scheme='dark'] {
|
| 44 |
/* Ember (after Sheryians): a black canvas, cards one step up, a warm orange glow behind page heads */
|
|
@@ -70,6 +74,9 @@ html:root[data-mantine-color-scheme='dark'] {
|
|
| 70 |
--sh-card: 0 0 0 1px var(--sep);
|
| 71 |
--sh-pop: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2px 6px rgba(0, 0, 0, 0.5), 0 20px 56px rgba(0, 0, 0, 0.7);
|
| 72 |
--sh-seg: 0 0.5px 1px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
|
|
|
|
|
|
|
|
|
|
| 73 |
--fpt-status-running: var(--blue);
|
| 74 |
}
|
| 75 |
/* accessibility preferences (after the scheme blocks, same specificity: these win in both schemes) */
|
|
|
|
| 11 |
|
| 12 |
/* ------------------------------------------------------------------ 1. colour */
|
| 13 |
html:root, html:root[data-mantine-color-scheme='light'] {
|
| 14 |
+
/* Ember light (after Sheryians' cream sections): a cream page, white cards, near-black text, the same orange */
|
| 15 |
+
--bg: #fdf6f1; --bg-base: #fdf6f1; --bg-elev: #ffffff; --bg-elev-2: #fffaf7;
|
| 16 |
+
--mat-sidebar: rgba(253, 246, 241, 0.96); --mat-bar: rgba(253, 246, 241, 0.82); --mat-pop: rgba(255, 255, 255, 0.98);
|
| 17 |
+
--mat-sidebar-solid: #fdf6f1; --mat-bar-solid: #fdf6f1; --mat-pop-solid: #ffffff;
|
| 18 |
+
--fill: rgba(20, 12, 8, 0.04); --fill-2: rgba(20, 12, 8, 0.07); --fill-3: rgba(20, 12, 8, 0.11);
|
| 19 |
+
--sep: #efe2da; --sep-strong: #e2cfc3; --ring: rgba(0, 0, 0, 0.06);
|
| 20 |
+
--scrim: rgba(20, 12, 8, 0.32); --hero-a: #1a0d07; --hero-b: #0a0a0a;
|
| 21 |
+
--wash-a: rgba(255, 255, 255, 0.6); --wash-b: rgba(20, 12, 8, 0.04);
|
| 22 |
+
--seg-thumb: #ffffff; --chrome-a: #f5ede8; --chrome-b: #ece2db; --chrome-url-bg: #ffffff; --chrome-url-fg: #6e6661;
|
| 23 |
+
/* text: all AA on the cream page and on white cards */
|
| 24 |
+
--label: #0b0b0b; --label-2: #4a4440; --label-3: #6e6661; --ph: #7a716b;
|
| 25 |
+
--ember: #e8602e; --ember-deep: #c4471a;
|
| 26 |
+
--accent: #c4471a; --accent-hover: #a93b14; --accent-press: #8f3211; --on-accent: #ffffff;
|
| 27 |
+
--accent-text: #b43f15; --accent-soft: rgba(232, 96, 46, 0.10); --accent-soft-2: rgba(232, 96, 46, 0.18);
|
| 28 |
+
--violet-strong: #e8602e; --rail: #0b0b0b; --rail-ink: #9a9a9a; --rail-on: #ffffff; --rail-on-bg: #1a1a1a;
|
| 29 |
+
--pulse: rgba(232, 96, 46, 0.35); --focus: #c4471a; --focus-gap: #ffffff;
|
| 30 |
+
--glow: radial-gradient(60% 70% at 50% 0%, rgba(232, 96, 46, 0.14), rgba(232, 96, 46, 0.04) 45%, transparent 75%);
|
| 31 |
+
/* the few surfaces the Ember sheet paints: the canvas, the card sheen, tinted headers, row lines, menus */
|
| 32 |
+
--canvas: #fdf6f1; --sheen-a: rgba(255, 255, 255, 0); --sheen-b: rgba(255, 255, 255, 0); --tint: rgba(20, 12, 8, 0.025);
|
| 33 |
+
--row-line: rgba(20, 12, 8, 0.07); --menu-bg: #ffffff; --menu-shadow: 0 0 0 1px var(--sep-strong), 0 20px 50px rgba(20, 12, 8, 0.14);
|
| 34 |
+
--btn-sheen: rgba(255, 255, 255, 0.22); --hero-ink: #0b0b0b;
|
| 35 |
+
/* status: passed green, failed red, waiting amber, running blue (never the brand orange) */
|
| 36 |
+
--green: #15803d; --green-soft: #e8f6ee; --green-dot: #22c55e;
|
| 37 |
+
--orange: #8a5200; --orange-soft: #fdf1dc; --orange-dot: #f59e0b;
|
| 38 |
+
--red: #b42318; --red-soft: #fdecea; --red-dot: #ef4444;
|
| 39 |
--orange-line: var(--orange-dot); --red-line: var(--red-dot); --green-line: var(--green-dot);
|
| 40 |
+
--blue: #1d4ed8; --blue-soft: rgba(59, 130, 246, 0.12); --violet: #5b33c9; --violet-soft: rgba(124, 77, 255, 0.14); --teal: #00756c; --teal-soft: rgba(0, 166, 153, 0.14);
|
| 41 |
+
--status-pass: var(--green-dot); --status-fail: var(--red-dot); --status-wait: var(--orange-dot); --status-idle: #c9bdb4;
|
| 42 |
+
--sh-card: 0 0 0 1px var(--sep), 0 1px 2px rgba(20, 12, 8, 0.04);
|
| 43 |
+
--sh-pop: 0 0 0 1px rgba(20, 12, 8, 0.08), 0 2px 6px rgba(20, 12, 8, 0.08), 0 16px 48px rgba(20, 12, 8, 0.16);
|
| 44 |
+
--sh-seg: 0 0.5px 1px rgba(20, 12, 8, 0.12), 0 2px 6px rgba(20, 12, 8, 0.08);
|
| 45 |
+
--fpt-status-running: var(--blue);
|
|
|
|
| 46 |
}
|
| 47 |
html:root[data-mantine-color-scheme='dark'] {
|
| 48 |
/* Ember (after Sheryians): a black canvas, cards one step up, a warm orange glow behind page heads */
|
|
|
|
| 74 |
--sh-card: 0 0 0 1px var(--sep);
|
| 75 |
--sh-pop: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 2px 6px rgba(0, 0, 0, 0.5), 0 20px 56px rgba(0, 0, 0, 0.7);
|
| 76 |
--sh-seg: 0 0.5px 1px rgba(0, 0, 0, 0.5), 0 2px 6px rgba(0, 0, 0, 0.4);
|
| 77 |
+
--canvas: #000000; --sheen-a: rgba(255, 255, 255, 0.035); --sheen-b: rgba(255, 255, 255, 0.012); --tint: rgba(255, 255, 255, 0.03);
|
| 78 |
+
--row-line: rgba(255, 255, 255, 0.06); --menu-bg: #111111; --menu-shadow: 0 0 0 1px var(--sep-strong), 0 24px 60px rgba(0, 0, 0, 0.7);
|
| 79 |
+
--btn-sheen: rgba(255, 255, 255, 0.18); --hero-ink: #ffffff;
|
| 80 |
--fpt-status-running: var(--blue);
|
| 81 |
}
|
| 82 |
/* accessibility preferences (after the scheme blocks, same specificity: these win in both schemes) */
|