Commit Graph
612 Commits
Author SHA1 Message Date
Paul Kaplan dc5037a4bd Make list monitor remove button reachable and fix overlapping 2018-05-21 09:31:22 -04:00
Paul Kaplan 28e1a4ae05 Make list monitor input full width 2018-05-21 09:29:27 -04:00
Paul Kaplan f3598669fa Make slider monitor full width 2018-05-21 09:29:03 -04:00
Paul Kaplan 88d36d3f5c Make monitors not draggable in fullscreen or player mode.
Specifically in 2.0:
- Monitors cannot be dragged in fullscreen/player
- List monitors cannot be resized, have items added using the button or have their values edited.
- Slider monitors still work.
2018-05-16 13:55:13 -04:00
Paul Kaplan 5d0fe72f8b Make monitors position correctly in fullscreen 2018-05-16 13:55:13 -04:00
Paul Kaplan f62e426641 Wrap the monitor list in a CSS scale transform 2018-05-16 13:55:13 -04:00
chrisgarrity a5d310606e Merge pull request #2020 from chrisgarrity/feature/project-loader-refactor
Project loader refactor
2018-05-15 06:58:17 -04:00
Paul Kaplan 3ea7b9e8a2 Fixes from smoke test
Including triple scrollbars on list monitors and fixing the say bubble fonts
2018-05-11 13:34:36 -04:00
Paul Kaplan 2b7cdcc8cb Fix CSS for min width 2018-05-11 11:25:47 -04:00
Paul Kaplan 109067690c Update in response to comments 2018-05-11 11:15:25 -04:00
Paul Kaplan 4d73709aa6 Use a virtualized list to handle huge list editing 2018-05-10 14:29:46 -04:00
Paul Kaplan b0dd9a9fdb Make slider and list monitors update variables in the VM 2018-05-10 11:36:15 -04:00
Paul Kaplan 3fb83ec3f7 Fix padding for list items 2018-05-09 14:17:54 -04:00
Paul Kaplan 96d6391bb3 Add "read-only" slider and list monitors.
Includes:
- context menu for switching to sliders, only on variables.
- width, height, min, max properties consumed from VM.
2018-05-09 13:50:47 -04:00
Paul Kaplan 45f44d9720 Merge pull request #2011 from paulkaplan/consume-monitor-mode
Consume monitor mode and position from VM
2018-05-09 11:28:41 -04:00
chrisgarrity 9478510c98 Fix stage sizing for www 2018-05-09 10:47:53 -04:00
chrisgarrity 63fb368857 Merge pull request #2010 from chrisgarrity/issue/gh1853-app-target
Add setAppElement to GUI.

