Commit Graph
580 Commits
Author SHA1 Message Date
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
Paul Kaplan 97a16f1176 Revert "Revert "Updates to preview modal for release (#1864)"" 2018-04-27 11:44:52 -04:00
Paul Kaplan 7caddb90a9 Revert "Updates to preview modal for release (#1864)"
This reverts commit 29d5619d93.
2018-04-27 11:42:27 -04:00
Paul Kaplan 76bfe175aa Framework and demo content for how-tos inside the editor (#1867)
* WIP tips

* WIP first card stack

* WIP use tips reducer to show things to try

* single card deck similar to mask sequence

* collapse option

* Add zoom card

* WIP tips

* Reorganized to redux

* Add zooming to the gifs

* Blue cards + navigation

* Add tips to new nav bar

* Remove blue

* Update design with icons

* deck updates wip

* Updated card decks

* Add videos to libraries

* Update initial card and clicker preview

* Add backdrop to initial card step.

* WIP use vimeo player instead

* New simple spin deck

* Spin around and say hello decks

* Update button and sub-card styles

* Fix "tips" button in menu bar

* Use move cursor

* Fix cursor

* Use same image for deck preview and library

* Fix cursor again

* Update clicker game deck

* Add videos as single-step decks

* Change tips in menu bar to ? icon

* Change “tips” to “how-tos” in library

* Add help icon to cards

* Update deck library images

* Add drag cover for youtube video to prevent catching mouseup

* add a step to spin deck for clicking control

* Blue bar style updates

* Add step pips

* Update clicker game name to run away

* Fix image padding

* Add change color step to spin deck

* Add start sound step to run away deck

* Update say deck to start with adding a sprite

* Remove package lock

* Remove zooming functionality

* Remove unnecassary prototype changes

* Split up rendering of cards into smaller parts

* Use FormattedMessage for all strings

* Automatic lint fixes

* Almost finished with lint errors!

* Fix more lint errors

* Clean up CSS

* Fix webpack config
2018-04-27 11:11:42 -04:00
Andrew Sliwinski 29d5619d93 Updates to preview modal for release (#1864)
* Updates to preview modal for release

* Design tweaks and remove import modal

* Resolve issues with tests

* Copy edits HT Eric

* Resolve lint issue with integration test

* One more change to the disclaimer language

* Add line break
2018-04-25 17:47:22 -04:00
kchadha 60cf7f1e5d Merge pull request #1836 from kchadha/costume-file-upload
Upload Costumes and Backdrops (vector and bitmap)
2018-04-25 11:49:51 -04:00
Ray Schamp 69e242f051 Merge pull request #1858 from rschamp/feature/modal-back-button
Allow the back button to work with libraries
2018-04-24 16:25:01 -04:00
Karishma Chadha 2bf417045e Add bitmap support to backdrop upload button. 2018-04-24 12:44:39 -04:00
Karishma Chadha 1f0d0e7e5a Backdrop WIP 2018-04-24 12:44:39 -04:00
Karishma Chadha b8b92269df Handle SVG upload (with bitmap coming soon). 2018-04-24 12:44:39 -04:00
Ray Schamp 3c576a0110 Allow the back button to work with libraries
Push to history when the library mounts. Whenever popstate occurs after mounting, request to be closed.

Behavior captured in the `Modal` container. If we want to re-use this functionality for anything else that uses `ModalComponent`, just use the `Modal` container rather than `ModalComponent`.
2018-04-24 09:35:46 -04:00
Ray Schamp afbb63bacc Merge pull request #1841 from rschamp/bugfix/search-height
Make the library filter input full height
2018-04-24 09:27:07 -04:00
Ray Schamp c6bab0a0f1 Merge pull request #1842 from rschamp/bugfix/library-header-height
Account for filter bar in library grid height
2018-04-24 09:26:37 -04:00
Ray Schamp 5ff8cb4a42 Merge pull request #1843 from rschamp/feature/partial-tag-match
Partially match tags while filtering
2018-04-24 09:26:03 -04:00
Paul Kaplan 170eb4343c Make whole search clickable 2018-04-23 10:13:19 -04:00
chrisgarrity 77e9498d4b Merge pull request #1448 from chrisgarrity/feature/untangle-redux
Export GUI for use on www!
2018-04-23 10:04:35 -04:00
Ray Schamp f9614f1996 Account for filter bar in library grid height
This prevents the fullscreen modal from being scrollable by removing extra height from the library
2018-04-21 14:20:33 -04:00
Ray Schamp e45ab420c2 Make the filter input full height
This way you can click anywhere to gain focus
2018-04-21 14:15:14 -04:00
Ray Schamp 9049f24b17 Search name and tags while filtering
Concatenate all the tags plus the library item name into one string and search for a match within that. This allows queries to partially match tags and library item names.

The `\n` delimiter is because my first choices of `' '` or `,` are typeable, and would end up matching everything.
2018-04-21 14:12:21 -04:00
Ray Schamp a36ff212ea Final spacing and height tweaks with @carljbowman 2018-04-20 12:05:17 -04:00
Ray Schamp 0ce9524899 Show border while input is focused
This won't work on a lot of browsers, but temporarily just target modern ones. (Robust solution is possible using classNames and refs)
2018-04-20 12:04:53 -04:00
Ray Schamp fa1e6c9333 Clip overflowed tags 2018-04-20 10:18:08 -04:00
Ray Schamp e943ba2d28 Fix back button in modals on Firefox
Thanks @towerofnix!
2018-04-20 09:48:39 -04:00
Ray Schamp 3601eacb1d Fix propType warnings
Including action-menu which was also giving one when the backdrop library opened.
Localize the costume library, I missed it while doing the other libraries.
2018-04-20 09:47:59 -04:00
Ray Schamp c8e25b4192 Clear tags on filter query change 2018-04-19 16:01:43 -04:00
Ray Schamp 601b574cb8 Remove tag icons 2018-04-19 16:01:22 -04:00
chrisgarrity 55800bce4d Fix up localization after rebasing on LLK/develop 2018-04-19 14:38:14 -04:00
chrisgarrity 924c2aefc0 Make Error Boundary into HOC
Don’t translate IE error modal, if there are errors during the `connect` process the `IntlProvider` doesn’t get set up and the error modal can’t be shown.
2018-04-19 14:38:12 -04:00
Ray Schamp 6cf8c16021 Revert joke 2018-04-19 14:00:38 -04:00
Ray Schamp fc87a1e0e0 Implement tag filtering 2018-04-19 14:00:38 -04:00
Ray Schamp 1e8bca53fb Rearrange to use existing back icon 2018-04-19 14:00:38 -04:00
Ray Schamp 176a52feb0 Style most of the components 2018-04-19 14:00:37 -04:00
Ray Schamp dde95cc35f WIP: Stuff is sketched in 2018-04-19 14:00:37 -04:00