Skip to content

Implement support for user-configurable script export locations#2

Open
deviaze wants to merge 7 commits intoUltrasonic1209:mainfrom
deviaze:feat-customize-output-locations
Open

Implement support for user-configurable script export locations#2
deviaze wants to merge 7 commits intoUltrasonic1209:mainfrom
deviaze:feat-customize-output-locations

Conversation

@deviaze
Copy link
Copy Markdown

@deviaze deviaze commented Oct 14, 2024

Adds an easy way to change the auto-export location by clicking an instance in Explorer then clicking the relevant "Change Parent" button for either Client, Server, or Tooling.

  • Output locations are now displayed with actual Roblox paths (like Client Export Location: ReplicatedStorage["ZapClient"]) so users know exactly where their scripts are going.
  • Every time a user changes their Roblox Studio selection, starts typing in Zappy plugin textboxes, or clicks a "Change Parent" button, the rest of the Zappy UI updates. This makes it really responsive to change settings and figure out where scripts will get exported.
  • Made major changes to the plugin's UI and src/Zappy/init.server.luau to accommodate the new functionality.
  • The new Client Output/Server Output/Tooling Output sections can each be individually collapsed and are nested under a parent VerticalCollapsibleSection named Output Settings.
  • Client/Server/Tooling buttons are color-coded for sanity and don't take up the whole X-axis to visually distinguish them from the Generate button.
  • Uses CollectionService tags under the hood to keep track of state and save output location instances between Studio sessions.
  • Updated README.md to showcase the new UI and how to use it.

The new UI with the new menus expanded looks like:

image

@Ultrasonic1209 Ultrasonic1209 self-assigned this Oct 16, 2024
deviaze and others added 6 commits February 20, 2025 21:14
we may have to break backwards compatibility w.r.t configs as it's no longer reasonably feasible to do so
lsp didn't catch it probably because it choked while reading zaysynth (i can't blame it)
@Ultrasonic1209 Ultrasonic1209 force-pushed the feat-customize-output-locations branch from deeab7b to 708ee66 Compare February 20, 2025 21:17
Generated Zap v0.6.19
Used Wasynth v0.13.0
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