Skip to content

Fixed diff panel height and stale card on second diff - #70

Merged
oleg68 merged 1 commit into
nbplugins:mainfrom
oleg68:bugfix/no-prompt
Apr 18, 2026
Merged

oleg68 merged 1 commit into
nbplugins:mainfrom
oleg68:bugfix/no-prompt

Conversation

@oleg68

@oleg68 oleg68 commented Apr 18, 2026

Copy link
Copy Markdown
Collaborator
  • Fixed diff panel appearing at nearly invisible height after Reset Windows or on first use: unified componentResized first/subsequent paths, added total * 2 / 3 default for CARD_DIFF, deferred divider set when splitPane.getHeight() == 0 in switchSouthCard
  • Fixed second diff in the same session being invisible: track currentDiffCard field and remove old card before adding new one in showEmbeddedDiff/hideEmbeddedDiff/cleanupChatLayout
  • Added fine-level diagnostic logging for applyDivider, componentResized, switchSouthCard to aid future debugging

- Fixed diff panel appearing at nearly invisible height after Reset Windows
  or on first use: unified componentResized first/subsequent paths,
  added total * 2 / 3 default for CARD_DIFF, deferred divider set when
  splitPane.getHeight() == 0 in switchSouthCard
- Fixed second diff in the same session being invisible: track
  currentDiffCard field and remove old card before adding new one in
  showEmbeddedDiff/hideEmbeddedDiff/cleanupChatLayout
- Added fine-level diagnostic logging for applyDivider, componentResized,
  switchSouthCard to aid future debugging

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@oleg68
oleg68 merged commit 33fe462 into nbplugins:main Apr 18, 2026
3 checks passed
@oleg68
oleg68 deleted the bugfix/no-prompt branch April 18, 2026 18:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant