Commit Graph
67 Commits
Author SHA1 Message Date
Paul Kaplan 608ff599c8 Use pageview with query param for tracking search usage
This replaces the event-based search analytics because that method does not allow us to get the advantages of more search-specific analytics.
2018-07-23 11:22:00 -04:00
Paul Kaplan c6e67044dd Add library analytics for searches 2018-07-19 11:29:44 -04:00
sjhuang26 535583e756 Change CSS 2018-06-10 17:37:30 -04:00
sjhuang26 a626062931 Additional fixes 2018-05-29 16:03:34 -04:00
sjhuang26 2aa3876fce Scroll to top when search query or tag changed 2018-05-28 17:30:46 -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 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
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
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
Paul Kaplan 170eb4343c Make whole search clickable 2018-04-23 10:13:19 -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 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 fa1e6c9333 Clip overflowed tags 2018-04-20 10:18:08 -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 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 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
carljbowman 4e30c0b0c7 Unifiy colors variables
- Auditing color CSS and componet CSS to make consistent.
- Made a first pass of changes to increase contrast to elements that previously were problematic
2018-04-09 13:16:26 -04:00
Paul Kaplan 182e801a20 Revert "Sprite library now centered" 2018-02-01 16:44:15 -05:00
Daniel Ball ade17124d4 Used grid layout in library.css instead of flex 2018-01-26 22:12:47 +00:00
Daniel Ball c2873b4a3b Sprite library now centered 2018-01-26 20:21:52 +00:00
Matthew Taylor 4743702d66 Implement GH-1074: Add "coming soon" extensions to the library (#1132)
* Add coming soon extensions to the library

This implements #1074

* don’t call `onSelect` when disabled

thanks @paulkaplan!

* add speech image to coming soon extension
2018-01-03 10:31:54 -05:00
Tina Quach 89df9482ab remove e and ordering 2017-11-27 21:41:01 -05:00
Tina Quach 8379315702 play music on keyboard focus 2017-11-20 13:54:06 -05:00
Eric Rosenbaum 22a9b1b3f8 Use boolean value in library JSON for featured extension 2017-10-19 14:10:51 -04:00
Eric Rosenbaum b2a0cb4c87 WIP on extensions modal 2017-10-17 11:12:59 -04:00
Paul Kaplan fffec19302 Remove visible property from modal and library components 2017-09-01 09:09:08 -04:00
Paul Kaplan 8a10c04f42 Add import/export rules and fix lint errors 2017-07-21 08:58:24 -04:00
Paul Kaplan df5d8bc8a5 Convert requires to import 2017-06-30 15:14:05 -04:00
Paul Kaplan 7950eb6bfd Refactor modal component to be used by prompt, library and recorder 2017-06-27 10:27:06 -04:00
DD Liu c7f05a807c implement the close button on filter 2017-05-25 15:42:20 -04:00
DD Liu cee390d45e Merge branch 'develop' into filterComponent 2017-05-25 15:34:26 -04:00
DD Liu 616df9be2c make there not be two scroll bars sometimes 2017-05-25 15:26:31 -04:00
DD Liu f54701c5f7 add the right sprite to the stage 2017-05-25 14:56:38 -04:00
DD Liu 6935de3c25 filter items! Ignore case except turkish 2017-05-25 14:31:36 -04:00
DD Liu 4d573a3a6c Merge filter container with library component and get rid of 'active' state of filter component 2017-05-25 14:17:48 -04:00
Paul Kaplan 37425e4649 Add hover hooks to libraries and hook up sound hover action 2017-05-19 07:50:40 -04:00
Paul Kaplan ef8de74e0b Remove selected state from libraries, adding on first click 2017-05-19 07:50:40 -04:00
steven dale a0334a899e * Filter: Replaced hover circle with grow transform for X icon. Removed duplicate prop.
* Library: Centered sprites
2017-05-17 13:11:51 -04:00
steven dale a71b751c4c lint fixes 2017-05-16 14:22:39 -04:00
steven dale 0b499bf24e * Library component: moved header logic + css to Modal component. Updated sprite alignment
* Close button component: large: added similar transition to add button
* Filter component: added autofocs, made full width
2017-05-16 13:43:07 -04:00
steven dale c13573d0ad moving stuff into modal 2017-05-16 10:34:23 -04:00
steven dale 54577b4147 using closebutton component 2017-05-15 16:51:17 -04:00
steven dale 7ba981d4b8 wiring filter component, onClick + onBlur handlers 2017-05-15 12:22:01 -04:00
steven dale 44b1d09181 Optimized svg 2017-05-12 12:44:05 -04:00