Commit 537020e
authored
🤖 feat: improve workspace creation UX with generating state (#842)
Improves the UX when creating a new workspace and an LLM is generating
the workspace name.
## Changes
- Changed spinner message from 'Creating workspace...' to 'Generating
workspace name...'
- Show a dimmed, italicized preview of the user's prompt (in quotes)
above the spinner
- Dim the input section (50% opacity) while generating
- Truncate long prompts to 150 chars with ellipsis for clean display
_Generated with `mux`_1 parent 8376423 commit 537020e
File tree
2 files changed
+25
-9
lines changed- src/browser/components/ChatInput
2 files changed
+25
-9
lines changedLines changed: 19 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
| 11 | + | |
11 | 12 | | |
12 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
19 | 31 | | |
20 | 32 | | |
21 | 33 | | |
22 | | - | |
| 34 | + | |
23 | 35 | | |
24 | 36 | | |
25 | 37 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
971 | 971 | | |
972 | 972 | | |
973 | 973 | | |
| 974 | + | |
974 | 975 | | |
975 | 976 | | |
976 | 977 | | |
977 | | - | |
| 978 | + | |
978 | 979 | | |
979 | | - | |
| 980 | + | |
| 981 | + | |
| 982 | + | |
| 983 | + | |
980 | 984 | | |
981 | 985 | | |
982 | 986 | | |
| |||
0 commit comments