Commit a759e86
committed
refactor: cleaner ThresholdSlider with proper types and hooks
- Extract AutoCompactionConfig type and export it
- Create useDraggableThreshold hook for drag logic
- Extract Triangle and ThresholdIndicator sub-components
- Simplify VerticalTokenMeter structure
- Add proper TooltipWrapper for tooltips
- Document container requirements in JSDoc1 parent ed9b710 commit a759e86
File tree
3 files changed
+255
-260
lines changed- src/browser/components/RightSidebar
3 files changed
+255
-260
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
235 | 235 | | |
236 | 236 | | |
237 | 237 | | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
242 | 244 | | |
243 | 245 | | |
244 | 246 | | |
| |||
0 commit comments