Skip to content

Commit a89c9c0

Browse files
committed
feat: add runPath and runCwd to DocCommand and DocData interfaces
chore: remove obsolete .last-run.json file from test results test: add error context for terminal behavior during long output rendering test: add error context for terminal rendering of ANSI colors split across chunks test: add error context for terminal rendering with leaking raw HTML markup test: add error context for terminal rendering of template source text test: add error context for terminal switching command and showing new output test: add error context for terminal virtualization of rendered lines during scrolling docs: update lessons with new rules for project-scoped test runs docs: add new tasks for Food Guru ingredient editing implementation
1 parent bfb9fed commit a89c9c0

44 files changed

Lines changed: 7589 additions & 2247 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/food-guru/client/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"preview": "vite preview"
1010
},
1111
"dependencies": {
12+
"@arcmantle/chronicle": "workspace:^",
1213
"@arcmantle/pivot-client-router": "workspace:^",
1314
"lit": "catalog:apps",
1415
"tslib": "catalog:apps"

apps/food-guru/client/src/components/food-guru-layout.ts

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,15 @@ export class FoodGuruLayout extends LitElement {
154154

155155
static override styles = css`
156156
:host {
157-
--fg-bg: #f4f6f8;
158-
--fg-surface: #ffffff;
159-
--fg-border: #dde3ea;
160-
--fg-text: #10243a;
161-
--fg-text-muted: #58708a;
162-
--fg-primary: #2f7ad6;
157+
--fg-bg: #0f131a;
158+
--fg-surface: #161d27;
159+
--fg-surface-soft: #1c2430;
160+
--fg-border: #2a3645;
161+
--fg-text: #e7edf5;
162+
--fg-text-muted: #9cb0c6;
163+
--fg-primary: #6ea8ff;
164+
--fg-primary-soft: #223754;
165+
color-scheme: dark;
163166
display: flex;
164167
flex-direction: column;
165168
min-height: 100vh;
@@ -199,11 +202,11 @@ export class FoodGuruLayout extends LitElement {
199202
font-size: 14px;
200203
font-weight: 500;
201204
&:hover {
202-
background: #eff4fb;
205+
background: var(--fg-surface-soft);
203206
color: var(--fg-primary);
204207
}
205208
&[data-active] {
206-
background: #e9f2ff;
209+
background: var(--fg-primary-soft);
207210
color: var(--fg-primary);
208211
}
209212
}
@@ -232,13 +235,15 @@ export class FoodGuruLayout extends LitElement {
232235
padding: 8px 16px;
233236
font-size: 13px;
234237
color: var(--fg-primary);
235-
background: #e9f2ff;
238+
background: var(--fg-primary-soft);
236239
border-bottom: 1px solid var(--fg-border);
237240
}
238241
main {
239242
flex: 1;
240243
display: grid;
241-
padding: 16px;
244+
padding: 0;
245+
min-height: 0;
246+
overflow: hidden;
242247
}
243248
`;
244249

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
html,
2+
body {
3+
margin: 0;
4+
padding: 0;
5+
width: 100%;
6+
height: 100%;
7+
overflow: hidden;
8+
}
9+
10+
body {
11+
background: #0f131a;
12+
color: #e7edf5;
13+
}
14+
15+
16+
/* must define property to work properly for all browsers */
17+
@property --wc-loaded {
18+
syntax: "<number>";
19+
inherits: true;
20+
initial-value: 0;
21+
}
22+
23+
body {
24+
/* start timeout regardless if there are undefined components */
25+
animation: showBody 0s linear 200ms forwards;
26+
27+
/* if there are undefined components, hide until defined or 200ms - whichever comes first */
28+
&:has(:not(:defined)) {
29+
opacity: var(--wc-loaded, 0);
30+
}
31+
}
32+
33+
/* update variable to prevent opactity flash for subsequent component loads */
34+
@keyframes showBody {
35+
to {
36+
--wc-loaded: 1;
37+
}
38+
}

apps/food-guru/client/src/main.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import './global.css';
12
import './app.ts';
23

34

0 commit comments

Comments
 (0)