@fungi.computer/bonsai 0.6.42 → 0.6.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,30 @@
1
1
  # @fungi.computer/bonsai
2
2
 
3
+ ## 0.6.44
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - Updated dependencies
9
+ - @fungi.computer/oyster@0.20.6
10
+ - @fungi.computer/trellis@0.10.12
11
+
12
+ ## 0.6.43
13
+
14
+ ### Patch Changes
15
+
16
+ - Changes since 0.6.42:
17
+
18
+ - fix(bonsai): start the Working now label at its rows' edge
19
+ - fix(tourtois,bonsai): tighten desktop, Settings and Bonsai alignment
20
+
21
+ - Updated dependencies
22
+ - Updated dependencies
23
+ - Updated dependencies
24
+ - @fungi.computer/caps@0.10.7
25
+ - @fungi.computer/oyster@0.20.5
26
+ - @fungi.computer/trellis@0.10.11
27
+
3
28
  ## 0.6.42
4
29
 
5
30
  ### Patch Changes
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@fungi.computer/bonsai",
3
- "version": "0.6.42",
3
+ "version": "0.6.44",
4
4
  "author": "Levi <levi@technomancy.dev>",
5
5
  "type": "module",
6
6
  "description": "Bonsai: a git platform for many agents working at once, on Workers and Artifacts",
7
7
  "dependencies": {
8
8
  "@fungi.computer/agar": "0.9.1",
9
- "@fungi.computer/caps": "0.10.6",
9
+ "@fungi.computer/caps": "0.10.7",
10
10
  "@fungi.computer/issues": "0.2.0",
11
- "@fungi.computer/oyster": "0.20.4",
11
+ "@fungi.computer/oyster": "0.20.6",
12
12
  "@fungi.computer/puffball": "0.5.5",
13
13
  "@fungi.computer/sigils": "0.3.1",
14
14
  "@fungi.computer/stipe": "0.1.1",
@@ -30,7 +30,7 @@
30
30
  "@visx/hierarchy": "3.12.0",
31
31
  "@fungi.computer/gills": "0.3.0",
32
32
  "@fungi.computer/nacre": "0.4.6",
33
- "@fungi.computer/trellis": "0.10.10",
33
+ "@fungi.computer/trellis": "0.10.12",
34
34
  "@fungi.computer/braid": "0.4.8",
35
35
  "@fungi.computer/workflows-wire": "0.4.8"
36
36
  },
package/web/bonsai.css CHANGED
@@ -158,6 +158,10 @@ body {
158
158
  padding: 0;
159
159
  list-style: none;
160
160
  }
161
+ /* The rows below have no row padding, so the label starts at their edge. */
162
+ .bonsai-working-heading {
163
+ padding-inline: 0;
164
+ }
161
165
  .bonsai-working li {
162
166
  display: grid;
163
167
  grid-template-columns: auto minmax(0, 1fr) auto;
@@ -393,6 +397,17 @@ body {
393
397
  .bonsai-markdown.bonsai-markdown-tile {
394
398
  padding: 0;
395
399
  }
400
+ /* The change description starts at the meta line's edge. */
401
+ .bonsai-change-body > .bonsai-markdown {
402
+ padding-inline: 0;
403
+ }
404
+ /* Tile bodies start at the tile's own padding, like the text around them. */
405
+ .bonsai-next-list > .list-row {
406
+ padding-inline: 0;
407
+ }
408
+ .bonsai-tile-content .caps-screen-cells {
409
+ margin-inline: calc(var(--spacing-md) * -1);
410
+ }
396
411
  .bonsai-change-list .list-row {
397
412
  grid-template-columns: minmax(0, 1fr) auto;
398
413
  align-items: center;
@@ -485,6 +500,10 @@ body {
485
500
  }
486
501
  }
487
502
  @media (max-width: 640px) {
503
+ /* Zoom buttons get their own row above the lanes instead of covering them. */
504
+ .bonsai-network {
505
+ padding-block-start: var(--caps-touch-target, 2.75rem);
506
+ }
488
507
  .bonsai-page {
489
508
  padding: var(--spacing-lg) var(--spacing-lg) var(--spacing-2xl);
490
509
  }
@@ -442,7 +442,11 @@ export function ChangePage({ repo, number }: { repo: string; number: number }) {
442
442
  </>
443
443
  ) : null}
444
444
  </p>
445
- {change.body ? <Markdown text={change.body} /> : null}
445
+ {change.body ? (
446
+ <div className="bonsai-change-body">
447
+ <Markdown text={change.body} />
448
+ </div>
449
+ ) : null}
446
450
  {change.conflict ? (
447
451
  <Alert
448
452
  tone="warning"
package/web/home-page.tsx CHANGED
@@ -322,7 +322,9 @@ export function HomePage({ live }: { live: LiveState }) {
322
322
  <>
323
323
  {workingNow(events.data.events).length ? (
324
324
  <>
325
- <DataListHeading>Working now</DataListHeading>
325
+ <DataListHeading className="bonsai-working-heading">
326
+ Working now
327
+ </DataListHeading>
326
328
  <WorkingNow events={events.data.events} colors={colors} />
327
329
  </>
328
330
  ) : null}
package/web/overview.tsx CHANGED
@@ -177,7 +177,9 @@ export function Overview({
177
177
  <>
178
178
  {working.length > 0 ? (
179
179
  <>
180
- <DataListHeading>Working now</DataListHeading>
180
+ <DataListHeading className="bonsai-working-heading">
181
+ Working now
182
+ </DataListHeading>
181
183
  <WorkingNow events={activity} colors={colors} />
182
184
  </>
183
185
  ) : null}
@@ -232,7 +234,7 @@ export function Overview({
232
234
  add(
233
235
  "next",
234
236
  <>
235
- <DataList>
237
+ <DataList className="bonsai-next-list">
236
238
  {next.slice(0, 3).map((issue) => (
237
239
  <DataRow key={issue.id}>
238
240
  <Link to={repoLink("issues", issue.path)}>{issue.title}</Link>