@cueloop/client 0.1.0-alpha.78 → 0.1.0-alpha.79
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/package.json +14 -13
- package/src/App.diff.test.tsx +9 -4
- package/src/App.focus.test.ts +1 -59
- package/src/App.identity.test.tsx +3 -3
- package/src/App.plan-render.test.tsx +209 -0
- package/src/App.plan-review.test.tsx +75 -26
- package/src/App.readonly.test.tsx +6 -5
- package/src/App.share-dialog.test.tsx +172 -0
- package/src/App.submit-confirm.test.tsx +6 -4
- package/src/App.test.tsx +31 -28
- package/src/App.toast.test.tsx +11 -4
- package/src/App.tsx +259 -274
- package/src/App.walk.test.tsx +9 -8
- package/src/App.workbench.test.tsx +86 -0
- package/src/annotation-palette.ts +1 -0
- package/src/app-screens.tsx +12 -6
- package/src/app-view-model.ts +0 -1
- package/src/components/ConfirmDialog.stories.tsx +3 -3
- package/src/components/DiffContentView.tsx +14 -7
- package/src/components/DiscussionMarkerRail.tsx +9 -4
- package/src/components/GridTabContent.tsx +8 -2
- package/src/components/HandleChipsInput.stories.tsx +24 -0
- package/src/components/HandleChipsInput.test.tsx +35 -0
- package/src/components/HandleChipsInput.tsx +145 -0
- package/src/components/MarkdownGridBlock.stories.tsx +33 -0
- package/src/components/MarkdownGridBlock.tsx +72 -0
- package/src/components/MarkdownThreadEditor.stories.tsx +15 -0
- package/src/components/MarkdownThreadEditor.test.tsx +98 -0
- package/src/components/MarkdownThreadEditor.tsx +162 -0
- package/src/components/NavModeHint.stories.tsx +40 -0
- package/src/components/NavModeHint.tsx +31 -0
- package/src/components/SettingsDialog.tsx +1 -0
- package/src/components/ShareDialog.stories.tsx +121 -0
- package/src/components/ShareDialog.tsx +552 -0
- package/src/components/ThreadFooter.tsx +4 -1
- package/src/components/ThreadTree.tsx +1 -1
- package/src/components/ThreadView.slash.test.tsx +0 -35
- package/src/components/ThreadView.tsx +142 -68
- package/src/components/Toast.stories.tsx +7 -0
- package/src/components/Toast.tsx +15 -3
- package/src/components/__snapshots__/stories.test.tsx.snap +258 -134
- package/src/components/primitives/Button.tsx +6 -2
- package/src/components/primitives/Card.tsx +2 -2
- package/src/components/primitives/Dialog.tsx +2 -2
- package/src/components/primitives/Switch.stories.tsx +17 -0
- package/src/components/primitives/Switch.tsx +32 -0
- package/src/components/primitives/Tree.tsx +5 -1
- package/src/components/primitives/frame.ts +5 -0
- package/src/components/share-dialog-store.ts +58 -0
- package/src/components/stories.test.tsx +4 -3
- package/src/config.test.ts +18 -0
- package/src/config.ts +8 -1
- package/src/diff-fold.ts +1 -1
- package/src/intent-dispatch.test.ts +12 -3
- package/src/intent-dispatch.ts +10 -25
- package/src/key-bindings.ts +0 -6
- package/src/keymap.ts +0 -1
- package/src/markdown-editor-syntax-style.ts +50 -0
- package/src/markdown-grid.test.ts +101 -0
- package/src/markdown-grid.ts +203 -0
- package/src/markdown-highlight.test.ts +61 -0
- package/src/markdown-highlight.ts +122 -0
- package/src/prototype-browser.test.ts +9 -1
- package/src/prototype-browser.ts +22 -0
- package/src/run.ts +8 -6
- package/src/share.ts +15 -1
- package/src/test-support.ts +14 -0
- package/src/thread-chords.test.ts +55 -178
- package/src/thread-chords.ts +78 -169
- package/src/thread-controller.curate.test.ts +1 -0
- package/src/thread-controller.live-diff.test.ts +3 -0
- package/src/thread-controller.share.test.ts +60 -5
- package/src/thread-controller.switch-cache.test.ts +30 -0
- package/src/thread-controller.tree.test.ts +6 -1
- package/src/thread-controller.ts +229 -54
- package/src/use-annotation-surface.tsx +45 -36
- package/src/use-settings-dialog.tsx +14 -3
- package/src/use-thread-body-editing.tsx +58 -0
- package/src/view-plan.test.ts +56 -6
- package/src/view-plan.ts +154 -5
- package/src/App.share-choice.test.tsx +0 -105
- package/src/components/ManageAccessDialog.stories.tsx +0 -36
- package/src/components/ManageAccessDialog.test.tsx +0 -94
- package/src/components/ManageAccessDialog.tsx +0 -122
- package/src/components/ShareChoiceDialog.stories.tsx +0 -34
- package/src/components/ShareChoiceDialog.test.tsx +0 -103
- package/src/components/ShareChoiceDialog.tsx +0 -80
- package/src/components/ThreadsSidebar.stories.tsx +0 -36
- package/src/components/ThreadsSidebar.tsx +0 -71
- package/src/components/agent-launcher.stories.tsx +0 -26
- package/src/components/agent-launcher.test.tsx +0 -50
- package/src/components/agent-launcher.tsx +0 -149
|
@@ -12,7 +12,7 @@ exports[`stories catalog Surfaces/AnnotatableFileView/Loaded renders, snapshots,
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
|
|
15
|
+
type to comment · esc for nav mode
|
|
16
16
|
"
|
|
17
17
|
`;
|
|
18
18
|
|
|
@@ -146,7 +146,7 @@ exports[`stories catalog Surfaces/BareWorkbenchFileView/Loaded renders, snapshot
|
|
|
146
146
|
|
|
147
147
|
|
|
148
148
|
|
|
149
|
-
|
|
149
|
+
type to comment · esc for nav mode
|
|
150
150
|
"
|
|
151
151
|
`;
|
|
152
152
|
|
|
@@ -416,16 +416,16 @@ exports[`stories catalog Cards/ConfirmCard/WithViewedSummary renders, snapshots,
|
|
|
416
416
|
"
|
|
417
417
|
`;
|
|
418
418
|
|
|
419
|
-
exports[`stories catalog Overlays/ConfirmDialog/
|
|
419
|
+
exports[`stories catalog Overlays/ConfirmDialog/DeleteThread renders, snapshots, and carries its colors: Overlays/ConfirmDialog/DeleteThread 1`] = `
|
|
420
420
|
"
|
|
421
421
|
|
|
422
422
|
|
|
423
423
|
|
|
424
424
|
|
|
425
|
-
┌─
|
|
425
|
+
┌─ delete thread ────────────────────────────────────┐
|
|
426
|
+
│ │
|
|
427
|
+
│ Delete "Auth rollout"? This removes the thread. │
|
|
426
428
|
│ │
|
|
427
|
-
│ Delete "Auth rollout"? This removes the plan and │
|
|
428
|
-
│ its review. │
|
|
429
429
|
│ │
|
|
430
430
|
│ delete cancel │
|
|
431
431
|
└────────────────────────────────────────────────────┘
|
|
@@ -454,7 +454,7 @@ exports[`stories catalog Surfaces/DiffContentView/AnnotatedLine renders, snapsho
|
|
|
454
454
|
|
|
455
455
|
|
|
456
456
|
|
|
457
|
-
|
|
457
|
+
type to comment · esc for nav mode
|
|
458
458
|
"
|
|
459
459
|
`;
|
|
460
460
|
|
|
@@ -474,7 +474,7 @@ exports[`stories catalog Surfaces/DiffContentView/CaretOnFirstLine renders, snap
|
|
|
474
474
|
|
|
475
475
|
|
|
476
476
|
|
|
477
|
-
|
|
477
|
+
type to comment · esc for nav mode
|
|
478
478
|
"
|
|
479
479
|
`;
|
|
480
480
|
|
|
@@ -494,7 +494,7 @@ exports[`stories catalog Surfaces/DiffContentView/IntralineWordDiff renders, sna
|
|
|
494
494
|
|
|
495
495
|
|
|
496
496
|
|
|
497
|
-
|
|
497
|
+
type to comment · esc for nav mode
|
|
498
498
|
"
|
|
499
499
|
`;
|
|
500
500
|
|
|
@@ -514,7 +514,7 @@ exports[`stories catalog Surfaces/DiffContentView/SignedRows renders, snapshots,
|
|
|
514
514
|
|
|
515
515
|
|
|
516
516
|
|
|
517
|
-
|
|
517
|
+
type to comment · esc for nav mode
|
|
518
518
|
"
|
|
519
519
|
`;
|
|
520
520
|
|
|
@@ -536,7 +536,7 @@ exports[`stories catalog Surfaces/DiffContentView/SplitView renders, snapshots,
|
|
|
536
536
|
|
|
537
537
|
|
|
538
538
|
|
|
539
|
-
|
|
539
|
+
type to comment · esc for nav mode
|
|
540
540
|
"
|
|
541
541
|
`;
|
|
542
542
|
|
|
@@ -628,7 +628,7 @@ exports[`stories catalog Surfaces/GridTabContent/ChangesTab renders, snapshots,
|
|
|
628
628
|
|
|
629
629
|
|
|
630
630
|
|
|
631
|
-
|
|
631
|
+
type to comment · esc for nav mode
|
|
632
632
|
"
|
|
633
633
|
`;
|
|
634
634
|
|
|
@@ -650,7 +650,27 @@ exports[`stories catalog Surfaces/GridTabContent/FileDiffTab renders, snapshots,
|
|
|
650
650
|
|
|
651
651
|
|
|
652
652
|
|
|
653
|
-
|
|
653
|
+
type to comment · esc for nav mode
|
|
654
|
+
"
|
|
655
|
+
`;
|
|
656
|
+
|
|
657
|
+
exports[`stories catalog Inputs/HandleChips/Empty renders, snapshots, and carries its colors: Inputs/HandleChips/Empty 1`] = `
|
|
658
|
+
"
|
|
659
|
+
@handle
|
|
660
|
+
|
|
661
|
+
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
"
|
|
665
|
+
`;
|
|
666
|
+
|
|
667
|
+
exports[`stories catalog Inputs/HandleChips/WithHandles renders, snapshots, and carries its colors: Inputs/HandleChips/WithHandles 1`] = `
|
|
668
|
+
"
|
|
669
|
+
@octocat @hubot @handle
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
|
|
673
|
+
|
|
654
674
|
"
|
|
655
675
|
`;
|
|
656
676
|
|
|
@@ -682,47 +702,44 @@ exports[`stories catalog Overlays/KeybindsDialog/Cheatsheet renders, snapshots,
|
|
|
682
702
|
"
|
|
683
703
|
`;
|
|
684
704
|
|
|
685
|
-
exports[`stories catalog
|
|
686
|
-
"
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
│ │
|
|
696
|
-
│ │
|
|
697
|
-
│ @handle │
|
|
698
|
-
│ add create link close │
|
|
699
|
-
└────────────────────────────────────────────────────┘
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
705
|
+
exports[`stories catalog Surfaces/MarkdownGridBlock/Frontmatter renders, snapshots, and carries its colors: Surfaces/MarkdownGridBlock/Frontmatter 1`] = `
|
|
706
|
+
" ┌────────┬────────────────┐
|
|
707
|
+
│ title │ Migration Plan │
|
|
708
|
+
├────────┼────────────────┤
|
|
709
|
+
│ owner │ platform team │
|
|
710
|
+
├────────┼────────────────┤
|
|
711
|
+
│ status │ in review │
|
|
712
|
+
└────────┴────────────────┘
|
|
713
|
+
|
|
714
|
+
|
|
704
715
|
"
|
|
705
716
|
`;
|
|
706
717
|
|
|
707
|
-
exports[`stories catalog
|
|
708
|
-
"
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
718
|
+
exports[`stories catalog Surfaces/MarkdownGridBlock/Table renders, snapshots, and carries its colors: Surfaces/MarkdownGridBlock/Table 1`] = `
|
|
719
|
+
" Name Size
|
|
720
|
+
────────────
|
|
721
|
+
daemon 12
|
|
722
|
+
client 7
|
|
723
|
+
|
|
724
|
+
|
|
725
|
+
"
|
|
726
|
+
`;
|
|
727
|
+
|
|
728
|
+
exports[`stories catalog Surfaces/MarkdownThreadEditor/Editing renders, snapshots, and carries its colors: Surfaces/MarkdownThreadEditor/Editing 1`] = `
|
|
729
|
+
" # Rollout Plan
|
|
730
|
+
|
|
731
|
+
Ship the store move behind a \`flag\`. See [docs](https://x.
|
|
732
|
+
dev).
|
|
733
|
+
|
|
734
|
+
- first step
|
|
735
|
+
- second step
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
|
|
742
|
+
Ln 1/7 Col 1 ⌃⏎ save & close
|
|
726
743
|
"
|
|
727
744
|
`;
|
|
728
745
|
|
|
@@ -738,6 +755,21 @@ exports[`stories catalog Chrome/MenuBar/Open renders, snapshots, and carries its
|
|
|
738
755
|
"
|
|
739
756
|
`;
|
|
740
757
|
|
|
758
|
+
exports[`stories catalog Chrome/NavModeHint/Composing renders, snapshots, and carries its colors: Chrome/NavModeHint/Composing 1`] = `
|
|
759
|
+
" type to comment · esc for nav mode
|
|
760
|
+
"
|
|
761
|
+
`;
|
|
762
|
+
|
|
763
|
+
exports[`stories catalog Chrome/NavModeHint/DiffNav renders, snapshots, and carries its colors: Chrome/NavModeHint/DiffNav 1`] = `
|
|
764
|
+
" x reject · c fold · d layout · k walk · ⏎ submit · type to leave
|
|
765
|
+
"
|
|
766
|
+
`;
|
|
767
|
+
|
|
768
|
+
exports[`stories catalog Chrome/NavModeHint/ThreadNav renders, snapshots, and carries its colors: Chrome/NavModeHint/ThreadNav 1`] = `
|
|
769
|
+
" c comment · e edit · s share · n/p cards · ⏎ submit · type to leave
|
|
770
|
+
"
|
|
771
|
+
`;
|
|
772
|
+
|
|
741
773
|
exports[`stories catalog Chrome/OverlayScrollbar/AtRest renders, snapshots, and carries its colors: Chrome/OverlayScrollbar/AtRest 1`] = `
|
|
742
774
|
"row 1
|
|
743
775
|
row 2
|
|
@@ -844,10 +876,10 @@ exports[`stories catalog Overlays/PromptDialog/NameYourself renders, snapshots,
|
|
|
844
876
|
|
|
845
877
|
|
|
846
878
|
|
|
847
|
-
┌─
|
|
879
|
+
┌─ welcome ──────────────────────────────────────────┐
|
|
848
880
|
│ │
|
|
849
|
-
│ Your name (optional) - it attributes the notes
|
|
850
|
-
│
|
|
881
|
+
│ Your name (optional) - it attributes the notes you │
|
|
882
|
+
│ leave: │
|
|
851
883
|
│ your name │
|
|
852
884
|
│ save cancel │
|
|
853
885
|
└────────────────────────────────────────────────────┘
|
|
@@ -864,7 +896,7 @@ exports[`stories catalog Overlays/PromptDialog/RenameAuthor renders, snapshots,
|
|
|
864
896
|
|
|
865
897
|
|
|
866
898
|
|
|
867
|
-
┌─
|
|
899
|
+
┌─ rename author ────────────────────────────────────┐
|
|
868
900
|
│ │
|
|
869
901
|
│ Display name for this collaborator: │
|
|
870
902
|
│ Robin │
|
|
@@ -933,7 +965,7 @@ exports[`stories catalog Overlays/SettingsDialog/AppearanceThemed renders, snaps
|
|
|
933
965
|
|
|
934
966
|
|
|
935
967
|
|
|
936
|
-
┌─
|
|
968
|
+
┌─ settings ───────────────────────────────────────────────────────────────┐
|
|
937
969
|
│ General │ Theme Rosé Pine Moon │
|
|
938
970
|
│ Display │ │
|
|
939
971
|
│ Appearance │ │
|
|
@@ -967,7 +999,7 @@ exports[`stories catalog Overlays/SettingsDialog/BodyZone renders, snapshots, an
|
|
|
967
999
|
|
|
968
1000
|
|
|
969
1001
|
|
|
970
|
-
┌─
|
|
1002
|
+
┌─ settings ───────────────────────────────────────────────────────────────┐
|
|
971
1003
|
│ General │ Plan width default │
|
|
972
1004
|
│ Display │ Line numbers on │
|
|
973
1005
|
│ Appearance │ │
|
|
@@ -1001,7 +1033,7 @@ exports[`stories catalog Overlays/SettingsDialog/NavZone renders, snapshots, and
|
|
|
1001
1033
|
|
|
1002
1034
|
|
|
1003
1035
|
|
|
1004
|
-
┌─
|
|
1036
|
+
┌─ settings ───────────────────────────────────────────────────────────────┐
|
|
1005
1037
|
│ General │ Display name amber-heron │
|
|
1006
1038
|
│ Display │ Auto-close on submit 3s │
|
|
1007
1039
|
│ Appearance │ │
|
|
@@ -1058,35 +1090,143 @@ exports[`stories catalog Chrome/SettingsRows/AllKinds renders, snapshots, and ca
|
|
|
1058
1090
|
"
|
|
1059
1091
|
`;
|
|
1060
1092
|
|
|
1061
|
-
exports[`stories catalog Dialogs/
|
|
1062
|
-
"
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1093
|
+
exports[`stories catalog Dialogs/Share/AuthWizard renders, snapshots, and carries its colors: Dialogs/Share/AuthWizard 1`] = `
|
|
1094
|
+
"
|
|
1095
|
+
|
|
1096
|
+
┌─ share ────────────────────────────────────────────────────────────────┐
|
|
1097
|
+
│ link name │
|
|
1098
|
+
│ reviewers │
|
|
1099
|
+
│ │
|
|
1100
|
+
│ require auth ( ●) │
|
|
1101
|
+
│ │
|
|
1102
|
+
│ @octocat @hubot @handle │
|
|
1103
|
+
│ │
|
|
1104
|
+
│ │
|
|
1105
|
+
│ │
|
|
1106
|
+
│ │
|
|
1107
|
+
│ │
|
|
1108
|
+
│ │
|
|
1109
|
+
│ │
|
|
1110
|
+
│ │
|
|
1111
|
+
│ │
|
|
1112
|
+
│ │
|
|
1113
|
+
│ create cancel │
|
|
1114
|
+
│ ↑/↓ move · space toggle · enter save · esc back │
|
|
1115
|
+
└────────────────────────────────────────────────────────────────────────┘
|
|
1116
|
+
|
|
1117
|
+
|
|
1074
1118
|
"
|
|
1075
1119
|
`;
|
|
1076
1120
|
|
|
1077
|
-
exports[`stories catalog Dialogs/
|
|
1078
|
-
"
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1121
|
+
exports[`stories catalog Dialogs/Share/EmptyList renders, snapshots, and carries its colors: Dialogs/Share/EmptyList 1`] = `
|
|
1122
|
+
"
|
|
1123
|
+
|
|
1124
|
+
┌─ share ────────────────────────────────────────────────────────────────┐
|
|
1125
|
+
│ share externally │ │
|
|
1126
|
+
│ export │ │
|
|
1127
|
+
│ │ │
|
|
1128
|
+
│ │ │
|
|
1129
|
+
│ │ │
|
|
1130
|
+
│ │ │
|
|
1131
|
+
│ │ │
|
|
1132
|
+
│ │ │
|
|
1133
|
+
│ │ + new link │
|
|
1134
|
+
│ │ │
|
|
1135
|
+
│ │ │
|
|
1136
|
+
│ │ │
|
|
1137
|
+
│ │ │
|
|
1138
|
+
│ │ │
|
|
1139
|
+
│ │ │
|
|
1140
|
+
│ │ │
|
|
1141
|
+
│ │ │
|
|
1142
|
+
│ j/k nav · l/enter open · esc close │
|
|
1143
|
+
└────────────────────────────────────────────────────────────────────────┘
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
"
|
|
1147
|
+
`;
|
|
1148
|
+
|
|
1149
|
+
exports[`stories catalog Dialogs/Share/ExportComingSoon renders, snapshots, and carries its colors: Dialogs/Share/ExportComingSoon 1`] = `
|
|
1150
|
+
"
|
|
1151
|
+
|
|
1152
|
+
┌─ share ────────────────────────────────────────────────────────────────┐
|
|
1153
|
+
│ share externally │ │
|
|
1154
|
+
│ export │ │
|
|
1155
|
+
│ │ │
|
|
1156
|
+
│ │ │
|
|
1157
|
+
│ │ │
|
|
1158
|
+
│ │ │
|
|
1159
|
+
│ │ │
|
|
1160
|
+
│ │ │
|
|
1161
|
+
│ │ coming soon │
|
|
1162
|
+
│ │ │
|
|
1163
|
+
│ │ │
|
|
1164
|
+
│ │ │
|
|
1165
|
+
│ │ │
|
|
1166
|
+
│ │ │
|
|
1167
|
+
│ │ │
|
|
1168
|
+
│ │ │
|
|
1169
|
+
│ │ │
|
|
1170
|
+
│ j/k nav · l/enter open · esc close │
|
|
1171
|
+
└────────────────────────────────────────────────────────────────────────┘
|
|
1172
|
+
|
|
1173
|
+
|
|
1174
|
+
"
|
|
1175
|
+
`;
|
|
1176
|
+
|
|
1177
|
+
exports[`stories catalog Dialogs/Share/NewLinkWizard renders, snapshots, and carries its colors: Dialogs/Share/NewLinkWizard 1`] = `
|
|
1178
|
+
"
|
|
1179
|
+
|
|
1180
|
+
┌─ share ────────────────────────────────────────────────────────────────┐
|
|
1181
|
+
│ link name │
|
|
1182
|
+
│ Improve retry logic │
|
|
1183
|
+
│ │
|
|
1184
|
+
│ require auth (● ) │
|
|
1185
|
+
│ │
|
|
1186
|
+
│ │
|
|
1187
|
+
│ │
|
|
1188
|
+
│ │
|
|
1189
|
+
│ │
|
|
1190
|
+
│ │
|
|
1191
|
+
│ │
|
|
1192
|
+
│ │
|
|
1193
|
+
│ │
|
|
1194
|
+
│ │
|
|
1195
|
+
│ │
|
|
1196
|
+
│ │
|
|
1197
|
+
│ create cancel │
|
|
1198
|
+
│ ↑/↓ move · space toggle · enter save · esc back │
|
|
1199
|
+
└────────────────────────────────────────────────────────────────────────┘
|
|
1200
|
+
|
|
1201
|
+
|
|
1202
|
+
"
|
|
1203
|
+
`;
|
|
1204
|
+
|
|
1205
|
+
exports[`stories catalog Dialogs/Share/WithLinks renders, snapshots, and carries its colors: Dialogs/Share/WithLinks 1`] = `
|
|
1206
|
+
"
|
|
1207
|
+
|
|
1208
|
+
┌─ share ────────────────────────────────────────────────────────────────┐
|
|
1209
|
+
│ share externally │ links created for Improve retry logic │
|
|
1210
|
+
│ export │ │
|
|
1211
|
+
│ │ reviewers copy link ⋮ │
|
|
1212
|
+
│ │ p_ef34gh@cueloop.dev copy link ⋮ │
|
|
1213
|
+
│ │ │
|
|
1214
|
+
│ │ + new link │
|
|
1215
|
+
│ │ │
|
|
1216
|
+
│ │ │
|
|
1217
|
+
│ │ │
|
|
1218
|
+
│ │ │
|
|
1219
|
+
│ │ │
|
|
1220
|
+
│ │ │
|
|
1221
|
+
│ │ │
|
|
1222
|
+
│ │ │
|
|
1223
|
+
│ │ │
|
|
1224
|
+
│ │ │
|
|
1225
|
+
│ │ │
|
|
1226
|
+
│ j/k nav · l/enter open · esc close │
|
|
1227
|
+
└────────────────────────────────────────────────────────────────────────┘
|
|
1228
|
+
|
|
1229
|
+
|
|
1090
1230
|
"
|
|
1091
1231
|
`;
|
|
1092
1232
|
|
|
@@ -1171,8 +1311,10 @@ exports[`stories catalog Surfaces/ThreadTree/TwoPending renders, snapshots, and
|
|
|
1171
1311
|
exports[`stories catalog Surfaces/ThreadView/InlineThreads renders, snapshots, and carries its colors: Surfaces/ThreadView/InlineThreads 1`] = `
|
|
1172
1312
|
"
|
|
1173
1313
|
Migration Plan
|
|
1314
|
+
──────────────────────────────────────────────────────────────────────────────────────────
|
|
1174
1315
|
|
|
1175
1316
|
Context
|
|
1317
|
+
──────────────────────────────────────────────────────────────────────────────────────────
|
|
1176
1318
|
|
|
1177
1319
|
The daemon persists sessions to disk atomically.
|
|
1178
1320
|
╷────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
@@ -1180,13 +1322,14 @@ exports[`stories catalog Surfaces/ThreadView/InlineThreads renders, snapshots, a
|
|
|
1180
1322
|
╵────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
1181
1323
|
|
|
1182
1324
|
Steps
|
|
1325
|
+
──────────────────────────────────────────────────────────────────────────────────────────
|
|
1183
1326
|
|
|
1184
1327
|
· move the store
|
|
1185
|
-
╷────────────────────────────────────────────────────────────────────────────────────────────┐
|
|
1186
|
-
│ ● move the store behind one interface │
|
|
1328
|
+
╷────────────────────────────────────────────────────────────────────────────────────────────┐ ○
|
|
1329
|
+
│ ● move the store behind one interface │ ○
|
|
1187
1330
|
╵────────────────────────────────────────────────────────────────────────────────────────────┘
|
|
1188
|
-
· add recovery
|
|
1189
|
-
|
|
1331
|
+
· add recovery
|
|
1332
|
+
|
|
1190
1333
|
ts
|
|
1191
1334
|
export function persist(session: Session): void {
|
|
1192
1335
|
// one JSON document per session
|
|
@@ -1199,26 +1342,25 @@ exports[`stories catalog Surfaces/ThreadView/InlineThreads renders, snapshots, a
|
|
|
1199
1342
|
|
|
1200
1343
|
|
|
1201
1344
|
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
|
|
1345
|
+
type to comment · esc for nav mode
|
|
1206
1346
|
"
|
|
1207
1347
|
`;
|
|
1208
1348
|
|
|
1209
|
-
exports[`stories catalog
|
|
1210
|
-
"
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
|
|
1216
|
-
|
|
1217
|
-
|
|
1218
|
-
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1349
|
+
exports[`stories catalog Overlays/Toast/LongMessage renders, snapshots, and carries its colors: Overlays/Toast/LongMessage 1`] = `
|
|
1350
|
+
"
|
|
1351
|
+
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
┌──────────────────────────────────────────────────────────────┐
|
|
1355
|
+
│ │
|
|
1356
|
+
│ could not stop sharing: gateway revoke failed - the share │
|
|
1357
|
+
│ may already be gone, try again in a moment │
|
|
1358
|
+
│ │
|
|
1359
|
+
└──────────────────────────────────────────────────────────────┘
|
|
1360
|
+
|
|
1361
|
+
|
|
1362
|
+
|
|
1363
|
+
|
|
1222
1364
|
"
|
|
1223
1365
|
`;
|
|
1224
1366
|
|
|
@@ -1450,35 +1592,7 @@ exports[`stories catalog Surfaces/WelcomePlayground/Welcome renders, snapshots,
|
|
|
1450
1592
|
16 Learn
|
|
1451
1593
|
17 - docs https://cueloop.dev/docs/
|
|
1452
1594
|
18
|
|
1453
|
-
|
|
1454
|
-
"
|
|
1455
|
-
`;
|
|
1456
|
-
|
|
1457
|
-
exports[`stories catalog Chrome/AgentLauncher/Launcher renders, snapshots, and carries its colors: Chrome/AgentLauncher/Launcher 1`] = `
|
|
1458
|
-
" ┌────────────────────────────────────┐
|
|
1459
|
-
│ Claude Code │
|
|
1460
|
-
└────────────────────────────────────┘
|
|
1461
|
-
┌────────────────────────────────────┐
|
|
1462
|
-
│ Pi │
|
|
1463
|
-
└────────────────────────────────────┘
|
|
1464
|
-
┌────────────────────────────────────┐
|
|
1465
|
-
│ OpenAI Codex │
|
|
1466
|
-
└────────────────────────────────────┘
|
|
1467
|
-
plan context: seed the plan
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
|
|
1471
|
-
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
|
|
1476
|
-
|
|
1477
|
-
|
|
1478
|
-
|
|
1479
|
-
|
|
1480
|
-
|
|
1481
|
-
|
|
1595
|
+
type to comment · esc for nav mode
|
|
1482
1596
|
"
|
|
1483
1597
|
`;
|
|
1484
1598
|
|
|
@@ -1750,6 +1864,16 @@ exports[`stories catalog Primitives/StatusBar/HintLine renders, snapshots, and c
|
|
|
1750
1864
|
|
|
1751
1865
|
|
|
1752
1866
|
|
|
1867
|
+
"
|
|
1868
|
+
`;
|
|
1869
|
+
|
|
1870
|
+
exports[`stories catalog Primitives/Switch/Off renders, snapshots, and carries its colors: Primitives/Switch/Off 1`] = `
|
|
1871
|
+
"(● )
|
|
1872
|
+
"
|
|
1873
|
+
`;
|
|
1874
|
+
|
|
1875
|
+
exports[`stories catalog Primitives/Switch/On renders, snapshots, and carries its colors: Primitives/Switch/On 1`] = `
|
|
1876
|
+
"( ●)
|
|
1753
1877
|
"
|
|
1754
1878
|
`;
|
|
1755
1879
|
|
|
@@ -29,10 +29,14 @@ export function Button({
|
|
|
29
29
|
children,
|
|
30
30
|
}: ButtonProps): React.ReactNode {
|
|
31
31
|
const tokens = useComponentTheme(theme);
|
|
32
|
-
|
|
32
|
+
// a disabled solid button reads as muted, so it never looks like a live call to action
|
|
33
|
+
const backgroundColor =
|
|
34
|
+
variant === "solid" ? (isDisabled ? tokens.border : tokens.accent) : undefined;
|
|
33
35
|
const foreground =
|
|
34
36
|
variant === "solid"
|
|
35
|
-
?
|
|
37
|
+
? isDisabled
|
|
38
|
+
? tokens.textMuted
|
|
39
|
+
: tokens.accentInk
|
|
36
40
|
: variant === "accent-text"
|
|
37
41
|
? tokens.accent
|
|
38
42
|
: tokens.textDim;
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import React from "react";
|
|
9
9
|
import type { Theme } from "../../theme";
|
|
10
10
|
import { useComponentTheme } from "../theme-context";
|
|
11
|
-
import { FRAME_BORDER_STYLE } from "./frame";
|
|
11
|
+
import { FRAME_BORDER_STYLE, frameTitle } from "./frame";
|
|
12
12
|
|
|
13
13
|
export interface CardProps {
|
|
14
14
|
title?: string;
|
|
@@ -55,7 +55,7 @@ export function Card({
|
|
|
55
55
|
flexDirection: "column",
|
|
56
56
|
paddingLeft: 1,
|
|
57
57
|
}}
|
|
58
|
-
title={title}
|
|
58
|
+
title={frameTitle(title)}
|
|
59
59
|
>
|
|
60
60
|
{children}
|
|
61
61
|
</box>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
import React from "react";
|
|
9
9
|
import type { Theme } from "../../theme";
|
|
10
10
|
import { useComponentTheme } from "../theme-context";
|
|
11
|
-
import { FRAME_BORDER_STYLE } from "./frame";
|
|
11
|
+
import { FRAME_BORDER_STYLE, frameTitle } from "./frame";
|
|
12
12
|
|
|
13
13
|
export interface DialogProps {
|
|
14
14
|
isOpen: boolean;
|
|
@@ -62,7 +62,7 @@ export function Dialog({
|
|
|
62
62
|
backgroundColor: background,
|
|
63
63
|
flexDirection: "column",
|
|
64
64
|
}}
|
|
65
|
-
title={title}
|
|
65
|
+
title={frameTitle(title)}
|
|
66
66
|
>
|
|
67
67
|
{children}
|
|
68
68
|
</box>
|