26 Commits
Author SHA1 Message Date
Muffin 75b1a6f9d2 Update addons including fullscreen settings migration 2024-03-16 21:25:53 -05:00
Muffin 68954fa6bd Implement addon setting conditions with multiple allowed values 2024-03-16 21:12:41 -05:00
Muffin adc2a03959 Fix addon setting store tests 2024-03-16 21:10:17 -05:00
GarboMuffin 408768307f addons: Fix inaccurate test name 2023-01-03 00:56:43 -06:00
GarboMuffin 10baaf78b4 addons: Move 'if' parsing to SettingsStore
Addon API and settings page both had their own implementation. Now there
is one single implementation that is thoroughly tested.
2023-01-03 00:11:17 -06:00
GarboMuffin 8fc3728e55 addons: Add migration for editor-devtools split 2022-12-30 13:54:11 -06:00
GarboMuffin 7bba1e2997 Remove color alpha in imported addon settings
https://github.com/TurboWarp/scratch-gui/issues/618#issuecomment-1263547747
2022-10-04 15:53:42 -05:00
Thomas Weber 17e4b077b4 Update addons to 1.27.0: part 1
Internal addon settings storage version changed from 2 to 3
A migration was added for hide-flyout default setting changes
hide-flyout is still missing some style updates for dark mode & brand color
2022-07-15 01:42:09 -05:00
Thomas Weber f94c013577 Migrate tw-project-info, tw-interface-customization addons 2021-12-15 15:27:12 -06:00
Thomas Weber 134f848913 Never save remote addon settings 2021-08-13 21:24:23 -05:00
Thomas Weber 58f4e4eb04 Make sure parseUrlParameter doesn't error on strange inputs 2021-08-13 21:20:01 -05:00
Thomas Weber 27b3d449d4 Add ?addons= URL parameter (#70) 2021-08-13 21:10:43 -05:00
Thomas Weber bf24086618 Move a upstream-meta and translators to addons/generated 2021-07-23 18:49:01 -05:00
Thomas Weber a1170bccdb Remove tests that rely on specific reloadRequired values
These tend to change quite often
2021-07-14 19:19:01 -05:00
Thomas Weber 82c5d28b31 Ignore addon settings changes if version does not match 2021-05-26 07:46:51 -05:00
Thomas Weber 882ca54e16 Fix test 2021-05-26 07:44:26 -05:00
Thomas Weber 4112f0f009 Fix addon settings reset live reload 2021-05-24 17:32:55 -05:00
Thomas Weber d98387cbb0 Make addon settings more resilient to weird stores
It might be possible that the addon settings page has a different version of addons than the editor
2021-05-21 18:31:38 -05:00
Thomas Weber f20d3e803a Addon dynamic enable/disable 2021-05-19 19:39:40 -05:00
Thomas Weber 6e8e8493ac Only emit addon setting change event on addons where the settings actually changed (#191) 2021-05-19 18:44:38 -05:00
Thomas Weber a3da10d4c0 Update addon settings tests 2021-04-20 15:38:16 -05:00
Thomas Weber b0cf4efcc4 Write addon settings localStorage tests 2021-04-08 18:03:21 -05:00
Thomas Weber 773f1bb8ba Test that applying a preset resets all settings 2021-04-08 17:47:22 -05:00
Thomas Weber b893e2d42b Test that setting values to null actually removes them from storage 2021-04-08 17:45:26 -05:00
Thomas Weber 56a5ab81d2 Fix some SettingsStore bugs and improve tests 2021-04-07 15:35:58 -05:00
Thomas Weber 80d664a8cc Write tests for addons SettingsStore 2021-04-07 15:26:42 -05:00