@skillcdn/console 0.1.19 → 0.1.20

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 (56) hide show
  1. package/README.md +1 -1
  2. package/dist/cli/help.js +2 -2
  3. package/dist/cli/help.js.map +1 -1
  4. package/dist/components/board.d.ts +18 -8
  5. package/dist/components/board.d.ts.map +1 -1
  6. package/dist/components/board.js +180 -27
  7. package/dist/components/board.js.map +1 -1
  8. package/dist/components/comments.d.ts +0 -2
  9. package/dist/components/comments.d.ts.map +1 -1
  10. package/dist/components/comments.js +4 -39
  11. package/dist/components/comments.js.map +1 -1
  12. package/dist/components/documents.d.ts +2 -0
  13. package/dist/components/documents.d.ts.map +1 -1
  14. package/dist/components/documents.js +51 -5
  15. package/dist/components/documents.js.map +1 -1
  16. package/dist/components/files.d.ts +11 -0
  17. package/dist/components/files.d.ts.map +1 -0
  18. package/dist/components/files.js +44 -0
  19. package/dist/components/files.js.map +1 -0
  20. package/dist/components/runs.d.ts.map +1 -1
  21. package/dist/components/runs.js +34 -7
  22. package/dist/components/runs.js.map +1 -1
  23. package/dist/console.css +96 -74
  24. package/dist/console.d.ts.map +1 -1
  25. package/dist/console.js +3 -3
  26. package/dist/console.js.map +1 -1
  27. package/dist/docs-page.d.ts.map +1 -1
  28. package/dist/docs-page.js +14 -1
  29. package/dist/docs-page.js.map +1 -1
  30. package/dist/i18n/en.d.ts +6 -3
  31. package/dist/i18n/en.d.ts.map +1 -1
  32. package/dist/i18n/en.js +6 -3
  33. package/dist/i18n/en.js.map +1 -1
  34. package/dist/i18n/ko.d.ts.map +1 -1
  35. package/dist/i18n/ko.js +6 -3
  36. package/dist/i18n/ko.js.map +1 -1
  37. package/dist/index.d.ts +2 -1
  38. package/dist/index.d.ts.map +1 -1
  39. package/dist/index.js +2 -1
  40. package/dist/index.js.map +1 -1
  41. package/docs/specs/cli.md +2 -2
  42. package/docs/specs/rest.md +2 -2
  43. package/package.json +1 -1
  44. package/skills/working-the-board/SKILL.md +3 -3
  45. package/src/cli/help.ts +2 -2
  46. package/src/components/board.tsx +300 -73
  47. package/src/components/comments.tsx +10 -39
  48. package/src/components/documents.tsx +87 -4
  49. package/src/components/files.ts +49 -0
  50. package/src/components/runs.tsx +73 -15
  51. package/src/console.tsx +12 -6
  52. package/src/docs-page.tsx +18 -1
  53. package/src/i18n/en.ts +7 -3
  54. package/src/i18n/ko.ts +7 -3
  55. package/src/index.ts +1 -1
  56. package/src/styles/console.css +96 -74
package/README.md CHANGED
@@ -75,7 +75,7 @@ createConsole({
75
75
  }).mount(document.getElementById("root"));