Fixes #1853
2018-05-09 10:47:24 -04:00
chrisgarrity 0448f7e80e Add setAppElement function to exported GUI
Fixes #1853
2018-05-09 10:03:30 -04:00
Paul Kaplan eb60744bf2 Change monitor "type" to "mode" to be consistent with vm 2018-05-09 10:01:14 -04:00
Paul Kaplan 896f732c92 Fix css for large monitors to make sizing more consistent with Scratch 2 2018-05-09 10:00:17 -04:00
Paul Kaplan 3bd5abfc26 Consume mode info from the VM 2018-05-09 09:59:44 -04:00
Ray Schamp 3ae8559f79 Optimize the logo SVG
It was 435KB. Now it's 5KB. I used SVGOMG: https://jakearchibald.github.io/svgomg/
2018-05-08 16:27:29 -04:00
Paul Kaplan 024db1af66 Fix flickering of monitor value in Safari with CSS hack.
Root cause is probably the flex implementation on Safari.
2018-05-07 14:00:30 -04:00
Paul Kaplan d64b50661f Add monitor type temporarily to state to add context menu switching 2018-05-07 14:00:30 -04:00
Paul Kaplan f0d1c154cb Add large monitor mode, but no switching yet. 2018-05-07 14:00:30 -04:00
Karishma Chadha 820008853f Enable sprite upload. 2018-05-04 15:14:22 -04:00
Andrew Sliwinski 2a96e8c2a3 Open feedback forum in new tab 2018-05-04 10:09:44 -04:00
Andrew Sliwinski 0d924eed23 Resolve lint issue 2018-05-04 08:58:26 -04:00
Andrew Sliwinski 4be1e2e08a Restore feedback button with link to the forums 2018-05-04 08:54:19 -04:00
Paul Kaplan 8b7f69d94f Fix stage naming by using intl.formatMessage instead of component.
Fixes #1955
2018-05-03 11:05:13 -04:00
Paul Kaplan 0aaf188eac Move remaining strings to using FormatMessage 2018-05-02 08:47:55 -04:00
Paul Kaplan f6dfe8da38 Revert localization of crash message.
It doesn't work without an intl provider, which is mounted inside the error boundary.
2018-05-01 16:58:08 -04:00
Paul Kaplan 63146f3662 Merge pull request #1924 from kchadha/camera-costume
Upload a costume from camera
2018-05-01 11:04:59 -04:00
Paul Kaplan 0bd6227173 Fix nits 2018-05-01 10:37:26 -04:00
Paul Kaplan 16621261b5 Add 'flash' to differentiate video from photo mode 2018-05-01 10:33:14 -04:00
chrisgarrity be208ba10d Player mode (#1909)
* Player mode

Add isPlayerOnly property on GUI. Move isFullScreen into mode reducer with isPlayerOnly.

Full screen needs to be a separate prop so that GUI knows what to show when exiting full-screen (either player-only or full editor).

- set `gui-body * {box-sizing: border-box;}` instead of expecting it to be set by the enclosing component/playground, and removed uses of content-box (adjusting sizes as needed) 
- Added `!isPlayerOnly` to the conditions for draggable sprites
- rewrote player example to use player mode.
2018-05-01 10:30:42 -04:00
chrisgarrity 29f34efe0b Merge pull request #1920 from chrisgarrity/update-l10n
Add translation to missing strings
2018-05-01 08:23:46 -04:00
Karishma Chadha 421d4d0e9a Localization support in camera modal and some code cleanup. 2018-04-30 22:42:16 -04:00
Paul Kaplan ebaec99b30 Merge pull request #1918 from paulkaplan/fix-costumes-backdrops-tab
Show "Backdrops" instead of "Costumes" in tab text if stage is selected.
2018-04-30 17:33:13 -04:00
Karishma Chadha 3c23749e42 Add more UI states (e.g. differentiating between no access, permission granted but video not loaded, video loaded). CSS cleanup. 2018-04-30 17:19:37 -04:00
Karishma Chadha a7a30929b4 Fix lint error. 2018-04-30 17:18:24 -04:00
Karishma Chadha 4b562afac0 Re-take a picture, single media stream, some more styling. 2018-04-30 17:18:24 -04:00
Karishma Chadha 8c0d895cac Camera costume upload functionality. Needs UI and code cleanup. 2018-04-30 17:18:24 -04:00
Paul Kaplan 9e69478923 Show "Backdrops" instead of "Costumes" in tab text if stage is selected. 2018-04-30 14:55:52 -04:00
Andrew Sliwinski 571f40560e Revert "Bring back "Updates to preview modal for release"" 2018-04-30 14:09:12 -04:00
chrisgarrity 45032cc291 Add translation to missing strings
Question, should ‘x’ and ‘y’ be localizable?
2018-04-30 12:22:23 -04:00
Paul Kaplan 3568a36530 Make sound editor buttons unselectable 2018-04-30 10:00:12 -04:00
Paul Kaplan 99b914e18c Merge pull request #1888 from LLK/revert-1887-revert-preview-update
Bring back "Updates to preview modal for release"
2018-04-27 16:24:30 -04:00
Paul Kaplan def5898c16 Merge pull request #1889 from paulkaplan/integration-tests-for-how-tos
Add a simple smoke test for the how-to library
2018-04-27 16:23:11 -04:00
Paul Kaplan 7eebe9b355 Add a simple smoke test for the how-to library 2018-04-27 14:30:36 -04:00