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

Patch visualizer redesign #883

Merged
merged 32 commits into from
Apr 2, 2024
Merged

Conversation

boatbomber
Copy link
Member

@boatbomber boatbomber commented Feb 29, 2024

The patch visualizer component has a nicer tree design that is more readable while also more compact.

The confirming page has been slimmed down to just the necessary info:

image image

The info for the latest patch has moved from text along the bottom into an icon in the top:

(No warnings)
image image
(With warnings)
image image

Clicking on the patch details icon will now open a detailed pop up, so that users can view details without resizing their main window:

(No warnings)
image image
(With warnings)
image image

@boatbomber boatbomber added type: enhancement Feature or improvement that should potentially happen scope: plugin Relevant to the Roblox Studio plugin size: medium status: in-progress Someone is working on this last time we checked. labels Feb 29, 2024
@boatbomber boatbomber marked this pull request as ready for review March 2, 2024 08:49
Copy link
Member

@Dekkonot Dekkonot left a comment

Choose a reason for hiding this comment

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

Have we considered the performance impact of using editable images? I imagine it's relatively low, but I also have a pretty good computer so I'm not a good judge.

plugin/src/App/Components/ClassIcon.lua Outdated Show resolved Hide resolved
@boatbomber
Copy link
Member Author

Performance hit is negligible once generated (it's just an image texture, so only mem cost), but there's a small cost up front when building them. It's minimal though.

To help mitigate it, I've added caching for the classicon pixel data so that we no longer need to get it from AssetService every time.

@boatbomber boatbomber removed the status: in-progress Someone is working on this last time we checked. label Mar 26, 2024
Copy link
Member

@Dekkonot Dekkonot left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@boatbomber boatbomber merged commit b2f133e into rojo-rbx:master Apr 2, 2024
7 checks passed
@boatbomber boatbomber deleted the patch-vis-redesign branch April 2, 2024 07:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope: plugin Relevant to the Roblox Studio plugin size: medium type: enhancement Feature or improvement that should potentially happen
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants