Commit Graph
537 Commits
Author SHA1 Message Date
Thomas Weber 074f7419aa Convert ImageInput button to <button>
for better a11y
2021-09-06 01:28:43 -05:00
Thomas Weber 9b7007580a Don't style <select> at all in safari
Apple has some radical ideas for how to style these that we will not get in the way of
Safari does support color-scheme: dark, so they will still be dark
2021-09-05 23:49:01 -05:00
Thomas Weber 848b94df06 Add noscript 2021-09-05 23:33:36 -05:00
Thomas Weber 3fe47c5b97 Make sure modals don't overflow 2021-09-05 23:07:24 -05:00
Thomas Weber 1f8ca75bbf Improve modals
Modals now handle a11y much better than before:
 - you can no longer focus elements behind the modal
 - the first button in the modal will be focused
 - focus is returned to previous element when the modal is closed
2021-09-05 23:02:49 -05:00
Thomas Weber 36795997fe Improve global styles 2021-09-05 22:31:57 -05:00
Thomas Weber 75d3ef40db Update translations 2021-09-05 13:40:59 -05:00
Thomas Weber a145a38a0e Improve scaffolding file dropping UX 2021-09-04 16:17:35 -05:00
Thomas Weber f1e0a6803c Update macOS WebView
Exporting lists works now
2021-09-04 15:29:42 -05:00
Thomas Weber 7f76fc5532 Update list length immediately when imported
Previously there was a bit of delay from import to the list length number updating
2021-09-04 15:25:23 -05:00
Thomas Weber 811f4203df Fix computeWindowSize 2021-09-04 15:10:45 -05:00
Thomas Weber b1c23d73dc Use ExternalDownloadHelper to download files if available
Certain environments (macoS WebView) can't easily download files the normal way, so a special workaround is needed
2021-09-04 14:44:02 -05:00
Thomas Weber a66503580c Use same blob download as Scratch for improved browser support
Also fixes blob URL leak
2021-09-04 14:08:42 -05:00
Thomas Weber 00d0da4cab Deprecate NW.js Windows and Linux support 2021-09-02 14:40:59 -05:00
Thomas Weber 315c075ee0 SECURITY: sanitize URLs in advanced cloud addon
Thanks @apple502j
2021-09-02 13:18:31 -05:00
Thomas Weber ef103c860a Update translations 2021-09-01 20:23:46 -05:00
Thomas Weber 8c7af3dc79 Fix special cloud behaviors in advanced mode 2021-09-01 12:27:56 -05:00
Thomas Weber 287f534a76 Run addons a bit later 2021-09-01 12:27:37 -05:00
Thomas Weber 30431e2208 Account for controls when determining window size 2021-09-01 00:48:54 -05:00
Thomas Weber 45f047a28d Partial support for special cloud behaviors, like HTMLifier (#48) 2021-09-01 00:09:19 -05:00
Thomas Weber 42eb34d2ed Update download project error messages 2021-08-31 23:33:14 -05:00
Thomas Weber b27ce80997 Update translations 2021-08-31 23:31:16 -05:00
Thomas Weber eaeb0bbde3 Add opengraph tags 2021-08-29 13:16:13 -05:00
Thomas Weber ea89d68b5c Merge branch 'master' of github.com:TurboWarp/packager 2021-08-29 12:57:27 -05:00
Thomas Weber c95b1afff6 Update translations 2021-08-29 12:57:22 -05:00
Thomas Weber 0cf8608c39 Don't expose jszip error message to users 2021-08-28 22:23:52 -05:00
Thomas Weber 1904ebf830 Make sure invalid projects throw an error as soon as possible 2021-08-28 22:22:52 -05:00
Thomas Weber ed44ca7353 Don't accept non-sb[2|3] dropped projects 2021-08-28 22:06:01 -05:00
Thomas Weber f33bf02f7b Fix right click list > import 2021-08-28 22:01:02 -05:00
Thomas Weber 125d1db087 Rename Dropper to DropArea 2021-08-28 21:35:29 -05:00
Thomas Weber 32ead183bd Refactor file dropping 2021-08-28 19:17:23 -05:00
Thomas Weber 71f10ca3a2 Make file input always exist in DOM
Hide instead of remove from DOM so that it doesn't reset when options change
2021-08-28 19:11:26 -05:00
Thomas Weber 7d3dca88de Allow dropping project files in 2021-08-28 18:52:23 -05:00
Thomas Weber 53d186e709 Set dropEffect to copy in ImageInput 2021-08-28 18:47:55 -05:00
Thomas Weber cb078708c4 Improve preview error messages 2021-08-28 17:49:22 -05:00
Thomas Weber bbc09e748b Allow specifying project ID in url hash
example url: https://packager.turbowarp.org/#104
2021-08-28 17:42:24 -05:00
GarboMuffin df9400a697 Separate "p4" from "packager", other refactoring (#138)
* Separate "p4" and "packager"

* Continue p4, packager, common refactoring

* Plist does not need to be a class

* Document what the `common` folder is for

* Fix typo in "uril-utils"

* Move more p4 JS to the p4 folder

* Move everything from packager/lib to just packager

* Fix imports in tests
2021-08-28 17:11:46 -05:00
Thomas Weber b816149af6 Set text-align: center on centered sections
should make text center better incase anything wraps
2021-08-27 22:29:59 -05:00
Thomas Weber 351d2ac17b whoops 2021-08-27 21:59:19 -05:00
Thomas Weber 490db9fb3c Fix flash of white in some configurations 2021-08-27 21:57:45 -05:00
Thomas Weber a52f7de22e Fix build 2021-08-27 21:17:56 -05:00
Thomas Weber 5ba11b8c82 Merge branch 'master' of github.com:TurboWarp/packager 2021-08-27 21:14:08 -05:00
Thomas Weber e65cfafd0c Update translations 2021-08-27 21:14:05 -05:00
Thomas Weber cbc1502fe8 Translate theme selector 2021-08-26 22:45:02 -05:00
Thomas Weber a66c80b412 Move p4-loaded attribute setter out of P4.svelte 2021-08-26 22:42:56 -05:00
Thomas Weber 10999eb056 Add theme selector 2021-08-26 22:42:12 -05:00
Thomas Weber ae3888ebee Load project data and metadata in parallel 2021-08-26 21:44:22 -05:00
Thomas Weber 160535a897 Improve downloadProject tests 2021-08-27 00:49:52 -05:00
Thomas Weber 01219e23d2 Implement usesMusic for sb2 projects 2021-08-26 19:33:05 -05:00
Thomas Weber f61ea4d541 Update windows further steps 2021-08-25 21:49:41 -05:00