@design.estate/dees-catalog 22.1.0 → 22.3.0

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.
Files changed (55) hide show
  1. package/dist_bundle/bundle.js +2372 -1369
  2. package/dist_bundle/bundle.js.map +1 -1
  3. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-VIN4YGID.js → chunk-IGD4DLG4.js} +3 -3
  4. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-6I3PIV5F.js → chunk-MK42UYWT.js} +10 -6
  5. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-6I3PIV5F.js.map → chunk-MK42UYWT.js.map} +1 -1
  6. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-3SSZ4CDV.js → chunk-RITCTBBY.js} +2 -2
  7. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{de-STYNV6A3.js → de-TN6FRTSU.js} +10 -6
  8. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-TN6FRTSU.js.map +1 -0
  9. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-PULP7K3X.js → dees-modal-PLLCPO5V.js} +3 -3
  10. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-KEQHBOYE.js → dees-workspace-terminal-7N6EXGH6.js} +4 -4
  11. package/dist_ts_web/00_commitinfo_data.js +1 -1
  12. package/dist_ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.d.ts +16 -2
  13. package/dist_ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.demo.js +458 -57
  14. package/dist_ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.js +67 -34
  15. package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.d.ts +22 -2
  16. package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.demo.js +61 -7
  17. package/dist_ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.js +273 -27
  18. package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.d.ts +12 -0
  19. package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.demo.js +24 -2
  20. package/dist_ts_web/elements/00group-kanban/dees-kanban/dees-kanban.js +54 -7
  21. package/dist_ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.d.ts +13 -1
  22. package/dist_ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.js +80 -12
  23. package/dist_ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.d.ts +10 -0
  24. package/dist_ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.js +72 -4
  25. package/dist_ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.d.ts +12 -0
  26. package/dist_ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.js +73 -3
  27. package/dist_ts_web/elements/00group-kanban/kanban.firstload.d.ts +23 -0
  28. package/dist_ts_web/elements/00group-kanban/kanban.firstload.js +51 -0
  29. package/dist_ts_web/elements/00group-kanban/kanban.styles.d.ts +8 -0
  30. package/dist_ts_web/elements/00group-kanban/kanban.styles.js +47 -1
  31. package/dist_ts_web/i18n/de.d.ts +24 -8
  32. package/dist_ts_web/i18n/de.js +9 -5
  33. package/dist_ts_web/i18n/messages.d.ts +24 -8
  34. package/dist_ts_web/i18n/messages.js +9 -5
  35. package/package.json +1 -1
  36. package/readme.md +38 -5
  37. package/ts_web/00_commitinfo_data.ts +1 -1
  38. package/ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.demo.ts +504 -98
  39. package/ts_web/elements/00group-harness/dees-harness-resource-list/dees-harness-resource-list.ts +68 -33
  40. package/ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.demo.ts +41 -2
  41. package/ts_web/elements/00group-harness/dees-harness-session-list/dees-harness-session-list.ts +271 -25
  42. package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.demo.ts +23 -1
  43. package/ts_web/elements/00group-kanban/dees-kanban/dees-kanban.ts +60 -6
  44. package/ts_web/elements/00group-kanban/dees-kanban-activity/dees-kanban-activity.ts +88 -11
  45. package/ts_web/elements/00group-kanban/dees-kanban-card/dees-kanban-card.ts +60 -2
  46. package/ts_web/elements/00group-kanban/dees-kanban-column/dees-kanban-column.ts +61 -1
  47. package/ts_web/elements/00group-kanban/kanban.firstload.ts +54 -0
  48. package/ts_web/elements/00group-kanban/kanban.styles.ts +47 -0
  49. package/ts_web/i18n/de.ts +8 -4
  50. package/ts_web/i18n/messages.ts +8 -4
  51. package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/de-STYNV6A3.js.map +0 -1
  52. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-VIN4YGID.js.map → chunk-IGD4DLG4.js.map} +0 -0
  53. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{chunk-3SSZ4CDV.js.map → chunk-RITCTBBY.js.map} +0 -0
  54. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-modal-PULP7K3X.js.map → dees-modal-PLLCPO5V.js.map} +0 -0
  55. /package/dist_bundle/chunks/U6Ua8p1giFoD1s7vrUZUdpbg/{dees-workspace-terminal-KEQHBOYE.js.map → dees-workspace-terminal-7N6EXGH6.js.map} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design.estate/dees-catalog",
