Commit Graph
343 Commits
Author SHA1 Message Date
Thomas Weber ff08c8d95d Better large asset progress bars 2021-06-24 14:09:25 -05:00
Thomas Weber 1e8953f010 Use a faster sha256 implementation
2700ms -> 600ms in Firefox on Linux
10000ms -> 600ms (!!!) in Safari on macOS
A bit unpredictable in chrome, not sure why
2021-06-24 14:09:25 -05:00
Thomas Weber 435447d6eb Always check checksum of assets, even when loaded from cache 2021-06-24 14:09:25 -05:00
Thomas Weber b885bd2311 Fix SCAFFOLDING_BUILD_ID 2021-06-24 14:09:25 -05:00
Thomas Weber 27ef3d6905 Use indexed DB to cache large files longer and more reliably 2021-06-24 14:09:25 -05:00
Thomas Weber 018df89abc Loading screen should use background color 2021-06-24 14:09:24 -05:00
Thomas Weber 15f49576bb Update README 2021-06-24 14:09:24 -05:00
Thomas Weber f696272a7c Remove unused CSS selector 2021-06-24 14:09:24 -05:00
Thomas Weber 2885542baf Buttons don't have a color property 2021-06-24 14:09:24 -05:00
Thomas Weber c92ff88d56 Reduce unnecessary padding 2021-06-24 14:09:24 -05:00
Thomas Weber de6f12a2b1 Fix layout shift when changing from project ID to file 2021-06-24 14:09:24 -05:00
Thomas Weber 0bdecc1c06 Improve close modal button 2021-06-24 14:09:23 -05:00
Thomas Weber f0e2c6b65b Make sure browsers will display updated favicon 2021-06-24 14:09:23 -05:00
Thomas Weber d655d4b13c Credit fosshost 2021-06-24 14:09:23 -05:00
Thomas Weber 391a7ce7eb Update text 2021-06-24 14:09:23 -05:00
dependabot[bot] a3fa54b425 Bump scratch-vm from dae5a5e to 0a4d3a5 (#10)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `dae5a5e` to `0a4d3a5`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/dae5a5ecd3a9adfb5d35a4ab70f238af105a3f0a...0a4d3a563f2b94998901ce6fc3617055f3034124)

---
updated-dependencies:
- dependency-name: scratch-vm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 14:09:23 -05:00
Thomas Weber d83a2fef83 Add more IMAGE_EXTENSIONS 2021-06-24 14:09:22 -05:00
Thomas Weber 9b4ed5d86d Generate better filenames 2021-06-24 14:09:22 -05:00
Thomas Weber 308dc08975 Fix packaging Scratch 2 projects with no variables 2021-06-24 14:09:22 -05:00
Thomas Weber cfb052670b Let project url input shrink when necessary 2021-06-24 14:09:22 -05:00
Thomas Weber 819050b539 Simplify asset loading tracking 2021-06-24 14:09:22 -05:00
Thomas Weber 4d1ba8e77c Update nw.js options 2021-06-24 14:09:22 -05:00
Thomas Weber ea8be9fc51 Fix compression progress bars 2021-06-24 14:09:21 -05:00
Thomas Weber 0e910a19cb Don't create useless extra worker when loading files 2021-06-24 14:09:21 -05:00
Thomas Weber a7e611f663 Remove unused dependency 2021-06-24 14:09:21 -05:00
Thomas Weber dd3c4ec541 Terminate workers when no longer needed 2021-06-24 14:09:21 -05:00
Thomas Weber d3eb6a0d95 Simplify 2021-06-24 14:09:21 -05:00
dependabot[bot] 5baa341d24 Bump scratch-vm from 9e15b0f to dae5a5e (#9)
Bumps [scratch-vm](https://github.com/TurboWarp/scratch-vm) from `9e15b0f` to `dae5a5e`.
- [Release notes](https://github.com/TurboWarp/scratch-vm/releases)
- [Commits](https://github.com/TurboWarp/scratch-vm/compare/9e15b0f38ac0f8e0140a04bd43c7bc62926ef5eb...dae5a5ecd3a9adfb5d35a4ab70f238af105a3f0a)

---
updated-dependencies:
- dependency-name: scratch-vm
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-24 14:09:21 -05:00
Thomas Weber 690939e2f6 Trim whitespace 2021-06-24 14:09:20 -05:00
Thomas Weber a71e14d74b Fiz zip environments 2021-06-24 14:09:20 -05:00
Thomas Weber ed7d24df7b Fixup some regressions 2021-06-24 14:09:20 -05:00
Thomas Weber cd31982646 Make buttons more consistent across systems 2021-06-24 14:09:20 -05:00
Thomas Weber 7ce98dc0dd Continue refactoring 2021-06-24 14:09:20 -05:00
Thomas Weber 21b8bf85e6 Fix prompt placement 2021-06-24 14:09:20 -05:00
Thomas Weber a98630b268 Download project in worker 2021-06-24 14:09:19 -05:00
Thomas Weber 2281570d7d Rewrite project loading again 2021-06-24 14:09:19 -05:00
Thomas Weber 494fd77f5d Make reader errors consistent 2021-06-24 14:09:19 -05:00
Thomas Weber 390218a61d Load project when pressing enter 2021-06-24 14:09:19 -05:00
Thomas Weber fabc7916a1 Set theme color to background color 2021-06-24 14:09:19 -05:00
Thomas Weber b1591f44bd Disable context menu on canvas 2021-06-24 14:09:19 -05:00
Thomas Weber 907b2c2dec prevent default on mouse down 2021-06-24 14:09:18 -05:00
Thomas Weber 1e4027de10 Make preview use same meta viewport as packager 2021-06-24 14:09:18 -05:00
Thomas Weber 55d11e82d5 Make it more clear that URLs are accepted 2021-06-24 14:09:18 -05:00
Thomas Weber 5e70f33824 Make sure that more parts of the VM get gc'd 2021-06-24 14:09:18 -05:00
Thomas Weber 9cefff811a Let VM get gc'd after loading 2021-06-24 14:09:18 -05:00
Thomas Weber 72d803a7f4 Different way of loading Scratch 2021-06-24 14:09:18 -05:00
Thomas Weber 9c1e85c8da NODE_ENV production for deploy not build 2021-06-24 14:09:17 -05:00
Thomas Weber 0d9f50a55c Add favicon 2021-06-24 14:09:17 -05:00
Thomas Weber 8504b95fee Let's make it more colorful 2021-06-24 14:09:17 -05:00
Thomas Weber a34c45eeb3 Fix package name trimming 2021-06-24 14:09:17 -05:00