76
76
  ```
77
77
 
78
- - **The components** take their data as props and nothing from the network: `Board` (one column per state, the sooner due first), `TaskCard`, `BoardFilters` with `filterTasks` and `byDue` (the board narrowed by category, goal, person and one's own), `TaskList` (tasks as rows, a page at a time), `TaskView` (one task with its plan, its moments, its decisions and its parts), `TaskForm` (with the `categories` and the `goals` to choose from), `Calendar` and `Workload` with `workloadOf` (a month with each task across its planned days, a bar in a lane of its own, or on its one day, a due day or a start, the person who has each before its title, with a legend of the colours of the `categories` given, and who has what; `weekSegments` lays the bars; `TaskTip` is the task under the pointer in full, with the facts its page lists, within its item and above or below it as `placeTip` says, where there is more room, its goal named from the `goals` given; the composition narrows the page with `BoardFilters` as it does the board, the address carrying the filter with the month), `GoalList`, `GoalView` and `GoalForm` (the roadmap, one goal with its tasks by state, and the way to set one, with the `categories` to sort it into and its start and target days, ADR-0026), `GoalTimeline` with `timelineBars` (the roadmap as months: six from the month given, each goal planned in days a bar from its start to its target in the colour of its category, filled as far as its tasks are done, today marked, and the goals without days named below; `Calendar` given `goalHref` marks each goal's target day on the month), `WorkList` (a person's own work across projects), `CategoryList` (the categories, with the ways an administrator keeps them), `DecisionList` and `DecisionCard` (the waiting ones as cards, each with the way to answer; the answered ones as the record, `DecisionLog`, a row each, a page at a time), `DecisionForm`, `EventFeed` (a sentence per event, newest first, a page at a time; `describeEvent` makes the sentence), `Shell` (the header with the workspace, the project, the tabs of the pages and the person's menu), `SignIn` (one button per provider the deployment offers), `TokenList`, `TokenForm` and `NewToken` (the agents a person connected, as the tokens they hold, the way to make one by hand, and the one just made with its secret shown once), `ConnectCodeForm`, `ConnectApproval` and `ConnectWords` (an agent connecting with a code: where the code is typed, what asks under it with the way to approve or refuse it, and what to tell the agent; `ConnectPage` composes the first two for a code), `PeopleList` (everyone in, with what each is and what let them in, the logins let in that nobody signed in with yet, and the deactivated, with the ways for an administrator to change a role, take a person out or back in, and take a listing away) and `ListingForm` (where an administrator lets someone in by login), `ProjectMark` (a project's mark: its own image when it has one, else its symbol on its colour, or the ones chosen from its key and its name; `sm`, `md` or `lg`), `ProjectList`, `ProjectForm` and `MemberList` (the projects a person may see with what they are in each, the way to make or change one, its mark included, with an image chosen for it (`onSubmit` gets the file, or `null` to take the image away), and those listed in a project with the way for an owner to add, change and remove them; `ProjectRoleBadge`, `PROJECT_ROLE_LABELS`, `VISIBILITY_LABELS` and `keyOf` with them), `SkillList` (a project's skills as SkillCDN serves them at its address, each with where a person reads it and what an agent loads it by, and how an agent is connected to it), `RulesView` and `RulesForm` (the rules of the board, ADR-0023: what holds and where it comes from, the console's own, a page written or none, with `{language}` filled with the language the pages speak, folded under its facts where asked, and the ways to write them, put them away and go back to the console's own for whoever may; the form starts from what holds and saves nothing that would change nothing), `FolderView`, `DocumentList`, `DocumentSearch`, `DocumentView`, `DocumentForm`, `DocumentFiles` and `DocumentCrumbs` (a project's documents: a folder's folders and pages, the way to find pages by their words, one page with its versions, what it links to, what refers to it and its files, and the forms to write and attach; `DocsPage` composes them for a path), `RunList` and `RunCard` (an agent's run on a task: what it reported, what it handed in, links and files alike, what it waits for, and when an open one was last heard from; `RunStatusBadge` and `RUN_STATUS_LABELS` with them, and `fileHref` for where a file is read), `TaskThread`, `CommentCard` and `CommentForm` (the discussion on a task, ADR-0024: the comments, the runs and the decisions as one thread in the order they came, which `threadOf` orders, each comment with who said it, through which agent, its text with the pictures it names in place and its other files after it, pictures being what `isPicture` says, and the form at the end, where a picture pasted in goes with the comment; `TaskView` shows the thread given `comments` and `onComment`, and its `fileHref` names any file of the project by its id), and `Markdown`, which renders what people and agents wrote as elements, never as HTML, with links to the web only and pictures over https only, or, given `fileSrc`, from the file of that name, and, given `docHref`, a link to a page's path as a link to the page. `DecisionCard` reads as a record, with the context, the rationale and what followed, which `onUpdate` lets a person write. The small blocks (`Button`, `CopyButton` (a text put on the clipboard), `Badge`, `Avatar` (`xs` to `lg`), `PersonChip` with `personName` (a person by the name the host gives, the login where there is none), `Callout`, `EmptyState`, `Spinner`, `Time`, `Day`, `CategoryBadge`, `DueBadge`, `GoalStateBadge`, `ProgressBar`, and `ShowMore` with `usePaged` and `PAGE_SIZE`, a long list a page at a time), the words of the vocabulary (`STATE_LABELS`, `PRIORITY_LABELS`, `ROLE_LABELS`, with `RoleBadge`) and the day helpers (`today`, `addDays`, `daysBetween`, `monthGrid`, `formatDay`, `formatMonth` and the rest, days being the strings the API spells them as) are exported too.
78
+ - **The components** take their data as props and nothing from the network: `Board` (one column per state, the sooner due first; given `onMove`, a card is dragged to another column with a mouse, or with a finger that rests on it a moment first; given `editHref` and `onArchive`, each card has a menu with the way to the task's form and, once it is done or dropped, the way to put it away), `TaskCard`, `BoardFilters` with `filterTasks` and `byDue` (the board narrowed by category, goal, person and one's own), `TaskList` (tasks as rows, a page at a time), `TaskView` (one task with its plan, its moments, its decisions and its parts), `TaskForm` (with the `categories` and the `goals` to choose from), `Calendar` and `Workload` with `workloadOf` (a month with each task across its planned days, a bar in a lane of its own, or on its one day, a due day or a start, the person who has each before its title, with a legend of the colours of the `categories` given, and who has what; `weekSegments` lays the bars; `TaskTip` is the task under the pointer in full, with the facts its page lists, within its item and above or below it as `placeTip` says, where there is more room, its goal named from the `goals` given; the composition narrows the page with `BoardFilters` as it does the board, the address carrying the filter with the month), `GoalList`, `GoalView` and `GoalForm` (the roadmap, one goal with its tasks by state, and the way to set one, with the `categories` to sort it into and its start and target days, ADR-0026), `GoalTimeline` with `timelineBars` (the roadmap as months: six from the month given, each goal planned in days a bar from its start to its target in the colour of its category, filled as far as its tasks are done, today marked, and the goals without days named below; `Calendar` given `goalHref` marks each goal's target day on the month), `WorkList` (a person's own work across projects), `CategoryList` (the categories, with the ways an administrator keeps them), `DecisionList` and `DecisionCard` (the waiting ones as cards, each with the way to answer; the answered ones as the record, `DecisionLog`, a row each, a page at a time), `DecisionForm`, `EventFeed` (a sentence per event, newest first, a page at a time; `describeEvent` makes the sentence), `Shell` (the header with the workspace, the project, the tabs of the pages and the person's menu), `SignIn` (one button per provider the deployment offers), `TokenList`, `TokenForm` and `NewToken` (the agents a person connected, as the tokens they hold, the way to make one by hand, and the one just made with its secret shown once), `ConnectCodeForm`, `ConnectApproval` and `ConnectWords` (an agent connecting with a code: where the code is typed, what asks under it with the way to approve or refuse it, and what to tell the agent; `ConnectPage` composes the first two for a code), `PeopleList` (everyone in, with what each is and what let them in, the logins let in that nobody signed in with yet, and the deactivated, with the ways for an administrator to change a role, take a person out or back in, and take a listing away) and `ListingForm` (where an administrator lets someone in by login), `ProjectMark` (a project's mark: its own image when it has one, else its symbol on its colour, or the ones chosen from its key and its name; `sm`, `md` or `lg`), `ProjectList`, `ProjectForm` and `MemberList` (the projects a person may see with what they are in each, the way to make or change one, its mark included, with an image chosen for it (`onSubmit` gets the file, or `null` to take the image away), and those listed in a project with the way for an owner to add, change and remove them; `ProjectRoleBadge`, `PROJECT_ROLE_LABELS`, `VISIBILITY_LABELS` and `keyOf` with them), `SkillList` (a project's skills as SkillCDN serves them at its address, each with where a person reads it and what an agent loads it by, and how an agent is connected to it), `RulesView` and `RulesForm` (the rules of the board, ADR-0023: what holds and where it comes from, the console's own, a page written or none, with `{language}` filled with the language the pages speak, folded under its facts where asked, and the ways to write them, put them away and go back to the console's own for whoever may; the form starts from what holds and saves nothing that would change nothing), `FolderView`, `DocumentList`, `DocumentSearch`, `DocumentView`, `DocumentForm`, `DocumentFiles` and `DocumentCrumbs` (a project's documents: a folder's folders and pages, the way to find pages by their words, one page with its versions, what it links to, what refers to it and its files, a picture among them shown where the body names it, and the forms to write and attach, a picture pasted into the body attached once the page is written; `DocsPage` composes them for a path), `RunList` and `RunCard` (an agent's run on a task: what it reported, what it handed in, links and files alike, a picture among them small and large as a comment's is and placed in a report by its file name, what it waits for, and when an open one was last heard from; `RunStatusBadge` and `RUN_STATUS_LABELS` with them, and `fileHref` for where a file is read), `TaskThread`, `CommentCard` and `CommentForm` (the discussion on a task, ADR-0024: the comments, the runs and the decisions as one thread in the order they came, which `threadOf` orders, each comment with who said it, through which agent, its text with the pictures it names in place and its other files after it, pictures being what `isPicture` says, and the form at the end, where a picture pasted in goes with the comment; `TaskView` shows the thread given `comments` and `onComment`, and its `fileHref` names any file of the project by its id), and `Markdown`, which renders what people and agents wrote as elements, never as HTML, with links to the web only and pictures over https only, or, given `fileSrc`, from the file of that name, and, given `docHref`, a link to a page's path as a link to the page. `DecisionCard` reads as a record, with the context, the rationale and what followed, which `onUpdate` lets a person write. The small blocks (`Button`, `CopyButton` (a text put on the clipboard), `Badge`, `Avatar` (`xs` to `lg`), `PersonChip` with `personName` (a person by the name the host gives, the login where there is none), `Callout`, `EmptyState`, `Spinner`, `Time`, `Day`, `CategoryBadge`, `DueBadge`, `GoalStateBadge`, `ProgressBar`, and `ShowMore` with `usePaged` and `PAGE_SIZE`, a long list a page at a time), the words of the vocabulary (`STATE_LABELS`, `PRIORITY_LABELS`, `ROLE_LABELS`, with `RoleBadge`) and the day helpers (`today`, `addDays`, `daysBetween`, `monthGrid`, `formatDay`, `formatMonth` and the rest, days being the strings the API spells them as) are exported too.
79
79
  - **The composition:** `createConsole(config)` returns `{ App, mount }`. `App` is the whole console as one component; `mount(container)` renders it and returns the way to take it down. `config.baseUrl` is the origin of the API (the page's own when left out), `config.components` the pieces to replace (`ConsoleComponents` names them with the props each takes), `config.languages` the packs the pages speak, `config.brand` the addresses of a symbol and a wordmark to show beside the name (ADR-0013; the default console passes those of `@skillcdn/brand`, the main repository's package of its marks), `config.client` a client of your own, for tests. The SkillCDN name and marks are trademarks of KDX Labs under the main repository's trademark policy, not under this package's MIT license; a custom console brings its own marks through the same slot. A console that holds a token rather than a session (one of your own, served by `console serve`) is told so by the API (`me.agent`, the token's name) and offers nothing a token cannot do: no agents page and no sign-out, since the tokens themselves are a person's own doing; everything else, configuring included, it does on the token as the person (ADR-0021), and it keeps the choice of language on the person. The pages route in the browser and every form has an address (ADR-0010): the projects at `/`, the person's own work at `/work`, the workspace's settings at `/settings` (its rules, its categories at `/categories`, where its skills come from), a project's pages under `/projects/<key>` (its roadmap, calendar and settings among them), a task by its number, a goal and a decision by their ids, a document by its path, and the query for how a page is shown, the board's filters, the calendar's month, the week of the person's work and the settings' forms among it (`matchRoute(pathname, search)`, `PATHS`, `projectHref`, `boardHref`, `taskHref`, `goalHref`, `calendarHref`, `workHref`, `personWorkHref`, `decisionHref`, `docHref`, `settingsHref`, `projectSettingsHref`, `newTaskHref`, `newGoalHref`, `newDecisionHref`, and `movedFrom` for the addresses of before); every link to one of them is followed in place, with one history entry per step; the workspace is loaded once and the project the page is on whole, kept current by the project's stream (`useConsoleData(client, projectKey)`, for a composition of your own).
80
80
  - **Pages of your own:** `config.pages` adds tabs beside the console's. Each is a `CustomPage`: a `key` (what the address says: `/pages/<key>` on the workspace, `/projects/<project>/pages/<key>` on a project), a `label` (one word, or a word by language tag with `en` standing in), a `level` (`workspace`, or `project` for a tab on every project), `wide` for a page that takes the whole window, and `render(context)`, which gets what the default pages get: the `data` of `useConsoleData` with its actions, the `project` the page is on, the `client`, the `navigation`, the `words` and the `language`. `customPageHref` names the address and `customPageLabel` the tab's word. A page that is not among the pages given shows nothing there.
81
81
  - **The languages:** every word the pages show is in a pack (`Messages`, keyed as `en` is), English and Korean ship (`ENGLISH`, `KOREAN`, `DEFAULT_LANGUAGES`), and a component takes its words from the language above it (`useWords`, `useLanguage`, `LanguageContext`), English where there is none. The person's choice is kept on them (`client.updateMe({ language })`) and the browser's languages decide before one (`chooseLanguage`, `packFor`). `createConsole({ languages })` replaces the packs the default console speaks, so that a custom console adds a language of its own; a pack is complete by type.
package/dist/cli/help.js CHANGED
@@ -211,7 +211,7 @@ export const COMMAND_HELP = {
211
211
  },
212
212
  "hand-in": {
213
213
  usage: "hand-in <https url | file path> [--label <words>]",
214
- about: "Hands in what was made: a link (a branch, a pull request, a document, a page), or a file from this machine, which the console keeps and shows on the task.",
214
+ about: "Hands in what was made: a link (a branch, a pull request, a document, a page), or a file from this machine, which the console keeps and shows on the task; a picture is shown there small and large, and a report that names it as ![words](its name) shows it where the words are.",
215
215
  limits: [
216
216
  "a link: https only",
217
217
  `a file: up to ${MAX_FILE_BYTES} bytes, not empty; it is called by its name, without the path`,
@@ -319,7 +319,7 @@ export const COMMAND_HELP = {
319
319
  },
320
320
  attach: {
321
321
  usage: "attach <path> <file> [--label <words>]",
322
- about: "Attaches a file from this machine to a page: the console keeps it, and the page shows it.",
322
+ about: "Attaches a file from this machine to a page: the console keeps it, and the page lists it; a picture is shown where the body names it as ![words](its name).",
323
323
  limits: [
324
324
  `a file: up to ${MAX_FILE_BYTES} bytes, not empty; it is called by its name, without the path`,
325
325
  `at most ${MAX_FILES_PER_DOCUMENT} files on one page`,
@@ -1 +1 @@
1
- {"version":3,"file":"help.js","sourceRoot":"","sources":["../../src/cli/help.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,gBAAgB,EAChB,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,uBAAuB,EACvB,wBAAwB,EACxB,qBAAqB,EACrB,mBAAmB,EACnB,wBAAwB,EACxB,cAAc,EACd,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,uBAAuB,EACvB,WAAW,EACX,8BAA8B,EAC9B,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,yBAAyB,EACzB,mBAAmB,EACnB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EA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AE,GAAG,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,KAAK,EAAE,EAAE,CAAC,KAAK,KAAK,EAAE,CAAC,CAAC,CAAC;IACzE,CAAC;IACD,IAAI,IAAI,CAAC,QAAQ,KAAK,SAAS,EAAE,CAAC;QAChC,KAAK,CAAC,IAAI,CAAC,EAAE,EAAE,WAAW,EAAE,GAAG,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,KAAK,OAAO,EAAE,CAAC,CAAC,CAAC;IACjF,CAAC;IACD,OAAO,GAAG,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC;AACjC,CAAC"}
@@ -6,28 +6,38 @@ export interface BoardProps {
6
6
  /** The link to a task's own page, as the composition routes it. */
7
7
  readonly taskHref: (task: RestTask) => string;
8
8
  readonly onOpen: (task: RestTask) => void;
9
- /** Called when a person moves a task to another column. Left out, the board is read-only. */
9
+ /** Called when a person moves a task to another column. Left out, the cards stay where they are. */
10
10
  readonly onMove?: ((task: RestTask, state: TaskState) => void) | undefined;
11
11
  /** The day to count due days from; the browser's today when left out. */
12
12
  readonly today?: string | undefined;
13
13
  /** What a column shows when it has nothing; the way to write the first task, for example. */
14
14
  readonly empty?: ReactNode;
15
- /** Where the tasks put away are (ADR-0029); given, the done and dropped columns lead there. */
16
- readonly archiveHref?: string | undefined;
15
+ /** Where a task is edited, as the composition routes it; given, each card's menu leads there. */
16
+ readonly editHref?: ((task: RestTask) => string) | undefined;
17
+ /** Called when the menu's edit is chosen, to show the form without leaving the page; left out, the link is followed. */
18
+ readonly onEdit?: ((task: RestTask) => void) | undefined;
19
+ /** Called when a task done or dropped is put away from its card's menu (ADR-0029). Left out, the menu offers nothing of it. */
20
+ readonly onArchive?: ((task: RestTask) => void) | undefined;
17
21
  }
18
22
  /** The state a column stands for, read off its `data-column`; nothing for a value that is not one. */
19
23
  export declare function columnStateOf(value: string | null | undefined): TaskState | undefined;
20
- export declare function TaskCard(props: {
24
+ export interface TaskCardProps {
21
25
  readonly task: RestTask;
22
26
  readonly href: string;
23
27
  readonly onOpen: (task: RestTask) => void;
24
- readonly onMove?: ((task: RestTask, state: TaskState) => void) | undefined;
25
28
  readonly today?: string | undefined;
26
- /** Called when the card's grip is pressed, to drag it to another column; left out, the card has no grip. */
27
- readonly onGrip?: ((task: RestTask, event: ReactPointerEvent<HTMLElement>) => void) | undefined;
29
+ /** Called when the card is pressed anywhere but on its controls, to drag it to another column; left out, the card stays where it is. */
30
+ readonly onPress?: ((task: RestTask, event: ReactPointerEvent<HTMLElement>) => void) | undefined;
28
31
  /** Whether the card is on its way to another column. */
29
32
  readonly dragging?: boolean | undefined;
30
- }): import("react").JSX.Element;
33
+ /** Where the task is edited; given, the card's menu leads there. */
34
+ readonly editHref?: string | undefined;
35
+ /** Called when the menu's edit is chosen, to show the form without leaving the page; left out, the link is followed. */
36
+ readonly onEdit?: ((task: RestTask) => void) | undefined;
37
+ /** Called when the task is put away from the card's menu; offered once the task is done or dropped (ADR-0029). */
38
+ readonly onArchive?: ((task: RestTask) => void) | undefined;
39
+ }
40
+ export declare function TaskCard(props: TaskCardProps): import("react").JSX.Element;
31
41
  /** The order a column reads in: what is due soonest first, what has no day after, the newest first among those. */
32
42
  export declare function byDue(a: RestTask, b: RestTask): number;
33
43
  export declare function Board(props: BoardProps): import("react").JSX.Element;
@@ -1 +1 @@
1
- {"version":3,"file":"board.d.ts","sourceRoot":"","sources":["../../src/components/board.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,SAAS,EACd,KAAK,YAAY,IAAI,iBAAiB,EAKvC,MAAM,OAAO,CAAC;AACf,OAAO,EACL,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,UAAU,EACf,KAAK,QAAQ,EAEb,KAAK,SAAS,EACf,MAAM,WAAW,CAAC;AAEnB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAoBhD,MAAM,WAAW,UAAU;I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,EAAE,CAAC;IAC7C,QAAQ,CAAC,KAAK,EAAE,SAAS,QAAQ,EAAE,CAAC;IACpC,QAAQ,CAAC,MAAM,EAAE,SAAS,UAAU,EAAE,CAAC;IACvC,sCAAsC;IACtC,QAAQ,CAAC,EAAE,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACrC,oDAAoD;IACpD,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,6FAA6F;IAC7F,QAAQ,CAAC,QAAQ,EAAE,CAAC,MAAM,EAAE,WAAW,KAAK,IAAI,CAAC;CAClD;AAED,6EAA6E;AAC7E,wBAAgB,YAAY,CAAC,KAAK,EAAE,iBAAiB,+BA+FpD"}
@@ -1,10 +1,19 @@
1
- import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
1
+ import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import { useCallback, useEffect, useRef, useState, } from "react";
3
+ import { createPortal } from "react-dom";
3
4
  import { TASK_STATES, } from "../api.js";
4
5
  import { useWords } from "../i18n/index.js";
6
+ import { OPEN_TASK_STATES } from "../vocabulary.js";
7
+ import { isPlainClick } from "./shell.js";
5
8
  import { Avatar, Badge, Button, CategoryBadge, cx, DueBadge, PriorityBadge, personName, } from "./ui.js";
6
- /** How far a pointer travels on the grip before the card is dragged, and not pressed. */
9
+ /** How far a mouse travels on a card before the press is a drag and not a click. */
7
10
  const DRAG_SLACK = 4;
11
+ /**
12
+ * How long a finger rests on a card before the card comes loose, and how far it may wander
13
+ * meanwhile; a finger that moves sooner is scrolling the page, not moving the card.
14
+ */
15
+ const HOLD_MS = 300;
16
+ const HOLD_SLACK = 8;
8
17
  /** How near the pointer comes to the board's edge before the board scrolls to show more columns. */
9
18
  const EDGE = 48;
10
19
  const EDGE_STEP = 12;
@@ -14,13 +23,114 @@ export function columnStateOf(value) {
14
23
  }
15
24
  export function TaskCard(props) {
16
25
  const words = useWords();
17
- const { task } = props;
18
- return (_jsxs("article", { className: cx("sc-card", props.dragging === true && "sc-card-dragging"), "aria-label": `#${task.number} ${task.title}`, children: [props.onGrip !== undefined && (_jsx("button", { type: "button", className: "sc-card-grip", title: words.board.grip, "aria-hidden": "true", tabIndex: -1, onPointerDown: (event) => props.onGrip?.(task, event), children: "\u22EE\u22EE" })), _jsxs("a", { className: "sc-card-title", href: props.href, onClick: (event) => {
19
- if (event.button === 0 && !event.metaKey && !event.ctrlKey && !event.shiftKey) {
26
+ const { task, onPress } = props;
27
+ const closed = !OPEN_TASK_STATES.includes(task.state);
28
+ const archive = closed ? props.onArchive : undefined;
29
+ return (_jsxs("article", { className: cx("sc-card", onPress !== undefined && "sc-card-movable", props.dragging === true && "sc-card-dragging"), "aria-label": `#${task.number} ${task.title}`, onPointerDown: onPress === undefined ? undefined : (event) => onPress(task, event), children: [(props.editHref !== undefined || archive !== undefined) && (_jsx(CardMenu, { task: task, editHref: props.editHref, onEdit: props.onEdit, onArchive: archive })), _jsxs("a", { className: "sc-card-title", href: props.href, onClick: (event) => {
30
+ if (isPlainClick(event)) {
20
31
  event.preventDefault();
21
32
  props.onOpen(task);
22
33
  }
23
- }, children: [_jsxs("span", { className: "sc-card-number", children: ["#", task.number] }), " ", task.title] }), _jsxs("div", { className: "sc-card-meta", children: [task.category !== null && _jsx(CategoryBadge, { category: task.category }), _jsx(PriorityBadge, { priority: task.priority }), task.dueOn !== null && (_jsx(DueBadge, { dueOn: task.dueOn, state: task.state, today: props.today })), task.openDecisions > 0 && (_jsx(Badge, { tone: "warning", title: words.board.decisionsTitle, children: words.board.decisions(task.openDecisions) })), _jsx("span", { className: "sc-card-spacer" }), task.assignee !== null && _jsx(Avatar, { person: task.assignee, size: "sm" })] }), props.onMove !== undefined && (_jsxs("label", { className: "sc-card-move", children: [_jsx("span", { className: "sc-visually-hidden", children: words.board.moveTo }), _jsx("select", { value: task.state, onChange: (event) => props.onMove?.(task, event.target.value), children: TASK_STATES.map((state) => (_jsx("option", { value: state, children: words.vocabulary.state[state] }, state))) })] }))] }));
34
+ }, children: [_jsxs("span", { className: "sc-card-number", children: ["#", task.number] }), " ", task.title] }), _jsxs("div", { className: "sc-card-meta", children: [task.category !== null && _jsx(CategoryBadge, { category: task.category }), _jsx(PriorityBadge, { priority: task.priority }), task.dueOn !== null && (_jsx(DueBadge, { dueOn: task.dueOn, state: task.state, today: props.today })), task.openDecisions > 0 && (_jsx(Badge, { tone: "warning", title: words.board.decisionsTitle, children: words.board.decisions(task.openDecisions) })), _jsx("span", { className: "sc-card-spacer" }), task.assignee !== null && _jsx(Avatar, { person: task.assignee, size: "sm" })] })] }));
35
+ }
36
+ const MENU_GAP = 4;
37
+ const MENU_MARGIN = 8;
38
+ /**
39
+ * The card's menu: three dots in its corner, which open the ways a card has beyond being moved,
40
+ * each given by the composition. The menu is rendered over the document, so that no column
41
+ * clips it; a press elsewhere, the escape key, a scroll or a change of the window closes it.
42
+ */
43
+ function CardMenu(props) {
44
+ const words = useWords();
45
+ const [place, setPlace] = useState(null);
46
+ const button = useRef(null);
47
+ const panel = useRef(null);
48
+ const open = place !== null;
49
+ const close = useCallback(() => setPlace(null), []);
50
+ const toggle = () => {
51
+ const rect = button.current?.getBoundingClientRect();
52
+ if (open || rect === undefined) {
53
+ close();
54
+ return;
55
+ }
56
+ setPlace({
57
+ top: rect.bottom + MENU_GAP,
58
+ right: Math.max(MENU_MARGIN, window.innerWidth - rect.right),
59
+ });
60
+ };
61
+ useEffect(() => {
62
+ if (!open) {
63
+ return;
64
+ }
65
+ // Opened near the bottom of the window, the menu stands above its button instead.
66
+ const shown = panel.current?.getBoundingClientRect();
67
+ const anchor = button.current?.getBoundingClientRect();
68
+ if (shown !== undefined &&
69
+ anchor !== undefined &&
70
+ shown.bottom > window.innerHeight - MENU_MARGIN) {
71
+ setPlace((current) => current === null
72
+ ? current
73
+ : { ...current, top: Math.max(MENU_MARGIN, anchor.top - MENU_GAP - shown.height) });
74
+ }
75
+ panel.current?.querySelector("[role='menuitem']")?.focus({ preventScroll: true });
76
+ const away = (event) => {
77
+ const target = event.target;
78
+ if (target instanceof Node &&
79
+ (panel.current?.contains(target) === true || button.current?.contains(target) === true)) {
80
+ return;
81
+ }
82
+ close();
83
+ };
84
+ const key = (event) => {
85
+ if (event.key === "Escape") {
86
+ close();
87
+ button.current?.focus();
88
+ }
89
+ };
90
+ document.addEventListener("pointerdown", away);
91
+ document.addEventListener("keydown", key);
92
+ window.addEventListener("scroll", close, true);
93
+ window.addEventListener("resize", close);
94
+ return () => {
95
+ document.removeEventListener("pointerdown", away);
96
+ document.removeEventListener("keydown", key);
97
+ window.removeEventListener("scroll", close, true);
98
+ window.removeEventListener("resize", close);
99
+ };
100
+ }, [open, close]);
101
+ // The arrow keys walk the items, around the ends.
102
+ const walk = (event) => {
103
+ if (event.key !== "ArrowDown" && event.key !== "ArrowUp") {
104
+ return;
105
+ }
106
+ event.preventDefault();
107
+ const items = [...(panel.current?.querySelectorAll("[role='menuitem']") ?? [])];
108
+ if (items.length === 0) {
109
+ return;
110
+ }
111
+ const active = document.activeElement;
112
+ const at = active instanceof HTMLElement ? items.indexOf(active) : -1;
113
+ const step = event.key === "ArrowDown" ? 1 : -1;
114
+ items[(at + step + items.length) % items.length]?.focus();
115
+ };
116
+ const { task } = props;
117
+ return (_jsxs(_Fragment, { children: [_jsx("button", { type: "button", ref: button, className: "sc-card-menu-button", "aria-label": words.board.menu, "aria-haspopup": "menu", "aria-expanded": open, onClick: toggle, children: _jsxs("svg", { viewBox: "0 0 16 16", "aria-hidden": "true", children: [_jsx("circle", { cx: "8", cy: "3", r: "1.5", fill: "currentColor" }), _jsx("circle", { cx: "8", cy: "8", r: "1.5", fill: "currentColor" }), _jsx("circle", { cx: "8", cy: "13", r: "1.5", fill: "currentColor" })] }) }), place !== null &&
118
+ typeof document !== "undefined" &&
119
+ createPortal(_jsxs("div", { ref: panel, className: "sc-card-menu", role: "menu", "aria-label": `#${task.number} ${task.title}`, style: { top: place.top, right: place.right }, onKeyDown: walk, onBlur: (event) => {
120
+ const next = event.relatedTarget;
121
+ if (!(next instanceof Node && panel.current?.contains(next) === true)) {
122
+ close();
123
+ }
124
+ }, children: [props.editHref !== undefined && (_jsx("a", { role: "menuitem", className: "sc-menu-link", href: props.editHref, onClick: (event) => {
125
+ close();
126
+ if (props.onEdit !== undefined && isPlainClick(event)) {
127
+ event.preventDefault();
128
+ props.onEdit(task);
129
+ }
130
+ }, children: words.common.edit })), props.onArchive !== undefined && (_jsx("button", { type: "button", role: "menuitem", className: "sc-menu-link", onClick: () => {
131
+ close();
132
+ props.onArchive?.(task);
133
+ }, children: words.task.archive }))] }), document.body)] }));
24
134
  }
