Repository navigation
Commit ed41e1f
committed
Preserve tab state using display toggles and normalize newline handling in Textarea
- when editing web configuration - typing something into previously empty system instructions and removing it, should not mark the form as dirty. And placeholder should re-appear.
- on home, should not re-render tasks/notes when switching between them, also for notes, use larger divider between them and tabs: 10px, not 4
├── apps
│ └── editor
│ └── src
│ ├── types
│ │ └── web-configuration.ts
│ ├── utils
│ │ └── web-configuration-format-converters.ts
│ └── views
│ ├── prompt
│ │ ├── backend
│ │ │ └── message-handlers
│ │ │ └── configurations
│ │ │ └── handle-update-web-configuration.ts
│ │ └── frontend
│ │ ├── Home
│ │ │ ├── Home.module.scss
│ │ │ ├── Home.tsx
│ │ │ └── hooks
│ │ │ ├── use-notes.ts
│ │ │ └── use-tasks.ts
│ │ ├── Prompt.tsx
│ │ └── hooks
│ │ └── use-web-configuration-editing.ts
│ ├── settings
│ │ ├── backend
│ │ │ └── message-handlers
│ │ │ └── handle-update-web-configuration.ts
│ │ └── frontend
│ │ ├── Settings.tsx
│ │ └── hooks
│ │ └── use-web-configuration-editing.ts
│ └── shared
│ ├── actions
│ │ └── web
│ │ └── update.ts
│ ├── forms
│ │ └── EditWebConfigurationForm
│ │ └── EditWebConfigurationForm.tsx
│ └── i18n
│ └── translations
│ └── edit-web-configuration-form.ts
└── packages
└── ui
└── src
└── components
└── editor
├── common
│ └── Textarea
│ ├── Textarea.module.scss
│ └── Textarea.tsx
└── prompt-view
├── Spacer
│ └── Spacer.tsx
├── Tabs
│ ├── Tabs.module.scss
│ └── Tabs.tsx
└── Tasks
├── Tasks.module.scss
└── Tasks.tsx1 parent 9464517 commit ed41e1f
2 files changed
Lines changed: 24 additions & 11 deletions
File tree
- apps/editor/src/views/prompt/frontend/Home
- packages/ui/src/components/editor/common/Textarea
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
| 311 | + | |
| 312 | + | |
314 | 313 | | |
315 | 314 | | |
316 | 315 | | |
| |||
338 | 337 | | |
339 | 338 | | |
340 | 339 | | |
341 | | - | |
| 340 | + | |
342 | 341 | | |
343 | | - | |
| 342 | + | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
344 | 346 | | |
345 | 347 | | |
346 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
66 | 69 | | |
67 | | - | |
68 | | - | |
| 70 | + | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
94 | 97 | | |
95 | 98 | | |
96 | 99 | | |
97 | | - | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
98 | 105 | | |
99 | 106 | | |
100 | 107 | | |
| |||
168 | 175 | | |
169 | 176 | | |
170 | 177 | | |
171 | | - | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
172 | 181 | | |
173 | 182 | | |
174 | 183 | | |
| |||
188 | 197 | | |
189 | 198 | | |
190 | 199 | | |
191 | | - | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
192 | 203 | | |
193 | 204 | | |
194 | 205 | | |
| |||
0 commit comments