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

Confirmation behaviors #774

Merged
merged 12 commits into from
Aug 20, 2023
Merged

Conversation

boatbomber
Copy link
Member

@boatbomber boatbomber commented Aug 15, 2023

Closes #773. Implements confirmation behavior setting.

image

  • Initial (New Default)
    For a given place, each project file being served will only confirm once in a given Studio session (This resolves the hot workflows of constant connect/disconnect, while still protecting against syncing a different project)
  • Always
    Always confirms before syncing (this is the current noisy behavior)
  • Large Changes
    Only confirms when there are more than X changed instances, defined by the user
    image
    (Threshold setting is only shown while confirmation is set to Large Changes)
  • Unlisted PlaceId
    Only confirms when the project doesn't include the placeId in servePlaceIds

Due to the nature of the threshold setting, I also took the time to make our Setting component more versatile and robust. It can now handle any input component (checkbox, dropdown, custom button/textbox, plus the reset button) without worrying about desc text overlap.

@boatbomber boatbomber added type: enhancement Feature or improvement that should potentially happen scope: plugin Relevant to the Roblox Studio plugin size: small 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 Aug 15, 2023
@boatbomber boatbomber requested a review from Dekkonot August 15, 2023 14:00
plugin/src/App/init.lua Outdated Show resolved Hide resolved
@boatbomber boatbomber enabled auto-merge (squash) August 16, 2023 05:01
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.

Can we change what color the text for the input is? It's very difficult to read when it's hovered over right now.

image

EDIT: After looking at your initial post, I believe the text color is just actually wrong. When you fixed it in commit 011e24f, it looks like you reversed the order of the colors?

@boatbomber
Copy link
Member Author

Whoops 😅

@boatbomber boatbomber requested a review from Dekkonot August 20, 2023 19:29
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 c43726b into rojo-rbx:master Aug 20, 2023
@boatbomber boatbomber deleted the confirmation-behaviors branch August 21, 2023 04: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: small 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.

Allow changing sync popup mode between never, always & place-id based
3 participants