25
135
  /** The order a column reads in: what is due soonest first, what has no day after, the newest first among those. */
26
136
  export function byDue(a, b) {
@@ -43,40 +153,55 @@ export function Board(props) {
43
153
  // What the pointer's release reads, so that the move is made outside a state update.
44
154
  const current = useRef(null);
45
155
  current.current = drag;
46
- const grip = useCallback((task, event) => {
47
- if (event.pointerType === "mouse" && event.button !== 0) {
156
+ // Whether the held card has come loose, kept outside the state so that the touch that follows
157
+ // the hold at once is answered before the state has rendered.
158
+ const loose = useRef(false);
159
+ const press = useCallback((task, event) => {
160
+ // The card's own controls, its title and its menu, are pressed for themselves.
161
+ if (event.button !== 0 ||
162
+ (event.target instanceof Element && event.target.closest("a, button") !== null)) {
48
163
  return;
49
164
  }
50
- // The press is the drag's beginning and nothing else: no text is selected on the way.
51
- event.preventDefault();
165
+ const hold = event.pointerType !== "mouse";
166
+ if (!hold) {
167
+ // The press is the drag's beginning and nothing else: no text is selected on the way.
168
+ event.preventDefault();
169
+ }
52
170
  const from = { x: event.clientX, y: event.clientY };
53
- setDrag({ task, from, x: from.x, y: from.y, moving: false, over: undefined });
171
+ setDrag({ task, from, x: from.x, y: from.y, moving: false, hold, over: undefined });
54
172
  }, []);
55
173
  // While a card is held, the pointer is followed over the whole document: the column under it
56
174
  // is marked, the board scrolls when the pointer nears its edge, and the release moves the task.
175
+ // A finger's hold is timed here, and once the card has come loose the page no longer scrolls
176
+ // under the finger, nor asks for the menu a long press would otherwise bring up.
57
177
  const held = drag !== null;
58
178
  useEffect(() => {
59
179
  if (!held) {
60
180
  return;
61
181
  }
182
+ const columnUnder = (x, y) => columnStateOf(document.elementFromPoint(x, y)?.closest("[data-column]")?.dataset.column);
62
183
  const follow = (event) => {
63
184
  const { clientX: x, clientY: y } = event;
64
- const under = document.elementFromPoint(x, y)?.closest("[data-column]");
65
185
  setDrag((before) => {
66
186
  if (before === null) {
67
187
  return before;
68
188
  }
69
- const moving = before.moving || Math.hypot(x - before.from.x, y - before.from.y) > DRAG_SLACK;
70
- return {
71
- ...before,
72
- x,
73
- y,
74
- moving,
75
- over: moving ? columnStateOf(under?.dataset.column) : undefined,
76
- };
189
+ const travelled = Math.hypot(x - before.from.x, y - before.from.y);
190
+ if (!before.moving) {
191
+ // A finger that wanders before it has rested is scrolling, and lets the card go; a
192
+ // mouse that has barely moved is still only pressing.
193
+ if (before.hold) {
194
+ return travelled > HOLD_SLACK ? null : { ...before, x, y };
195
+ }
196
+ if (travelled <= DRAG_SLACK) {
197
+ return { ...before, x, y };
198
+ }
199
+ loose.current = true;
200
+ }
201
+ return { ...before, x, y, moving: true, over: columnUnder(x, y) };
77
202
  });
78
203
  const element = board.current;
79
- if (element !== null) {
204
+ if (element !== null && loose.current) {
80
205
  const rect = element.getBoundingClientRect();
81
206
  if (x < rect.left + EDGE) {
82
207
  element.scrollLeft -= EDGE_STEP;
@@ -86,27 +211,55 @@ export function Board(props) {
86
211
  }
87
212
  }
88
213
  };
89
- const release = () => {
214
+ const loosen = () => {
215
+ setDrag((before) => {
216
+ if (before === null || before.moving) {
217
+ return before;
218
+ }
219
+ loose.current = true;
220
+ return { ...before, moving: true, over: columnUnder(before.x, before.y) };
221
+ });
222
+ };
223
+ const release = (event) => {
90
224
  const last = current.current;
91
- if (last?.moving === true && last.over !== undefined && last.over !== last.task.state) {
92
- onMove?.(last.task, last.over);
225
+ if (last?.moving === true && event.type === "pointerup") {
226
+ const over = columnUnder(event.clientX, event.clientY);
227
+ if (over !== undefined && over !== last.task.state) {
228
+ onMove?.(last.task, over);
229
+ }
93
230
  }
231
+ loose.current = false;
94
232
  setDrag(null);
95
233
  };
234
+ const block = (event) => {
235
+ if (loose.current) {
236
+ event.preventDefault();
237
+ }
238
+ };
239
+ const quiet = (event) => event.preventDefault();
240
+ const timer = current.current?.hold === true ? window.setTimeout(loosen, HOLD_MS) : undefined;
96
241
  window.addEventListener("pointermove", follow);
97
242
  window.addEventListener("pointerup", release);
98
243
  window.addEventListener("pointercancel", release);
244
+ document.addEventListener("touchmove", block, { passive: false });
245
+ document.addEventListener("contextmenu", quiet);
99
246
  return () => {
247
+ if (timer !== undefined) {
248
+ window.clearTimeout(timer);
249
+ }
100
250
  window.removeEventListener("pointermove", follow);
101
251
  window.removeEventListener("pointerup", release);
102
252
  window.removeEventListener("pointercancel", release);
253
+ document.removeEventListener("touchmove", block);
254
+ document.removeEventListener("contextmenu", quiet);
255
+ loose.current = false;
103
256
  };
104
257
  }, [held, onMove]);
105
- /** The drag under way, once the pointer has travelled; nothing while a card is merely pressed. */
258
+ /** The drag under way, once the card has come loose; nothing while a card is merely pressed. */
106
259
  const dragging = drag?.moving === true ? drag : null;
107
- return (_jsxs("div", { ref: board, className: cx("sc-board", dragging !== null && "sc-board-dragging"), children: [TASK_STATES.map((state) => {
260
+ return (_jsxs("div", { ref: board, className: cx("sc-board", onMove !== undefined && "sc-board-movable", dragging !== null && "sc-board-dragging"), children: [TASK_STATES.map((state) => {
108
261
  const tasks = props.tasks.filter((task) => task.state === state).sort(byDue);
109
- return (_jsxs("section", { className: cx("sc-column", `sc-column-${state}`, dragging?.over === state && "sc-column-over"), "aria-label": words.vocabulary.state[state], "data-column": state, children: [_jsxs("header", { className: "sc-column-header", children: [_jsx("h2", { className: "sc-column-title", children: words.vocabulary.state[state] }), _jsxs("span", { className: "sc-column-meta", children: [props.archiveHref !== undefined && (state === "done" || state === "dropped") && (_jsx("a", { className: "sc-column-archive", href: props.archiveHref, children: words.board.archive })), _jsx("span", { className: "sc-column-count", children: tasks.length })] })] }), _jsxs("div", { className: "sc-column-body", children: [tasks.map((task) => (_jsx(TaskCard, { task: task, href: props.taskHref(task), onOpen: props.onOpen, onMove: onMove, today: props.today, onGrip: onMove === undefined ? undefined : grip, dragging: dragging?.task.id === task.id }, task.id))), tasks.length === 0 && state === "idea" && props.empty] })] }, state));
262
+ return (_jsxs("section", { className: cx("sc-column", `sc-column-${state}`, dragging?.over === state && "sc-column-over"), "aria-label": words.vocabulary.state[state], "data-column": state, children: [_jsxs("header", { className: "sc-column-header", children: [_jsx("h2", { className: "sc-column-title", children: words.vocabulary.state[state] }), _jsx("span", { className: "sc-column-count", children: tasks.length })] }), _jsxs("div", { className: "sc-column-body", children: [tasks.map((task) => (_jsx(TaskCard, { task: task, href: props.taskHref(task), onOpen: props.onOpen, today: props.today, onPress: onMove === undefined ? undefined : press, dragging: dragging?.task.id === task.id, editHref: props.editHref?.(task), onEdit: props.onEdit, onArchive: props.onArchive }, task.id))), tasks.length === 0 && state === "idea" && props.empty] })] }, state));
110
263
  }), dragging !== null && (_jsxs("div", { className: "sc-drag-ghost", "aria-hidden": "true", style: { transform: `translate(${dragging.x + 12}px, ${dragging.y + 12}px)` }, children: [_jsxs("span", { className: "sc-card-number", children: ["#", dragging.task.number] }), " ", dragging.task.title] }))] }));
111
264
  }
112
265
  /** What the filter keeps of the board: a category or none, a goal or none, a person, one's own. */
@@ -1 +1 @@
1
- {"version":3,"file":"board.js","sourceRoot":"","sources":["../../src/components/board.tsx"],"names":[],"mappings":";AAAA,OAAO,EAGL,WAAW,EACX,SAAS,EACT,MAAM,EACN,QAAQ,GACT,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,WAAW,GAEZ,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAE5C,OAAO,EAC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AAC,IAAI,EAAC,OAAO,EAAE,GAAG,EAAE,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE,CAAC,YAChE,KAAK,CAAC,KAAK,GACL,CACV,IACI,CACR,CAAC;AACJ,CAAC"}
@@ -1,8 +1,6 @@
1
1
  import { type ReactNode } from "react";
2
2
  import { type RestComment, type RestCommentFile, type RestDecision, type RestRun, type RestTask } from "../api.js";
3
3
  import { type DecisionCardProps } from "./decision-list.js";
4
- /** Whether a file is a picture the pages show in place, by the media type the console kept. */
5
- export declare function isPicture(contentType: string): boolean;
6
4
  export interface CommentCardProps {
7
5
  readonly comment: RestComment;
8
6
  /** Where a file put in the comment is read: the project's address for it. Left out, a file is named and not linked. */
@@ -1 +1 @@
1
- {"version":3,"file":"comments.d.ts","sourceRoot":"","sources":["../../src/components/comments.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAuC,KAAK,SAAS,EAAY,MAAM,OAAO,CAAC;AACtF,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,eAAe,EACpB,KAAK,YAAY,EACjB,KAAK,OAAO,EACZ,KAAK,QAAQ,EACd,MAAM,WAAW,CAAC;AAEnB,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAmB1E,+FAA+F;AAC/F,wBAAgB,SAAS,CAAC,WAAW,EAAE,MAAM,GAAG,OAAO,CAEtD;AAOD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,uHAAuH;IACvH,QAAQ,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,eAAe,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;IACpE,+FAA+F;IAC/F,QAAQ,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC,GAAG,SAAS,CAAC;CAC3D;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,gBAAgB,+BAiFlD;AAED,gFAA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