@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.
- package/README.md +1 -1
- package/dist/cli/help.js +2 -2
- package/dist/cli/help.js.map +1 -1
- package/dist/components/board.d.ts +18 -8
- package/dist/components/board.d.ts.map +1 -1
- package/dist/components/board.js +180 -27
- package/dist/components/board.js.map +1 -1
- package/dist/components/comments.d.ts +0 -2
- package/dist/components/comments.d.ts.map +1 -1
- package/dist/components/comments.js +4 -39
- package/dist/components/comments.js.map +1 -1
- package/dist/components/documents.d.ts +2 -0
- package/dist/components/documents.d.ts.map +1 -1
- package/dist/components/documents.js +51 -5
- package/dist/components/documents.js.map +1 -1
- package/dist/components/files.d.ts +11 -0
- package/dist/components/files.d.ts.map +1 -0
- package/dist/components/files.js +44 -0
- package/dist/components/files.js.map +1 -0
- package/dist/components/runs.d.ts.map +1 -1
- package/dist/components/runs.js +34 -7
- package/dist/components/runs.js.map +1 -1
- package/dist/console.css +96 -74
- package/dist/console.d.ts.map +1 -1
- package/dist/console.js +3 -3
- package/dist/console.js.map +1 -1
- package/dist/docs-page.d.ts.map +1 -1
- package/dist/docs-page.js +14 -1
- package/dist/docs-page.js.map +1 -1
- package/dist/i18n/en.d.ts +6 -3
- package/dist/i18n/en.d.ts.map +1 -1
- package/dist/i18n/en.js +6 -3
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/ko.d.ts.map +1 -1
- package/dist/i18n/ko.js +6 -3
- package/dist/i18n/ko.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/docs/specs/cli.md +2 -2
- package/docs/specs/rest.md +2 -2
- package/package.json +1 -1
- package/skills/working-the-board/SKILL.md +3 -3
- package/src/cli/help.ts +2 -2
- package/src/components/board.tsx +300 -73
- package/src/components/comments.tsx +10 -39
- package/src/components/documents.tsx +87 -4
- package/src/components/files.ts +49 -0
- package/src/components/runs.tsx +73 -15
- package/src/console.tsx +12 -6
- package/src/docs-page.tsx +18 -1
- package/src/i18n/en.ts +7 -3
- package/src/i18n/ko.ts +7 -3
- package/src/index.ts +1 -1
- package/src/styles/console.css +96 -74
package/src/styles/console.css
CHANGED
|
@@ -710,6 +710,14 @@ table {
|
|
|
710
710
|
letter-spacing: -0.02em;
|
|
711
711
|
}
|
|
712
712
|
|
|
713
|
+
/* The ways a page offers at its head, side by side. */
|
|
714
|
+
.sc-page-actions {
|
|
715
|
+
display: flex;
|
|
716
|
+
flex-wrap: wrap;
|
|
717
|
+
align-items: center;
|
|
718
|
+
gap: var(--sc-space-2);
|
|
719
|
+
}
|
|
720
|
+
|
|
713
721
|
.sc-lead {
|
|
714
722
|
max-width: var(--sc-width-prose);
|
|
715
723
|
margin-bottom: var(--sc-space-5);
|
|
@@ -1342,28 +1350,6 @@ table {
|
|
|
1342
1350
|
flex: 1;
|
|
1343
1351
|
}
|
|
1344
1352
|
|
|
1345
|
-
/* Moving a task from its card: a quiet control, as wide as the card. */
|
|
1346
|
-
.sc-card-move select {
|
|
1347
|
-
width: 100%;
|
|
1348
|
-
min-height: 1.75rem;
|
|
1349
|
-
padding: 0 var(--sc-space-2);
|
|
1350
|
-
border: 1px solid transparent;
|
|
1351
|
-
border-radius: var(--sc-radius-sm);
|
|
1352
|
-
background: transparent;
|
|
1353
|
-
color: var(--sc-color-text-faint);
|
|
1354
|
-
font-size: var(--sc-text-xs);
|
|
1355
|
-
transition:
|
|
1356
|
-
border-color var(--sc-transition),
|
|
1357
|
-
color var(--sc-transition);
|
|
1358
|
-
}
|
|
1359
|
-
|
|
1360
|
-
.sc-card-move select:hover,
|
|
1361
|
-
.sc-card-move select:focus {
|
|
1362
|
-
border-color: var(--sc-color-border-strong);
|
|
1363
|
-
background: var(--sc-color-field);
|
|
1364
|
-
color: var(--sc-color-text);
|
|
1365
|
-
}
|
|
1366
|
-
|
|
1367
1353
|
/* One task, and a page of the documents: the text in a column for reading, the facts beside it
|
|
1368
1354
|
where the window is wide enough, under it where it is not. */
|
|
1369
1355
|
|
|
@@ -2166,8 +2152,9 @@ table {
|
|
|
2166
2152
|
font-size: var(--sc-text-sm);
|
|
2167
2153
|
}
|
|
2168
2154
|
|
|
2169
|
-
/* A picture in a comment is a thumbnail, no taller than a few lines, that
|
|
2170
|
-
page; a picture that only comes over https
|
|
2155
|
+
/* A picture in a comment, or handed in on a run, is a thumbnail, no taller than a few lines, that
|
|
2156
|
+
opens large over the page; a picture that only comes over https, or one on a page of the
|
|
2157
|
+
documents, stays where it is, as the text has it. */
|
|
2171
2158
|
.sc-picture-thumb {
|
|
2172
2159
|
display: inline-block;
|
|
2173
2160
|
padding: 0;
|
|
@@ -2279,7 +2266,8 @@ table {
|
|
|
2279
2266
|
font-size: var(--sc-text-sm);
|
|
2280
2267
|
}
|
|
2281
2268
|
|
|
2282
|
-
.sc-comment-picture
|
|
2269
|
+
.sc-comment-picture,
|
|
2270
|
+
.sc-artifact-picture {
|
|
2283
2271
|
display: grid;
|
|
2284
2272
|
gap: var(--sc-space-1);
|
|
2285
2273
|
justify-items: start;
|
|
@@ -2290,7 +2278,8 @@ table {
|
|
|
2290
2278
|
gap: var(--sc-space-2);
|
|
2291
2279
|
}
|
|
2292
2280
|
|
|
2293
|
-
.sc-comment-chosen
|
|
2281
|
+
.sc-comment-chosen,
|
|
2282
|
+
.sc-chosen-files {
|
|
2294
2283
|
display: flex;
|
|
2295
2284
|
flex-wrap: wrap;
|
|
2296
2285
|
gap: var(--sc-space-2);
|
|
@@ -2300,7 +2289,8 @@ table {
|
|
|
2300
2289
|
font-size: var(--sc-text-sm);
|
|
2301
2290
|
}
|
|
2302
2291
|
|
|
2303
|
-
.sc-comment-chosen-file
|
|
2292
|
+
.sc-comment-chosen-file,
|
|
2293
|
+
.sc-chosen-file {
|
|
2304
2294
|
display: inline-flex;
|
|
2305
2295
|
align-items: center;
|
|
2306
2296
|
gap: var(--sc-space-1);
|
|
@@ -2318,13 +2308,15 @@ table {
|
|
|
2318
2308
|
gap: var(--sc-space-2);
|
|
2319
2309
|
}
|
|
2320
2310
|
|
|
2321
|
-
.sc-comment-form-actions label
|
|
2311
|
+
.sc-comment-form-actions label,
|
|
2312
|
+
.sc-file-choice {
|
|
2322
2313
|
position: relative;
|
|
2323
2314
|
cursor: pointer;
|
|
2324
2315
|
}
|
|
2325
2316
|
|
|
2326
2317
|
/* The file input is the label's: there for the keyboard and the screen reader, not seen. */
|
|
2327
|
-
.sc-comment-file-input
|
|
2318
|
+
.sc-comment-file-input,
|
|
2319
|
+
.sc-file-input {
|
|
2328
2320
|
position: absolute;
|
|
2329
2321
|
width: 1px;
|
|
2330
2322
|
height: 1px;
|
|
@@ -2520,6 +2512,14 @@ table {
|
|
|
2520
2512
|
opacity: 0.85;
|
|
2521
2513
|
}
|
|
2522
2514
|
|
|
2515
|
+
/* The pictures for a page, under its body: the way to add one, and what becomes of it. */
|
|
2516
|
+
.sc-doc-form-pictures {
|
|
2517
|
+
display: flex;
|
|
2518
|
+
flex-wrap: wrap;
|
|
2519
|
+
align-items: center;
|
|
2520
|
+
gap: var(--sc-space-2);
|
|
2521
|
+
}
|
|
2522
|
+
|
|
2523
2523
|
.sc-doc-attach {
|
|
2524
2524
|
display: flex;
|
|
2525
2525
|
flex-wrap: wrap;
|
|
@@ -2600,13 +2600,6 @@ table {
|
|
|
2600
2600
|
}
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
2603
|
-
/* Where there is no pointer to hover with, the control on a card is as tall as a finger needs. */
|
|
2604
|
-
@media (hover: none) {
|
|
2605
|
-
.sc-card-move select {
|
|
2606
|
-
min-height: 2rem;
|
|
2607
|
-
}
|
|
2608
|
-
}
|
|
2609
|
-
|
|
2610
2603
|
/* The schedule, the roadmap and the categories (ADR-0019). */
|
|
2611
2604
|
|
|
2612
2605
|
/* The colours a category may be shown in: names, painted here and nowhere else. Each is a
|
|
@@ -3775,14 +3768,40 @@ table {
|
|
|
3775
3768
|
}
|
|
3776
3769
|
}
|
|
3777
3770
|
|
|
3778
|
-
/* A card is dragged to another column
|
|
3779
|
-
|
|
3780
|
-
|
|
3771
|
+
/* A card is dragged to another column from anywhere on it but its title and its menu: with a
|
|
3772
|
+
mouse at once, under a finger once it has rested a moment, so that a finger that moves scrolls.
|
|
3773
|
+
The cursor is the standard `move`, which every platform draws itself; the column under the
|
|
3774
|
+
dragged card says it would take it, and a ghost of the card follows the pointer. */
|
|
3781
3775
|
.sc-card {
|
|
3782
3776
|
position: relative;
|
|
3783
3777
|
}
|
|
3784
3778
|
|
|
3785
|
-
.sc-card-
|
|
3779
|
+
.sc-card-movable {
|
|
3780
|
+
cursor: move;
|
|
3781
|
+
}
|
|
3782
|
+
|
|
3783
|
+
/* A finger resting on a card is neither selecting its words nor asking for the page's menu. */
|
|
3784
|
+
@media (pointer: coarse) {
|
|
3785
|
+
.sc-card-movable {
|
|
3786
|
+
-webkit-touch-callout: none;
|
|
3787
|
+
user-select: none;
|
|
3788
|
+
}
|
|
3789
|
+
}
|
|
3790
|
+
|
|
3791
|
+
.sc-card-dragging {
|
|
3792
|
+
opacity: 0.5;
|
|
3793
|
+
}
|
|
3794
|
+
|
|
3795
|
+
.sc-board-dragging,
|
|
3796
|
+
.sc-board-dragging .sc-card,
|
|
3797
|
+
.sc-board-dragging .sc-card * {
|
|
3798
|
+
cursor: move;
|
|
3799
|
+
user-select: none;
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3802
|
+
/* The card's menu: three dots in the corner, seen on the card under the pointer or with the
|
|
3803
|
+
focus, and always to a finger; the menu itself stands over the page, clipped by no column. */
|
|
3804
|
+
.sc-card-menu-button {
|
|
3786
3805
|
position: absolute;
|
|
3787
3806
|
top: var(--sc-space-1);
|
|
3788
3807
|
right: var(--sc-space-1);
|
|
@@ -3796,36 +3815,57 @@ table {
|
|
|
3796
3815
|
border-radius: var(--sc-radius-sm);
|
|
3797
3816
|
background: none;
|
|
3798
3817
|
color: var(--sc-color-text-faint);
|
|
3799
|
-
|
|
3800
|
-
letter-spacing: -0.15em;
|
|
3801
|
-
cursor: grab;
|
|
3818
|
+
cursor: pointer;
|
|
3802
3819
|
opacity: 0;
|
|
3803
|
-
|
|
3804
|
-
|
|
3820
|
+
transition:
|
|
3821
|
+
opacity var(--sc-transition),
|
|
3822
|
+
background var(--sc-transition),
|
|
3823
|
+
color var(--sc-transition);
|
|
3805
3824
|
}
|
|
3806
3825
|
|
|
3807
|
-
.sc-card
|
|
3808
|
-
|
|
3809
|
-
|
|
3826
|
+
.sc-card-menu-button svg {
|
|
3827
|
+
width: 1rem;
|
|
3828
|
+
height: 1rem;
|
|
3829
|
+
}
|
|
3830
|
+
|
|
3831
|
+
.sc-card:hover .sc-card-menu-button,
|
|
3832
|
+
.sc-card:focus-within .sc-card-menu-button,
|
|
3833
|
+
.sc-card-menu-button[aria-expanded="true"] {
|
|
3810
3834
|
opacity: 1;
|
|
3811
3835
|
}
|
|
3812
3836
|
|
|
3837
|
+
.sc-card-menu-button:hover,
|
|
3838
|
+
.sc-card-menu-button[aria-expanded="true"] {
|
|
3839
|
+
background: var(--sc-color-bg-inset);
|
|
3840
|
+
color: var(--sc-color-text);
|
|
3841
|
+
}
|
|
3842
|
+
|
|
3843
|
+
.sc-card-menu-button:focus-visible {
|
|
3844
|
+
outline: 2px solid var(--sc-color-accent);
|
|
3845
|
+
outline-offset: 1px;
|
|
3846
|
+
}
|
|
3847
|
+
|
|
3813
3848
|
@media (pointer: coarse) {
|
|
3814
|
-
.sc-card-
|
|
3849
|
+
.sc-card-menu-button {
|
|
3815
3850
|
opacity: 1;
|
|
3816
3851
|
}
|
|
3817
3852
|
}
|
|
3818
3853
|
|
|
3819
|
-
.sc-card:has(.sc-card-
|
|
3854
|
+
.sc-card:has(.sc-card-menu-button) .sc-card-title {
|
|
3820
3855
|
padding-right: 1.75rem;
|
|
3821
3856
|
}
|
|
3822
3857
|
|
|
3823
|
-
.sc-card-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3858
|
+
.sc-card-menu {
|
|
3859
|
+
position: fixed;
|
|
3860
|
+
z-index: 60;
|
|
3861
|
+
display: flex;
|
|
3862
|
+
flex-direction: column;
|
|
3863
|
+
min-width: 10rem;
|
|
3864
|
+
padding: var(--sc-space-1);
|
|
3865
|
+
border: var(--sc-border);
|
|
3866
|
+
border-radius: var(--sc-radius-lg);
|
|
3867
|
+
background: var(--sc-color-bg-inset);
|
|
3868
|
+
box-shadow: var(--sc-shadow-stage);
|
|
3829
3869
|
}
|
|
3830
3870
|
|
|
3831
3871
|
.sc-column-over {
|
|
@@ -3941,21 +3981,3 @@ table {
|
|
|
3941
3981
|
.sc-goal-view-list {
|
|
3942
3982
|
display: block;
|
|
3943
3983
|
}
|
|
3944
|
-
|
|
3945
|
-
/* The done and dropped columns lead to the archive (ADR-0029), beside their count. */
|
|
3946
|
-
.sc-column-meta {
|
|
3947
|
-
display: inline-flex;
|
|
3948
|
-
align-items: center;
|
|
3949
|
-
gap: var(--sc-space-2);
|
|
3950
|
-
}
|
|
3951
|
-
|
|
3952
|
-
.sc-column-archive {
|
|
3953
|
-
color: var(--sc-color-text-muted);
|
|
3954
|
-
font-size: var(--sc-text-xs);
|
|
3955
|
-
text-decoration: none;
|
|
3956
|
-
}
|
|
3957
|
-
|
|
3958
|
-
.sc-column-archive:hover {
|
|
3959
|
-
color: var(--sc-color-text);
|
|
3960
|
-
text-decoration: underline;
|
|
3961
|
-
}
|