@shipbench/board 0.8.0 → 0.10.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.
- package/dist/assets/standalone-CNC6__Pn.js +107 -0
- package/dist/index.js +4949 -4687
- package/dist/standalone.html +1 -1
- package/dist/store/boardStore.d.ts +5 -0
- package/dist/ui/MetadataInputs.d.ts +24 -1
- package/dist/utils/links.d.ts +3 -2
- package/package.json +2 -2
- package/dist/assets/standalone-C8mhrcRJ.js +0 -107
package/dist/standalone.html
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
<!-- Replaced at runtime with "<project> — ShipBench Board" once config
|
|
8
8
|
loads. This is the pre-load and no-name fallback. -->
|
|
9
9
|
<title>ShipBench Board</title>
|
|
10
|
-
<script type="module" crossorigin src="/assets/standalone-
|
|
10
|
+
<script type="module" crossorigin src="/assets/standalone-CNC6__Pn.js"></script>
|
|
11
11
|
<link rel="stylesheet" crossorigin href="/assets/standalone-BLkbfjd1.css">
|
|
12
12
|
</head>
|
|
13
13
|
<body class="sb-standalone">
|
|
@@ -30,6 +30,11 @@ export interface BoardState {
|
|
|
30
30
|
unreadable: UnreadableTaskFile[];
|
|
31
31
|
archiveViewOpen: boolean;
|
|
32
32
|
archivedTasks: Task[] | null;
|
|
33
|
+
/**
|
|
34
|
+
* Every archive file's slug, from the live read. Lets a `related` target read
|
|
35
|
+
* as archived before the archive itself is loaded.
|
|
36
|
+
*/
|
|
37
|
+
archivedSlugs: string[];
|
|
33
38
|
archiveWarnings: TaskValidationWarning[];
|
|
34
39
|
archiveUnreadable: UnreadableTaskFile[];
|
|
35
40
|
isArchiveLoading: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Task } from '@shipbench/core';
|
|
1
|
+
import type { ColumnDef, RelatedTask, Task } from '@shipbench/core';
|
|
2
2
|
export declare function TagInput({ readOnly, tags, suggestions, onChange, }: {
|
|
3
3
|
readOnly: boolean;
|
|
4
4
|
tags: string[];
|
|
@@ -14,3 +14,26 @@ export declare function DependencyMultiSelect({ readOnly, currentTaskSlug, depen
|
|
|
14
14
|
warnings: string[];
|
|
15
15
|
onChange: (dependencies: string[]) => void;
|
|
16
16
|
}): import("react").JSX.Element;
|
|
17
|
+
/**
|
|
18
|
+
* Edits `related`, which only points at other work. Shows both directions: an
|
|
19
|
+
* association recorded on the other task's file is listed but cannot be removed
|
|
20
|
+
* here, because saving this task never writes that file.
|
|
21
|
+
*
|
|
22
|
+
* `related` is this task's own list as written. It is passed back whole on
|
|
23
|
+
* every change, so a target the board cannot resolve right now — archived and
|
|
24
|
+
* not yet loaded, or gone — survives an edit to some other entry.
|
|
25
|
+
*/
|
|
26
|
+
export declare function RelatedMultiSelect({ readOnly, currentTaskSlug, related, entries, tasks, archivedSlugs, columns, warnings, onChange, onOpenTask, }: {
|
|
27
|
+
readOnly: boolean;
|
|
28
|
+
currentTaskSlug: string;
|
|
29
|
+
related: string[];
|
|
30
|
+
/** Both directions, resolved, from `createRelatedIndex`. */
|
|
31
|
+
entries: RelatedTask[];
|
|
32
|
+
/** Tasks that can be added: live ones, plus archived ones once loaded. */
|
|
33
|
+
tasks: Task[];
|
|
34
|
+
archivedSlugs: ReadonlySet<string>;
|
|
35
|
+
columns: ColumnDef[];
|
|
36
|
+
warnings: string[];
|
|
37
|
+
onChange: (related: string[]) => void;
|
|
38
|
+
onOpenTask: (slug: string) => void;
|
|
39
|
+
}): import("react").JSX.Element;
|
package/dist/utils/links.d.ts
CHANGED
|
@@ -19,8 +19,9 @@ export type BoardLink =
|
|
|
19
19
|
/**
|
|
20
20
|
* A path inside the repo, resolved to repo-root-relative form. `suffix` holds
|
|
21
21
|
* any query/hash to re-append after the host names a destination. `taskSlug`
|
|
22
|
-
* is set when the
|
|
23
|
-
*
|
|
22
|
+
* is set when the href names a task file by one of the convention's forms.
|
|
23
|
+
* It is a candidate: the renderer checks it against the live tasks and the
|
|
24
|
+
* archive, because only the board knows which one holds it now.
|
|
24
25
|
*/
|
|
25
26
|
| {
|
|
26
27
|
kind: 'repo';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shipbench/board",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.0",
|
|
4
4
|
"description": "React kanban board for ShipBench. Published so the CLI and out-of-repo hosts can consume it; not a supported standalone library.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"react-markdown": "^10.1.0",
|
|
50
50
|
"sonner": "^2.0.7",
|
|
51
51
|
"zustand": "^5.0.14",
|
|
52
|
-
"@shipbench/core": "0.
|
|
52
|
+
"@shipbench/core": "0.10.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"react": "^19.0.0",
|