Commit 6b35951
committed
feat: add next step suggestions and XML utilities
- Add NextStepSuggest component for displaying suggested next steps
- Add XML utilities for improved XML parsing
- Update ChatView and ChatRow to handle next step suggestions
- Add fast-xml-parser dependency
- Update package dependencies
update snapshoot
feat(ui): enhance next step suggestions UX and documentation
- Improve next step UI with collapsible view and show more/less toggle
- Add type validation and error handling for suggestion parsing
- Update documentation with clearer formatting guidelines and examples
- Enhance button styling and accessibility for better user interaction
update snapshot
refactor: move next step suggestions into chat row for better UX
feat: enhance next step suggestions with mode selection
- Make next_step parameter required in attempt_completion tool
- Update suggestion format to include task and mode fields
- Enhance UI to display mode alongside task description
- Update parsing logic to handle new suggestion format
- Improve error handling for missing or invalid suggestions
refactor(NextStepSuggest): improve component with shadcn UI and better styling
- Replace native buttons with shadcn Button component
- Increase button dimensions for better readability
- Add proper text wrapping and overflow handling
- Style mode text as VSCode badge
- Improve hover and active states
- Maintain VSCode theming integration
- Show 3 suggestions in non-expanded mode
feat: make next step suggestions official
- Remove next_step_suggest from experiments
- Make next step suggestions a required parameter in attempt_completion
- Update documentation to reflect next step suggestions as core functionality
- Remove experimental conditionals from objective and rules sections
update snapshoot
update UI UX
update UI UX
fix potiential issues
use same scrollbar with chat convension
better hover color
feat(NextStepSuggest): add expand/collapse functionality with instance isolation
- Add expand/collapse functionality to show more/less suggestions
- Implement instance-specific state management via instanceId prop
- Add Show More/Less button with suggestion count
- Improve accessibility with ARIA labels
- Add Lucide icons for visual indicators
refactor: move next step suggestions parsing to wrapper component
- Add NextStepSuggestionsWrapper to handle suggestion parsing
- Remove suggestion state management from ChatView
- Update ChatRow to use wrapper component
- Clean up NextStepSuggest component props
Implement badge for mode display and theme-aware component variants
feat(ui): add toolkit badge variant and apply to NextStepSuggest component
Improve NextStepSuggest component UX by adding auto-scroll to toggle button and fixing text alignment
refactor(ui): improve NextStepSuggest component styling
- Remove padding and borders for cleaner appearance
- Add toolkit-no-border variant to Badge component
- Add ui-toolkit-primary-no-border variant to Button component
- Reposition mode badge from bottom-left to bottom-right
- Update styling classes for better visual consistency
fix pr comment
fix pr comemnt
fix UX1 parent fef4a1c commit 6b35951
File tree
22 files changed
+1268
-72
lines changed- src
- core
- assistant-message
- prompts
- __tests__/__snapshots__
- sections
- tools
- exports
- utils
- webview-ui/src
- components
- chat
- ui
22 files changed
+1268
-72
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| 81 | + | |
81 | 82 | | |
82 | 83 | | |
83 | 84 | | |
| |||
2945 | 2946 | | |
2946 | 2947 | | |
2947 | 2948 | | |
| 2949 | + | |
2948 | 2950 | | |
2949 | 2951 | | |
2950 | 2952 | | |
| |||
2995 | 2997 | | |
2996 | 2998 | | |
2997 | 2999 | | |
| 3000 | + | |
| 3001 | + | |
| 3002 | + | |
| 3003 | + | |
| 3004 | + | |
| 3005 | + | |
| 3006 | + | |
| 3007 | + | |
| 3008 | + | |
| 3009 | + | |
| 3010 | + | |
| 3011 | + | |
| 3012 | + | |
| 3013 | + | |
| 3014 | + | |
| 3015 | + | |
| 3016 | + | |
| 3017 | + | |
| 3018 | + | |
| 3019 | + | |
| 3020 | + | |
| 3021 | + | |
| 3022 | + | |
| 3023 | + | |
| 3024 | + | |
| 3025 | + | |
| 3026 | + | |
| 3027 | + | |
| 3028 | + | |
| 3029 | + | |
| 3030 | + | |
| 3031 | + | |
2998 | 3032 | | |
2999 | 3033 | | |
| 3034 | + | |
| 3035 | + | |
| 3036 | + | |
| 3037 | + | |
3000 | 3038 | | |
3001 | 3039 | | |
3002 | 3040 | | |
| |||
3042 | 3080 | | |
3043 | 3081 | | |
3044 | 3082 | | |
| 3083 | + | |
| 3084 | + | |
| 3085 | + | |
| 3086 | + | |
3045 | 3087 | | |
3046 | 3088 | | |
3047 | 3089 | | |
| |||
3056 | 3098 | | |
3057 | 3099 | | |
3058 | 3100 | | |
3059 | | - | |
3060 | 3101 | | |
3061 | 3102 | | |
3062 | 3103 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| 60 | + | |
60 | 61 | | |
61 | 62 | | |
62 | 63 | | |
| |||
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
130 | | - | |
| 131 | + | |
131 | 132 | | |
132 | 133 | | |
133 | 134 | | |
| |||
0 commit comments