Repository navigation
Commit 25110f0
committed
Make completed tasks list collapsible and keep header actions visible when expanded
- clicking anywhere on completed tasks should collapse them
- once opened, show 'clear session' at all times
└── packages
└── ui
└── src
└── components
└── editor
└── common
└── prompts
└── PromptField
├── PromptField.module.scss
├── PromptField.stories.tsx
├── PromptField.tsx
├── components
│ ├── CompletedTasks
│ │ ├── CompletedTasks.module.scss
│ │ ├── CompletedTasks.tsx
│ │ └── index.ts
│ ├── Footer
│ │ ├── Footer.module.scss
│ │ ├── Footer.tsx
│ │ └── index.ts
│ └── Tabs
│ ├── Tabs.module.scss
│ ├── Tabs.tsx
│ └── index.ts
├── hooks
│ ├── use-drag-drop.ts
│ ├── use-dropdown.ts
│ ├── use-ghost-text.ts
│ ├── use-handlers
│ │ ├── handle-copy.ts
│ │ ├── handle-cut.ts
│ │ ├── handle-input-change.ts
│ │ ├── handle-input-click.ts
│ │ ├── handle-key-down.ts
│ │ ├── handle-paste.ts
│ │ ├── handle-submit.ts
│ │ ├── index.ts
│ │ ├── types.ts
│ │ ├── use-handlers.ts
│ │ └── utils.ts
│ └── use-keyboard-shortcuts.ts
└── index.ts1 parent 56fefc0 commit 25110f0
2 files changed
Lines changed: 12 additions & 3 deletions
File tree
- packages/ui/src/components/editor/common/prompts/PromptField/components/CompletedTasks
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
52 | 57 | | |
53 | 58 | | |
54 | | - | |
55 | 59 | | |
56 | 60 | | |
57 | 61 | | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| 65 | + | |
61 | 66 | | |
62 | 67 | | |
63 | 68 | | |
64 | 69 | | |
| 70 | + | |
65 | 71 | | |
66 | 72 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
104 | 107 | | |
105 | 108 | | |
106 | 109 | | |
| |||
109 | 112 | | |
110 | 113 | | |
111 | 114 | | |
112 | | - | |
| 115 | + | |
113 | 116 | | |
114 | 117 | | |
115 | 118 | | |
| |||
0 commit comments