@industry-theme/backlogmd-kanban-panel 0.2.3 → 1.0.1
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/README.md +4 -0
- package/dist/adapters/PanelFileSystemAdapter.d.ts +50 -0
- package/dist/adapters/PanelFileSystemAdapter.d.ts.map +1 -0
- package/dist/adapters/index.d.ts +6 -7
- package/dist/adapters/index.d.ts.map +1 -1
- package/dist/mocks/panelContext.d.ts +14 -0
- package/dist/mocks/panelContext.d.ts.map +1 -1
- package/dist/panels/KanbanPanel.d.ts.map +1 -1
- package/dist/panels/KanbanPanel.stories.d.ts.map +1 -1
- package/dist/panels/kanban/backlog-utils/board.d.ts +3 -3
- package/dist/panels/kanban/backlog-utils/board.d.ts.map +1 -1
- package/dist/panels/kanban/components/EmptyState.d.ts +2 -0
- package/dist/panels/kanban/components/EmptyState.d.ts.map +1 -1
- package/dist/panels/kanban/components/KanbanColumn.d.ts +1 -1
- package/dist/panels/kanban/components/KanbanColumn.d.ts.map +1 -1
- package/dist/panels/kanban/hooks/useKanbanData.d.ts +2 -3
- package/dist/panels/kanban/hooks/useKanbanData.d.ts.map +1 -1
- package/dist/panels/kanban/mocks/mockData.d.ts +1 -1
- package/dist/panels/kanban/mocks/mockData.d.ts.map +1 -1
- package/dist/panels.bundle.js +985 -7015
- package/dist/panels.bundle.js.map +1 -1
- package/dist/tools/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/adapters/BacklogAdapter.d.ts +0 -50
- package/dist/adapters/BacklogAdapter.d.ts.map +0 -1
- package/dist/adapters/backlog-config-parser.d.ts +0 -25
- package/dist/adapters/backlog-config-parser.d.ts.map +0 -1
- package/dist/adapters/backlog-parser.d.ts +0 -24
- package/dist/adapters/backlog-parser.d.ts.map +0 -1
- package/dist/adapters/types.d.ts +0 -115
- package/dist/adapters/types.d.ts.map +0 -1
- package/dist/panels/kanban/backlog-types/index.d.ts +0 -196
- package/dist/panels/kanban/backlog-types/index.d.ts.map +0 -1
package/README.md
CHANGED
|
@@ -106,6 +106,7 @@ The copied code is temporary. Once Backlog.md publishes `@backlog/core` or simil
|
|
|
106
106
|
## Development Roadmap
|
|
107
107
|
|
|
108
108
|
### ✅ Phase 1: Foundation (Complete)
|
|
109
|
+
|
|
109
110
|
- [x] Set up panel structure and basic layout
|
|
110
111
|
- [x] Create mock data generator for testing
|
|
111
112
|
- [x] Implement basic board component with static columns
|
|
@@ -113,6 +114,7 @@ The copied code is temporary. Once Backlog.md publishes `@backlog/core` or simil
|
|
|
113
114
|
- [x] Adapt to industry theme colors and typography
|
|
114
115
|
|
|
115
116
|
### ✅ Phase 2: Core Functionality (Complete)
|
|
117
|
+
|
|
116
118
|
- [x] Add data fetching hook (`useKanbanData`)
|
|
117
119
|
- [x] Implement task sorting and filtering (by priority, ordinal, date)
|
|
118
120
|
- [x] Create reusable `KanbanColumn` component
|
|
@@ -124,6 +126,7 @@ The copied code is temporary. Once Backlog.md publishes `@backlog/core` or simil
|
|
|
124
126
|
- [ ] Handle status updates with file writes (Future)
|
|
125
127
|
|
|
126
128
|
### 📋 Phase 3: Advanced Features
|
|
129
|
+
|
|
127
130
|
- [ ] Task creation and editing
|
|
128
131
|
- [ ] Support for labels, assignees, priority
|
|
129
132
|
- [ ] Implement subtask relationships
|
|
@@ -131,6 +134,7 @@ The copied code is temporary. Once Backlog.md publishes `@backlog/core` or simil
|
|
|
131
134
|
- [ ] Handle dependencies visualization
|
|
132
135
|
|
|
133
136
|
### 🎨 Phase 4: Polish & Integration
|
|
137
|
+
|
|
134
138
|
- [ ] Responsive design improvements
|
|
135
139
|
- [ ] Error handling and loading states
|
|
136
140
|
- [ ] Data persistence (write back to markdown)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PanelFileSystemAdapter
|
|
3
|
+
*
|
|
4
|
+
* Implements FileSystemAdapter interface by wrapping the panel framework's
|
|
5
|
+
* file access APIs (fileTree slice and openFile action).
|
|
6
|
+
*/
|
|
7
|
+
import type { FileSystemAdapter } from '@backlog-md/core';
|
|
8
|
+
export interface PanelFileAccess {
|
|
9
|
+
/** Function to fetch file content by path */
|
|
10
|
+
fetchFile: (path: string) => Promise<string>;
|
|
11
|
+
/** List of all file paths in the repository */
|
|
12
|
+
filePaths: string[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* FileSystemAdapter implementation for the panel framework
|
|
16
|
+
*
|
|
17
|
+
* This adapter wraps the panel's file access mechanisms to provide
|
|
18
|
+
* a standard FileSystemAdapter interface for @backlog-md/core.
|
|
19
|
+
*/
|
|
20
|
+
export declare class PanelFileSystemAdapter implements FileSystemAdapter {
|
|
21
|
+
private readonly filePaths;
|
|
22
|
+
private readonly directories;
|
|
23
|
+
private readonly fetchFile;
|
|
24
|
+
constructor(access: PanelFileAccess);
|
|
25
|
+
exists(path: string): Promise<boolean>;
|
|
26
|
+
readFile(path: string): Promise<string>;
|
|
27
|
+
writeFile(_path: string, _content: string): Promise<void>;
|
|
28
|
+
deleteFile(_path: string): Promise<void>;
|
|
29
|
+
createDir(_path: string, _options?: {
|
|
30
|
+
recursive?: boolean;
|
|
31
|
+
}): Promise<void>;
|
|
32
|
+
readDir(path: string): Promise<string[]>;
|
|
33
|
+
isDirectory(path: string): Promise<boolean>;
|
|
34
|
+
rename(_from: string, _to: string): Promise<void>;
|
|
35
|
+
stat(path: string): Promise<{
|
|
36
|
+
mtime: Date;
|
|
37
|
+
isDirectory: boolean;
|
|
38
|
+
size: number;
|
|
39
|
+
}>;
|
|
40
|
+
join(...paths: string[]): string;
|
|
41
|
+
dirname(path: string): string;
|
|
42
|
+
basename(path: string, ext?: string): string;
|
|
43
|
+
extname(path: string): string;
|
|
44
|
+
relative(from: string, to: string): string;
|
|
45
|
+
isAbsolute(path: string): boolean;
|
|
46
|
+
normalize(path: string): string;
|
|
47
|
+
homedir(): string;
|
|
48
|
+
private normalizePath;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=PanelFileSystemAdapter.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PanelFileSystemAdapter.d.ts","sourceRoot":"","sources":["../../src/adapters/PanelFileSystemAdapter.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAE1D,MAAM,WAAW,eAAe;IAC9B,6CAA6C;IAC7C,SAAS,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,MAAM,CAAC,CAAC;IAC7C,+CAA+C;IAC/C,SAAS,EAAE,MAAM,EAAE,CAAC;CACrB;AAED;;;;;GAKG;AACH,qBAAa,sBAAuB,YAAW,iBAAiB;IAC9D,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAc;IACxC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAc;IAC1C,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAoC;gBAElD,MAAM,EAAE,eAAe;IAiB7B,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAKtC,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC;IAQvC,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIzD,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIxC,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE;QAAE,SAAS,CAAC,EAAE,OAAO,CAAA;KAAE,GAAG,OAAO,CAAC,IAAI,CAAC;IAI3E,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,EAAE,CAAC;IAoBxC,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,CAAC;IAK3C,MAAM,CAAC,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC;IAIjD,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC;QAAE,KAAK,EAAE,IAAI,CAAC;QAAC,WAAW,EAAE,OAAO,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC;IAkBtF,IAAI,CAAC,GAAG,KAAK,EAAE,MAAM,EAAE,GAAG,MAAM;IAQhC,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAM7B,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,GAAG,MAAM;IAQ5C,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAM7B,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,GAAG,MAAM;IAwB1C,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAIjC,SAAS,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM;IAI/B,OAAO,IAAI,MAAM;IAMjB,OAAO,CAAC,aAAa;CAMtB"}
|
package/dist/adapters/index.d.ts
CHANGED
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Adapters Module
|
|
3
3
|
*
|
|
4
|
-
*
|
|
4
|
+
* Provides the PanelFileSystemAdapter for integrating @backlog-md/core
|
|
5
|
+
* with the panel framework's file access APIs.
|
|
5
6
|
*/
|
|
6
|
-
export {
|
|
7
|
-
export type {
|
|
8
|
-
export {
|
|
9
|
-
export { parseYaml, parseBacklogConfig, parseTaskFile, sortTasks, } from './backlog-parser';
|
|
10
|
-
export { serializeBacklogConfig } from './backlog-config-parser';
|
|
7
|
+
export { PanelFileSystemAdapter, type PanelFileAccess } from './PanelFileSystemAdapter';
|
|
8
|
+
export type { Task, BacklogConfig, AcceptanceCriterion, FileSystemAdapter, } from '@backlog-md/core';
|
|
9
|
+
export { Core, parseTaskMarkdown, serializeTaskMarkdown, parseBacklogConfig, serializeBacklogConfig, sortTasks, groupTasksByStatus, } from '@backlog-md/core';
|
|
11
10
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/adapters/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/adapters/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAE,sBAAsB,EAAE,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAGxF,YAAY,EACV,IAAI,EACJ,aAAa,EACb,mBAAmB,EACnB,iBAAiB,GAClB,MAAM,kBAAkB,CAAC;AAE1B,OAAO,EACL,IAAI,EACJ,iBAAiB,EACjB,qBAAqB,EACrB,kBAAkB,EAClB,sBAAsB,EACtB,SAAS,EACT,kBAAkB,GACnB,MAAM,kBAAkB,CAAC"}
|
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { PanelComponentProps, PanelContextValue, PanelActions, PanelEventEmitter } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Create a mock file system adapter for Storybook
|
|
5
|
+
* Stores files in memory and logs operations
|
|
6
|
+
*/
|
|
7
|
+
export declare const createMockFileSystemAdapter: () => {
|
|
8
|
+
exists: (path: string) => Promise<boolean>;
|
|
9
|
+
readFile: (path: string) => Promise<string>;
|
|
10
|
+
writeFile: (path: string, content: string) => Promise<void>;
|
|
11
|
+
deleteFile: (path: string) => Promise<void>;
|
|
12
|
+
createDir: (path: string) => Promise<void>;
|
|
13
|
+
readDir: (path: string) => Promise<string[]>;
|
|
14
|
+
isDirectory: (path: string) => Promise<boolean>;
|
|
15
|
+
_files: Map<string, string>;
|
|
16
|
+
};
|
|
3
17
|
/**
|
|
4
18
|
* Mock Panel Context for Storybook
|
|
5
19
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"panelContext.d.ts","sourceRoot":"","sources":["../../src/mocks/panelContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EAIlB,MAAM,UAAU,CAAC;AA+
|
|
1
|
+
{"version":3,"file":"panelContext.d.ts","sourceRoot":"","sources":["../../src/mocks/panelContext.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EACV,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,iBAAiB,EAIlB,MAAM,UAAU,CAAC;AAElB;;;GAGG;AACH,eAAO,MAAM,2BAA2B;mBAIf,MAAM;qBACJ,MAAM;sBAKL,MAAM,WAAW,MAAM;uBAItB,MAAM;sBAIP,MAAM;oBAIR,MAAM;wBAYF,MAAM;;CAUnC,CAAC;AA+BF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,YAAY,OAAO,CAAC,iBAAiB,CAAC,KACrC,iBAqHF,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,iBAAiB,GAC5B,YAAY,OAAO,CAAC,YAAY,CAAC,KAChC,YAkBD,CAAC;AAEH;;GAEG;AACH,eAAO,MAAM,gBAAgB,QAAO,iBAwCnC,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CAAC;IACvC,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,KAAK,CAAC,SAAS,CAAC;IAC1D,gBAAgB,CAAC,EAAE,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAC9C,gBAAgB,CAAC,EAAE,OAAO,CAAC,YAAY,CAAC,CAAC;CAC1C,CAMA,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanPanel.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"KanbanPanel.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAgC,MAAM,OAAO,CAAC;AAGrD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAsLpD;;;;;;;;GAQG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,mBAAmB,CAMrD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"KanbanPanel.stories.d.ts","sourceRoot":"","sources":["../../src/panels/KanbanPanel.stories.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAQ,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAU5D,QAAA,MAAM,IAAI;;;;;;;;;;;;CAgB0B,CAAC;AAErC,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,OAAO,IAAI,CAAC,CAAC;AAkInC,eAAO,MAAM,UAAU,EAAE,KA0BxB,CAAC;AAKF,eAAO,MAAM,YAAY,EAAE,KAc1B,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { Task } from
|
|
1
|
+
import type { Task } from '@backlog-md/core';
|
|
2
2
|
export interface BoardOptions {
|
|
3
3
|
statuses?: string[];
|
|
4
4
|
}
|
|
5
|
-
export type BoardLayout =
|
|
6
|
-
export type BoardFormat =
|
|
5
|
+
export type BoardLayout = 'horizontal' | 'vertical';
|
|
6
|
+
export type BoardFormat = 'terminal' | 'markdown';
|
|
7
7
|
export declare function buildKanbanStatusGroups(tasks: Task[], statuses: string[]): {
|
|
8
8
|
orderedStatuses: string[];
|
|
9
9
|
groupedTasks: Map<string, Task[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"board.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/backlog-utils/board.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"board.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/backlog-utils/board.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,MAAM,WAAW,YAAY;IAC3B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB;AAED,MAAM,MAAM,WAAW,GAAG,YAAY,GAAG,UAAU,CAAC;AACpD,MAAM,MAAM,WAAW,GAAG,UAAU,GAAG,UAAU,CAAC;AAElD,wBAAgB,uBAAuB,CACrC,KAAK,EAAE,IAAI,EAAE,EACb,QAAQ,EAAE,MAAM,EAAE,GACjB;IAAE,eAAe,EAAE,MAAM,EAAE,CAAC;IAAC,YAAY,EAAE,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAA;CAAE,CAkDlE;AAED,wBAAgB,+BAA+B,CAC7C,KAAK,EAAE,IAAI,EAAE,EACb,QAAQ,EAAE,MAAM,EAAE,EAClB,WAAW,EAAE,MAAM,GAClB,MAAM,CAwHR;AAED,wBAAsB,uBAAuB,CAC3C,KAAK,EAAE,IAAI,EAAE,EACb,QAAQ,EAAE,MAAM,EAAE,EAClB,QAAQ,EAAE,MAAM,EAChB,WAAW,EAAE,MAAM,EACnB,UAAU,UAAQ,GACjB,OAAO,CAAC,IAAI,CAAC,CAYf"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/components/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/components/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmB,MAAM,OAAO,CAAC;AAIxC,UAAU,eAAe;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACnC,aAAa,CAAC,EAAE,OAAO,CAAC;CACzB;AAED;;GAEG;AACH,eAAO,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,eAAe,CAgPhD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KanbanColumn.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/components/KanbanColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,
|
|
1
|
+
{"version":3,"file":"KanbanColumn.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/components/KanbanColumn.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C,UAAU,iBAAiB;IACzB,MAAM,EAAE,MAAM,CAAC;IACf,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,KAAK,IAAI,CAAC;CACpC;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAmMpD,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type Task } from '@backlog-md/core';
|
|
2
2
|
import type { PanelContextValue, PanelActions } from '../../../types';
|
|
3
3
|
export interface UseKanbanDataResult {
|
|
4
4
|
tasks: Task[];
|
|
@@ -16,8 +16,7 @@ interface UseKanbanDataOptions {
|
|
|
16
16
|
}
|
|
17
17
|
/**
|
|
18
18
|
* Hook for managing kanban board data
|
|
19
|
-
* Integrates with Backlog.md via
|
|
20
|
-
* Falls back to mock data if no Backlog.md project is detected
|
|
19
|
+
* Integrates with Backlog.md via @backlog-md/core
|
|
21
20
|
*/
|
|
22
21
|
export declare function useKanbanData(options?: UseKanbanDataOptions): UseKanbanDataResult;
|
|
23
22
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKanbanData.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/hooks/useKanbanData.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"useKanbanData.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/hooks/useKanbanData.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,KAAK,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAEnD,OAAO,KAAK,EAAE,iBAAiB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEtE,MAAM,WAAW,mBAAmB;IAClC,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,gBAAgB,EAAE,OAAO,CAAC;IAC1B,aAAa,EAAE,GAAG,CAAC,MAAM,EAAE,IAAI,EAAE,CAAC,CAAC;IACnC,WAAW,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACjC,gBAAgB,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACxE;AAED,UAAU,oBAAoB;IAC5B,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAC5B,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AAID;;;GAGG;AACH,wBAAgB,aAAa,CAC3B,OAAO,CAAC,EAAE,oBAAoB,GAC7B,mBAAmB,CAqLrB"}
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Generates sample task data matching the Backlog.md Task interface
|
|
5
5
|
* for testing and development purposes.
|
|
6
6
|
*/
|
|
7
|
-
import type { Task } from '
|
|
7
|
+
import type { Task } from '@backlog-md/core';
|
|
8
8
|
/**
|
|
9
9
|
* Generate mock tasks for testing the kanban board
|
|
10
10
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/mocks/mockData.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"mockData.d.ts","sourceRoot":"","sources":["../../../../src/panels/kanban/mocks/mockData.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,kBAAkB,CAAC;AAE7C;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,IAAI,EAAE,CAuJ1C;AAED;;GAEG;AACH,wBAAgB,kBAAkB,IAAI,MAAM,EAAE,CAE7C;AAED;;GAEG;AACH,wBAAgB,kBAAkB;;;;;;;;;;;;EAcjC"}
|