Skip to content

Minor improvements to Diff UI - #626

Merged
lizlooney merged 5 commits into
wpilibsuite:mainfrom
alan412:improve_diff_ui
Nov 11, 2026
Merged

lizlooney merged 5 commits into
wpilibsuite:mainfrom
alan412:improve_diff_ui

Conversation

@alan412

@alan412 alan412 commented Nov 10, 2026 •

Copy link
Copy Markdown
Collaborator

Overview

These are three small changes:

  1. The "beautify" FIRST style was overwriting the width of the outline used for highlighting in diffs. This makes it so that the highlighting is higher priority (by nesting deeper)
  2. It makes next/previous no longer wrap but get disabled at the end and beginning respectively. (If you only have one change, neither is enabled)
  3. It now highlights the outline of the group of blocks on added/deleted groups instead of just the outermost block.

Linked Issues

None.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that causes existing functionality to change)
  • Documentation update
  • Code style/formatting updates
  • Refactoring / Renaming
  • UI change
  • Blocks style change
  • Blocks theme change
  • Python tools
  • Other

How Has This Been Tested?

Load
Visually inspection

Screenshots (if applicable)

Screenshot 2026-11-10 at 2 42 05 PM

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have run through the docs/testing_before_pr_checklist.md

@alan412
alan412 requested a review from lizlooney November 10, 2026 18:51
@alan412 alan412 changed the title Improve diff ui Minor improvements to Diff UI Nov 10, 2026
If a component was moved to a mechanism, the port block would show as changed instead of added/deleted.
This is what caused the bug while showing the tech team where it had unchanged items showing as added.
@lizlooney
lizlooney merged commit 6862ede into wpilibsuite:main Nov 11, 2026
1 check passed
@alan412
alan412 deleted the improve_diff_ui branch November 12, 2026 00:57
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.

2 participants