3
- "version": "22.1.0",
3
+ "version": "22.3.0",
4
4
  "private": false,
5
5
  "description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
6
6
  "main": "dist_ts_web/index.js",
package/readme.md CHANGED
@@ -5652,6 +5652,32 @@ lands at its end. Supply `.people` for the assignee picker, `.loading` for loadi
5652
5652
  and `.error` for a host-side board loading failure. Supply new `.tickets` arrays
5653
5653
  for external updates.
5654
5654
 
5655
+ The host owns `loading`. Its first load, `loading` while `.tickets` is empty and
5656
+ no `.error` is set, draws placeholder cards in the board's own columns, card
5657
+ shape and gaps, so the board that replaces them does not move: in the columns
5658
+ already set, under their names, else in four placeholder columns. The
5659
+ placeholders appear only after 200 ms of loading, so a quick load never flashes
5660
+ them, and pulse with the theme's `--dees-loading-pulse-*` tokens, still under
5661
+ reduced motion. After `DeesKanban.stillLoadingAfter` (10 s) the board says
5662
+ "Still loading board…" beside its heading, where the totals come, and the
5663
+ placeholders hold still. The columns are `aria-busy` while loading; a visually
5664
+ hidden status announces the load and the placeholders are hidden from assistive
5665
+ technology. With tickets on show, a refresh keeps them and shows the "Loading
5666
+ board…" line.
5667
+
5668
+ ```typescript
5669
+ board.loading = true; // tickets still empty: the first load
5670
+ try {
5671
+ const snapshot = await api.loadBoard();
5672
+ board.columns = snapshot.columns;
5673
+ board.tickets = snapshot.tickets;
5674
+ } catch (error) {
5675
+ board.error = String(error);
5676
+ } finally {
5677
+ board.loading = false;
5678
+ }
5679
+ ```
5680
+
5655
5681
  The board takes the height its host gives it: the remaining space of a flex
5656
5682
  column, or a box of definite height. Each column's cards scroll below its header
5657
5683
  while the page stays put, and an edge past which cards lie casts a
@@ -5689,7 +5715,8 @@ Public methods and events:
5689
5715
 
5690
5716
  `dees-kanban-column` accepts `.column`, `.tickets`, `.allTickets`, `.columns`,
5691
5717
  `.movable`, `.canCreate`, `.pendingTicketId`, `.draggingTicketId`, `.projects`,
5692
- `.showProjects` and `.collapsed`. It composes
5718
+ `.showProjects` and `.collapsed`; the board sets `.placeholderCards` and
5719
+ `.placeholderStalled` on its first load. It composes
5693
5720
  cards and forwards their open, create and Move menu requests, and a collapsible
5694
5721
  column's toggle as `kanban-column-toggle`. Its cards scroll below its header in
5695
5722
  `cardScroller` once the column's height runs out; a drag that scrolls them from a
@@ -5700,7 +5727,8 @@ Use it through `dees-kanban` for provider handling and board-local drag ownershi
5700
5727
  #### DeesKanbanCard
5701
5728
 
5702
5729
  `dees-kanban-card` accepts `.ticket`, `.epic`, `.subtasks`, `.columns`, `.movable`,
5703
- `.pending`, `.projectName` and `.autoLabelDefinitions`. It displays priority,
5730
+ `.pending`, `.projectName` and `.autoLabelDefinitions`; `placeholder` draws a
5731
+ loading placeholder in the card's shape, `stalled` holds it still. It displays priority,
5704
5732
  assignee, labels and AutoLabels, its project and completion counts.
5705
5733
  `kanban-ticket-open` identifies a requested ticket, and `kanban-move-menu` carries
5706
5734
  the ticket ID and anchor element. Secondary cards remain usable independently.
@@ -5776,7 +5804,10 @@ Set `.showHeader = false` where the host's own header names the discussion.
5776
5804
  `dees-kanban-activity` renders a ticket's history, oldest first: who changed what,
5777
5805
  marked by the kind of change, with the fields each change touched in words.
5778
5806
  Provide `.ticketId`, `.activity` (`IKanbanActivity[]`), `.columns`, `.tickets`,
