Skip to content
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

View rich diffs for Source property changes #748

Merged
merged 35 commits into from
Jul 27, 2023

Conversation

boatbomber
Copy link
Member

The property inspection on .Source changes is just not helpful in the current state:

image

To remedy this, I've implemented Neil Fraser's diffing in Luau and used it to create meaningful Source diff pop-out widgets. It uses my open source Highlighter module to apply syntax highlighting that matches the user's Studio preferences.

image
image

@boatbomber boatbomber added type: enhancement Feature or improvement that should potentially happen scope: plugin Relevant to the Roblox Studio plugin labels Jul 26, 2023
@boatbomber boatbomber added size: medium impact: medium Moderate issue for Rojo users or a large issue with a reasonable workaround. status: needs review This work is mostly done, but just needs work to integrate and merge it. labels Jul 26, 2023
@boatbomber boatbomber enabled auto-merge (squash) July 26, 2023 00:21
Copy link
Contributor

@chriscerie chriscerie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great work

plugin/src/App/StatusPages/Connected.lua Outdated Show resolved Hide resolved
plugin/src/App/StatusPages/Confirming.lua Outdated Show resolved Hide resolved
plugin/src/App/Components/StringDiffVisualizer/init.lua Outdated Show resolved Hide resolved
plugin/src/App/Components/StringDiffVisualizer/init.lua Outdated Show resolved Hide resolved
plugin/src/App/Components/CodeLabel.lua Outdated Show resolved Hide resolved
Co-authored-by: Micah <[email protected]>
@boatbomber boatbomber requested a review from Dekkonot July 27, 2023 04:29
@boatbomber boatbomber merged commit ecc31de into rojo-rbx:master Jul 27, 2023
4 checks passed
@boatbomber boatbomber deleted the string-diff-viewer branch July 27, 2023 06:52
Dekkonot pushed a commit to UpliftGames/rojo that referenced this pull request Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
impact: medium Moderate issue for Rojo users or a large issue with a reasonable workaround. scope: plugin Relevant to the Roblox Studio plugin size: medium status: needs review This work is mostly done, but just needs work to integrate and merge it. type: enhancement Feature or improvement that should potentially happen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants