Commit Graph
317 Commits
Author SHA1 Message Date
Steven Dale 31f3779805 Makes flags non-selectable + clickable (#212) 2017-03-08 17:40:16 -05:00
Ray Schamp 2eac055009 Buffer sprite info text fields (#177)
* Buffer sprite info text fields

Changes to the name, x, or y fields should only be sent to the VM when the field is blurred or when enter is pressed.

Still allow updates while the fields are focused, but unchanged.

Fixes #154

* Remove focus from input fields after hitting enter

* Fix prop types for info component and container
2017-03-08 12:53:15 -05:00
Steven Dale 0e56f866e5 TODO: -> @todo: (#213)
Refactored towards better convention for linting.
2017-03-07 17:43:10 -05:00
Eric Rosenbaum 9260a3be5e Merge pull request #218 from ericrosenbaum/feature/sounds-for-letter-sprites
Add sounds to each letter sprite in the library
2017-03-07 14:35:32 -05:00
Eric Rosenbaum 5695afd34f Remove script that modifies json 2017-03-07 14:12:48 -05:00
Eric Rosenbaum da87e74d41 Add some sounds to each letter sprite in the library json 2017-03-07 14:06:43 -05:00
Eric Rosenbaum a97ed1a94d Script to add a set of sounds to each letter sprite in the library 2017-03-07 14:06:17 -05:00
Steven Dale 8556179e8c SpriteInfo - Design pass, updated SVG icons (#155)
SpriteInfo: Design + refactor pass
* Updated SVG icons
* Added tab indexes, related #88. Still no tab on radio buttons
* Removed outline on dropdown focus
* Radio icons: fixed redirecting issue, using `div` instead of `a`. Temporary, until radio buttons. Related #156
* All icons: unselectable to prevent highlighting. Radio icons clickable
* SpriteSelector: fixed bottom padding in scroll wrapper
2017-03-07 11:21:39 -05:00
Steven Dale 702dddbb8d Libraries: Design pass (#160)
* Design pass on libraries to make sprites look more like they do in the SpriteSelector. Fixed scrolling overflow when reaching the bottom
* Started a colors variables file
* Added a light transform on sprite item hover

Related #12
2017-03-06 11:08:04 -05:00
Ray Schamp 5647854df9 Implement drag and drop for sprites on the stage (#159)
* WIP: drag states in stage component

* WIP: Hacky drag canvas

* Update sprite position on drag

Use VM to put sprite into drag state and update the sprite's position while dragging.

Temporarily don't use the drawable data to drag a new canvas, this can happen whne we have somewhere to drag the sprite to.
2017-03-03 10:06:14 -05:00
Ray Schamp c0ea247958 Merge pull request #152 from rschamp/wire-sprite-info
Wire sprite info panel to VM
2017-03-02 10:48:50 -05:00
Ray Schamp e0a9f0ea76 Throttle actions coming in from the VM
These aren't necessary to update in realtime, so throttle them to once every 30ms
2017-03-02 10:39:31 -05:00
Ray Schamp f695307d15 Disable all of sprite info at once for perf 2017-03-02 10:37:56 -05:00
Ray Schamp d2edd3aaee Add shouldComponentUpdate to sprite-info for perf 2017-03-01 23:59:24 -05:00
Ray Schamp f2592fa783 Lint 2017-03-01 23:23:19 -05:00
Ray Schamp 4a004d2b3b Disable sprite info fields when stage is selected 2017-03-01 22:58:35 -05:00
Ray Schamp 2ab4589e5b Manage rotation style from sprite info 2017-03-01 22:41:19 -05:00
Ray Schamp 0084e9a55b Implement toggling visibility/draggability
Refactor sprite info behavior into a container and let it handle the raw events.

TODO: refactor again into redux
2017-03-01 19:15:18 -05:00
Ray Schamp 002835ad6b Manage visibility and draggability in sprite info
Very crude, requires a refactor to allow toggling
2017-03-01 19:12:01 -05:00
Steven Dale a2700dcbd6 StageArea: fixed space near edge on projects with less than 1 row of sprites (#148) 2017-03-01 17:58:53 -05:00
Ray Schamp 5b7e3e76ba Update x/y info
For the time being, update the position onChange. Eventually this will update onBlur/on "enter" key
2017-03-01 17:58:36 -05:00
Ray Schamp 53f956a00c Display/update sprite name in sprite info 2017-03-01 17:58:36 -05:00
Ray Schamp 4f67a0b7cd Merge pull request #149 from rschamp/remove-onNewCostumeClick
Remove unused onNewCostumeClick prop
2017-03-01 17:58:16 -05:00
Ray Schamp 9b936d51c7 Remove unused onNewCostumeClick prop 2017-03-01 17:57:44 -05:00
Ray Schamp 264f12d067 Merge pull request #147 from rschamp/fix-warnings
Fix no-var warnings
2017-03-01 14:56:34 -05:00
Ray Schamp 30ca4dbce6 Fix no-var warnings 2017-03-01 14:55:35 -05:00
Ray Schamp 9b06b1b651 Merge pull request #146 from thisandagain/bugfix/137
Move letters / numbers to top of the sprite library
2017-03-01 13:11:34 -05:00
Andrew Sliwinski 4c03efa603 Remove errant conditional logic for backdrop / costume modal (#145)
* Remove errant conditional logic for backdrop / costume modal. Resolves GH-100
* Remove unused var. Re GH-100
2017-03-01 13:09:02 -05:00
Andrew Sliwinski 497b2df157 Move letters / numbers to top of the sprite library. Resolves GH-137 2017-03-01 11:28:46 -05:00
Steven Dale 63950a5fdb Stage/Backdrop: Design pass (#134)
* Stage/Backdrop: design pass. Changed how selected state works to keep width of pane from shifting. Switched to fixed pixel width to match design spec
* SpriteSelector: removed flex basis width. Pane grows to expand the empty space, since Stage is now fixed width
* SpriteInfo: updated to correct dropdown values. Updated 2nd row type sizing and radio box border-radius
* SpriteInfo: made labels non-selectable. StageArea: added border
* SpriteSelectorItem: Updating type size to match SpriteInfo
2017-02-28 14:33:32 -05:00
Ray Schamp 6db7c75c5a Merge pull request #135 from rschamp/filter-toolbox
Filter toolbox to blocks available to the VM
2017-02-28 14:00:30 -05:00
Ray Schamp 2b82c0cc44 Filter toolbox to blocks available to the VM
Resolves #16
2017-02-28 14:00:09 -05:00
Ray Schamp 963db07713 Merge pull request #136 from LLK/greenkeeper/autoprefixer-6.7.6
Update autoprefixer to the latest version 🚀
2017-02-28 12:11:35 -05:00
greenkeeper[bot] f4a7090391 chore(package): update autoprefixer to version 6.7.6
https://greenkeeper.io/
2017-02-28 10:10:38 +00:00
Steven Dale 7f0141e7af Configurable SpriteSelectorItems per row (#90). Standardized spacer variable (#84). MenuBar Pass (#130)
* Standardized use of space units where appropriate
* Reversed box classes for easier readability in Inspector
* Sprite Area: removed unused info button
* SpriteSelectorItems: fixed spacing between rows. Isolated layout + component CSS, now reusable in other context. Items per row is now easily configurable
* MenuBar: refactored structure for clickable items
2017-02-27 13:40:49 -05:00
Ray Schamp 3c229a2cde Merge pull request #126 from LLK/greenkeeper/autoprefixer-6.7.5
Update autoprefixer to the latest version 🚀
2017-02-24 10:06:24 -05:00
Ray Schamp 82d51cb19f Merge pull request #131 from LLK/greenkeeper/postcss-loader-1.3.2
Update postcss-loader to the latest version 🚀
2017-02-24 10:03:42 -05:00
greenkeeper[bot] b6c4a59b65 chore(package): update postcss-loader to version 1.3.2
https://greenkeeper.io/
2017-02-24 10:48:12 +00:00
Ray Schamp 0e7da5f05a Merge pull request #129 from LLK/greenkeeper/react-style-proptype-2.0.1
Update react-style-proptype to the latest version 🚀
2017-02-23 16:38:34 -05:00
greenkeeper[bot] aeea064314 chore(package): update react-style-proptype to version 2.0.1
https://greenkeeper.io/
2017-02-23 20:57:20 +00:00
Ray Schamp 3afb13406f Use large range on true "dev" dependencies (#114)
* Remove unnecessary dev dependencies

* Use large range on true "dev" dependencies

The exact versions of these dependencies are not important for building, so give them large ranges in order to quiet down greenkeeper.

I did not split them between dependencies and devDependencies because a package's dependencies are installed whenever the package is installed as a dependency. Installing all of these would be obnoxious and unnecessary.
2017-02-23 15:41:25 -05:00
Ray Schamp 5f9c7ba562 Merge pull request #127 from LLK/greenkeeper/eslint-3.16.1
Update eslint to the latest version 🚀
2017-02-23 08:47:23 -05:00
greenkeeper[bot] 44d1b50f2e chore(package): update eslint to version 3.16.1
https://greenkeeper.io/
2017-02-22 22:33:56 +00:00
greenkeeper[bot] 30cc90ea44 chore(package): update autoprefixer to version 6.7.5
https://greenkeeper.io/
2017-02-22 12:19:34 +00:00
Ray Schamp 6d2d1dae4b Use postcss-simple-vars for variables (#125)
Using postcss-modules-values with imported values failed on our current basic usage; it is apparently not mature enough to be used yet.

The syntax used by postcss-simple-vars is already familiar to most people familiar with modern CSS build systems.
2017-02-21 18:43:00 -05:00
Ray Schamp 1cec825e62 Merge pull request #119 from LLK/greenkeeper/autoprefixer-6.7.4
chore(package): update autoprefixer to version 6.7.4
2017-02-20 16:00:57 -05:00
Ray Schamp e207e3253d Merge pull request #109 from LLK/greenkeeper/xhr-2.4.0
Update xhr to the latest version 🚀
2017-02-20 15:57:49 -05:00
Ray Schamp 116b0054fd Merge branch 'master' of github.com:LLK/scratch-gui into greenkeeper/autoprefixer-6.7.4
# Conflicts:
#	package.json
2017-02-20 15:57:18 -05:00
Ray Schamp a0d2911936 Merge branch 'master' of github.com:LLK/scratch-gui into greenkeeper/xhr-2.4.0
# Conflicts:
#	package.json
2017-02-20 15:50:00 -05:00
Ray Schamp 5107462d10 Merge pull request #113 from LLK/greenkeeper/eslint-3.16.0
Update eslint to the latest version 🚀
2017-02-20 15:48:00 -05:00