Repository navigation
v2.2.8: Bug fixes, Kanban UI improvements, and Diff Viewer performance #67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
bee5039
feat(mcp): include folder field in note updates
ddutchie ef73045
refactor(kanban): improve board layout and card preview styling
ddutchie 785956d
perf(diff): optimize rendering and UI responsiveness
ddutchie 1a8d0e6
docs(changelog): add v2.2.8 release notes
ddutchie 1eab408
refactor(agent,kanban): improve input handling and type safety
ddutchie 4841e08
feat(kanban): improve drag-and-drop zone detection
ddutchie a6276a6
refactor(kanban): improve drag-and-drop zone detection and deletion flow
ddutchie File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| ## What's new | ||
|
|
||
| ### Fixes | ||
|
|
||
| - **Folder Preservation on Note Edits**: Fixed a bug where `patch_note` and `append_to_note` would move note files out of their current folder and into the project root. Both tools now pass the note's existing `folder` field to `writeNoteFile`, matching the behaviour of `ensure_note`, `rename_note`, and `bulk_move_notes`. | ||
| - **Kanban Drag Cancel Cleanup**: Added an `onDragCancel` handler to the board's `DndContext`. Pressing Escape during a card or column drag now properly clears all drag state (`activeCard`, `activeColumn`, `overId`, `hoverZone`) and dismisses the action zone overlay, instead of leaving stale highlights behind. | ||
|
|
||
| ### Changes | ||
|
|
||
| - **Redesigned Archive/Delete Drop Zones**: The action zone overlay that appears when dragging a card has been redesigned as two compact, button-style targets centered at the bottom of the viewport. The previous full-width banner at the top of the board caused content to shift on drag start; the new design is a fixed portal overlay that doesn't affect layout. Buttons match the app's `lg` button sizing (36px tall, rounded outer corners, solid colour at 85% opacity resting and full colour on hover). | ||
| - **Kanban Card Height Fix**: Collapsed card descriptions now use `max-h-10 overflow-hidden` instead of `line-clamp-2`, which didn't reliably clip block-level markdown content. Expanded view increased to `max-h-80`. Paragraph margins from `prose-cairn` are zeroed inside cards to prevent excess vertical space. | ||
| - **Kanban Drop Target Expansion**: Columns now stretch to the board's full height via `self-stretch` and `h-full`. During an active drag-over, the card drop zone minimum height bumps from 48px to 120px, making empty or near-empty columns easy drop targets without scrolling. | ||
| - **Diff Viewer Performance**: The Agent View's Diff Viewer no longer blocks the UI thread when polling `git diff` every 5 seconds. `parseDiff` now runs on a `useDeferredValue`, so React keeps interactions responsive while the parse runs at lower priority. All diff sub-components (`FileDiff`, `UnifiedFile`, `SplitFile`, `HL`) are wrapped in `React.memo` so unchanged files skip re-rendering entirely. Split-view row building and addition/deletion counts are memoised per file. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.