From 10abc2254ac50ccbdb2024a8da68921f2b735dbb Mon Sep 17 00:00:00 2001 From: boatbomber Date: Mon, 2 May 2022 14:28:18 -0700 Subject: [PATCH] Add changing toolbar icon to indicate state (#538) * Add changing toolbar icon * Return to default icon after closing error * Update changelog * Add assets * Improved link icon * Upload new icons Co-authored-by: Lucien Greathouse --- CHANGELOG.md | 6 ++++-- assets/icon-link-32.png | Bin 0 -> 1378 bytes assets/icon-warn-32.png | Bin 0 -> 1264 bytes .../App/Components/Studio/StudioToggleButton.lua | 6 +++++- plugin/src/App/init.lua | 10 ++++++++-- plugin/src/Assets.lua | 2 ++ 6 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 assets/icon-link-32.png create mode 100644 assets/icon-warn-32.png diff --git a/CHANGELOG.md b/CHANGELOG.md index 0013faeb..204cea8d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,11 +5,13 @@ * Added support for optional paths in project files. ([#472]) * Added support for the new Open Cloud API when uploading. ([#504]) * Added `sourcemap` command for generating sourcemaps to feed into other tools. ([#530]) +* Added changing toolbar icon to indicate state ([#538]) [#472]: https://github.com/rojo-rbx/rojo/pull/472 [#504]: https://github.com/rojo-rbx/rojo/pull/504 [#507]: https://github.com/rojo-rbx/rojo/pull/507 [#530]: https://github.com/rojo-rbx/rojo/pull/530 +[#538]: https://github.com/rojo-rbx/rojo/pull/538 ## [7.0.0] - December 10, 2021 * Fixed Rojo's interactions with properties enabled by FFlags that are not yet enabled. ([#493]) @@ -96,7 +98,7 @@ The shorthand property format that most users use is not impacted. For reference ## [7.0.0-alpha.4][7.0.0-alpha.4] (May 5, 2021) * Added the `gameId` and `placeId` optional properties to project files. * When connecting from the Rojo Roblox Studio plugin, Rojo will set the game and place ID of the current place to these values, if set. - * This is equivalent to running `game:SetUniverseId(...)` and `game:SetPlaceId(...)` from the command bar in Studio. + * This is equivalent to running `game:SetUniverseId(...)` and `game:SetPlaceId(...)` from the command bar in Studio. * Added "EXPERIMENTAL!" label to two-way sync toggle in Rojo's Roblox Studio plugin. * Fixed `Name` and `Parent` properties being allowed in Rojo projects. ([#413][pr-413]) * Fixed "Open Scripts Externally" feature crashing Studio. ([#369][issue-369]) @@ -484,4 +486,4 @@ This is a general maintenance release for the Rojo 0.5.x release series. * More robust syncing with a new reconciler ## [0.1.0](https://github.com/rojo-rbx/rojo/releases/tag/v0.1.0) (November 29, 2017) -* Initial release, functionally very similar to [rbxfs](https://github.com/LPGhatguy/rbxfs) \ No newline at end of file +* Initial release, functionally very similar to [rbxfs](https://github.com/LPGhatguy/rbxfs) diff --git a/assets/icon-link-32.png b/assets/icon-link-32.png new file mode 100644 index 0000000000000000000000000000000000000000..a69bbf997402843bb4ae8847b9015906723f4787 GIT binary patch literal 1378 zcmV-o1)chdP)Px#1ZP1_K>z@;j|==^1poj532;bRa{vGjU;qFQU;%n~MU4Oe1oufqK~z{rwO4IS zTU8i71EhQ?<5L8SWpfS&Srs#rEzwLgGBbaOiXq16HjF0zFfjG6=$MIrRN(IxH#g%4 znTu@3DHyX&7hR&;@ETw^5jx5?1Pbi}TPGEt=WtGUZ+qK-)}DS7v71vpgjwhjJ#^=i?LmIJZM!E;OyCi-yGjZ!qZT@=bT{xir?U6+K;$zm->= z>72(xAT&445OI$Chovw9ECxWqvHscFU)543;`*#x9@O)AZ%>%R!)K{!Tv!Z-z?(<&S0w`t(?t=)f44+Jj^{Ou-l{4Ni4xFpCRZh5tALDc217YP0&>L2^tq0i2)HGcGS;@)SP`*)TIeSH$ z_reZ!n-zw53}Xve0S_uxOEGs**zt#&kc%|qpSQ)=~&zUBVqOl}zkSFv8x0N4C(H@ z-~{+6SSF=HJOZ+Zbc6ZeHYooHS8Ecok({V<|EZP|%z@VjhqkF@Y#5>*?2|GZgbmQWoM7B}WmjWgXDM>c5@ZMDp@nM` z*kVV(SD|<($TK06t`KYj6NAa8Pc!CCNP~I6-}LE-_glPSh;^VBoL8IyqjD+|vI^+_ zZ`_qVQUd7K8wqYu+#|Yu(}(H`^0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