5779
- `.projects`, `.loading` and `.error`. An entry's `summary` replaces the board's
5807
+ `.projects`, `.loading` and `.error`. Its first load, `loading` without entries,
5808
+ draws placeholder entries after 200 ms and says "Still loading history…" after
5809
+ `DeesKanbanActivity.stillLoadingAfter` (10 s); entries already there stay while it
5810
+ refreshes. An entry's `summary` replaces the board's
5780
5811
  sentence. Its refresh button emits `kanban-activity-refresh` (`ticketId`); set
5781
5812
  `.showHeader = false` where the host's own header names the history.
5782
5813
 
@@ -6318,7 +6349,7 @@ The compact **New group** button sits beside search whenever `enableGrouping` is
6318
6349
 
6319
6350
  The Workspace demo pairs the list with a selected-session workspace. Its controls step through starting, working, feedback, approval, completion and failure without timers or backend operations. Question and permission responses update the selected session; declining approval pauses it. The narrow layout switches between the preserved list and detail panes with an **All sessions** control that restores row focus.
6320
6351
 
6321
- Generic host resources use the exported `IHarnessResourceMeta` and `IHarnessResourceAssociation` contracts. Set `.resources`, `.resourceAssociations`, `.selectedResourceId`, and `.eligibleTargetsByResourceId`. Resource rows render as top-level rows in the ordered list, never as children of a session. Optional `projectLabel` renders on the resource metadata line after the kind and is searched like the title and preview. Set `.attachableSessions` (`IHarnessSessionMeta[]`) to sessions that resources may attach to without rendering them: their titles name a resource's attachments, and association requests and `eligibleTargetsByResourceId` accept them as targets. A list with resources and no rendered sessions searches as "Search resources", so a host can show its resources alone, beside a conversation list that lives elsewhere. A resource can be attached to several items at once: `IHarnessResourceAssociation.targets` is a set of refs, de-duplicated on projection, and the row shows one marker per attachment — two by name, the rest as a `+N` count with every name in the row's title. `IHarnessResourceEventDetail.targets` carries the same set on select, open and context events. Resource metadata is presentation-only: the list never mounts a terminal, browser, file viewer, or other runtime.
6352
+ Generic host resources use the exported `IHarnessResourceMeta` and `IHarnessResourceAssociation` contracts. Set `.resources`, `.resourceAssociations`, `.selectedResourceId`, and `.eligibleTargetsByResourceId`. Resource rows render as top-level rows in the ordered list, never as children of a session. Optional `projectLabel` renders on the resource metadata line after the kind and is searched like the title and preview. Set `.attachableSessions` (`IHarnessSessionMeta[]`) to sessions that resources may attach to without rendering them: their titles name a resource's attachments, and association requests and `eligibleTargetsByResourceId` accept them as targets. A list with resources and no rendered sessions searches its resources alone, so a host can show them beside a conversation list that lives elsewhere. Set `resourceKind` to the kind such a list shows, and its search field, loading note, empty note and no-match note use that kind's words: `terminal`, `browser` and `workspace` read as "Search terminals", "Loading browsers…", "No workspaces yet." and so on, any other kind as resources. Unset, the list takes the kind its resources share, and while it cannot tell what it shows it says "Search…" and "Loading…". `emptyText` still overrides the empty note. A resource can be attached to several items at once: `IHarnessResourceAssociation.targets` is a set of refs, de-duplicated on projection, and the row shows one marker per attachment — two by name, the rest as a `+N` count with every name in the row's title. `IHarnessResourceEventDetail.targets` carries the same set on select, open and context events. Resource metadata is presentation-only: the list never mounts a terminal, browser, file viewer, or other runtime.
6322
6353
 
6323
6354
  **Attaching is a deliberate gesture, never an accident of reordering.** An association is an access grant: it shows as a decorative marker on the resource row (a link icon plus each target's title, resolved from `sessions` or `resources` regardless of search or collapse) and never moves the row. A resource dropped on the **centre half of a row** attaches to it; the outer quarters of that same row, and every gap between rows, stay purely positional. The row being targeted shows a ring, a tint and a link badge, and no insertion gap opens while it does. A drag attaches an unattached resource and moves a singly attached one. A resource attached to several conversations is only repositioned by drag — it offers no attach affordance on any row, because a drag cannot say which of its attachments was meant; use **Move to…** for that. Keyboard moves stay positional; attaching by keyboard goes through the host's menu. The target is any other item, so a resource may be attached to a session **or** to another resource such as a terminal, and to several at once:
6324
6355
 
@@ -6408,10 +6439,12 @@ Search covers resource ID, kind, title, and preview, and matches sessions and re
6408
6439
 
6409
6440
  A plain, read-only list of sessions from any harness, fed by the host and never arranged by hand. Each `IHarnessSessionRow` is `{ id, harness, state, name, excerpt?, tickets?, updatedAt }`, where `harness` is `claude`, `codex`, `flex`, `opencode` or any other id, and `state` is `needs_input`, `working`, `completed` or `failed`. Rows fall into fixed groups in that order of urgency — Needs input, Working, Failed, Completed — each with its count, newest first. Completed shows its newest `completedLimit` rows (default 3) behind a "… N more" control; the selected row stays visible even when it is folded.
6410
6441
 
6411
- One line per row: the harness glyph is the status mark (needs input blinks in the warning colour, working pulses slowly, failed is red, completed is muted and still), then the name, the first ticket as a chip ("+N" when there are more, every key in its title), and the age. The latest `excerpt` joins the line only when the list's own container is at least 720px wide; it measures itself with a container query, not the window. Each mark is named for assistive technology, for example "Codex · working". Under `prefers-reduced-motion` the marks keep their colours and stop moving. A harness the list does not know renders a generic bot glyph and its id. The glyphs are Lucide icons, not product logos.
6442
+ One line per row: the harness glyph is the status mark (needs input blinks in the warning colour, working pulses slowly, failed is red, completed is muted and still), then the name, the first ticket as a chip ("+N" when there are more, every key in its title), and the age. The latest `excerpt` joins the line only when the list's own container is at least 720px wide; it measures itself with a container query, not the window. Every row of every group shares one set of columns, so names, excerpts, chips and ages each start on one edge; in the wide layout the name column is as wide as the longest name, up to `--dees-harness-session-name-max` (default `20rem`), and a longer name ends in an ellipsis with its full text in the tooltip. Each mark is named for assistive technology, for example "Codex · working". Under `prefers-reduced-motion` the marks keep their colours and stop moving. A harness the list does not know renders a generic bot glyph and its id. The glyphs are Lucide icons, not product logos.
6412
6443
 
6413
6444
  The list emits `harness-session-row-select` (`IHarnessSessionRowEventDetail`, `{ row }`) and `harness-session-ticket-select` (`IHarnessSessionTicketEventDetail`, `{ row, ticket }`, the first ticket); both bubble and are composed. Right-click on a row, or ContextMenu or Shift+F10 on a focused one, emits `harness-session-row-context` (`IHarnessSessionRowContextDetail`, `{ row, clientX, clientY, source, originalEvent }`): the list prevents the browser menu and the host opens its own, at the pointer or, for the keyboard (`source: 'keyboard'`), just under the row. `DeesContextmenu.openContextMenuWithOptions` takes a `MouseEvent`, so a keyboard request opens it with `new MouseEvent('contextmenu', { clientX, clientY })` and `ownerElement` set to the row's focus target. Keyboard: one tab stop; ArrowUp, ArrowDown, Home and End move between rows and the "more" control, ArrowRight and ArrowLeft between a row and its ticket chip, Enter or Space activates. A row that changes state keeps focus as it moves to its new group. `focusList()` moves focus into the list: to the row last used, else the selected row, else the first. Other properties: `selectedSessionId`, `loading`, and `emptyText`.
6414
6445
 
6446
+ While `loading` is set the list is `aria-busy`. The first load — `loading` with no rows — draws five placeholder rows under a placeholder group header, on the same columns and heights as the rows that replace them, so nothing moves when the feed answers. They appear only once the load has taken 200 ms, so a quick load never flashes them, and shimmer gently (still under `prefers-reduced-motion`). After `DeesHarnessSessionList.stillLoadingAfter` (10 000 ms) the list says "Still loading sessions…" and the placeholders hold still. Assistive technology hears one status, "Loading sessions…" and later the still-loading line; the placeholders are hidden from it. Rows already on show stay while more load: the skeleton never replaces them.
6447
+
6415
6448
  ```typescript
6416
6449
  import type { IHarnessSessionRow, IHarnessSessionRowEventDetail } from '@design.estate/dees-catalog';
6417
6450
 
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@design.estate/dees-catalog',
6
- version: '22.1.0',
6
+ version: '22.3.0',
7
7
  description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
8
8
  }