14 Commits (68d90364b079216fd196ce773e3673a962c05359)

Author SHA1 Message Date
Michael Fix bd695b7fd1
convert ids to classNames, use refs (#488) 6 years ago
Mike Fix 624591b53a integration tests: 6 years ago
Mike Fix cc5981509e update integration test 6 years ago
Mike Fix 0ff4813bb5 Add skipped download integration test 6 years ago
Mike Fix 17e44654c6 fix old integration tests, implement basic ones
- Closes #456
6 years ago
Michael Fix 89931eab59
Add linting back (#349) 7 years ago
Michael Fix 3bbb98a3a2
Revert "Refactor state components (#338)" (#348)
This reverts commit 0a59db56c8.
7 years ago
Michael Fix 0a59db56c8
Refactor state components (#338)
* WIP: Unstated works

* WIP: extract into its own file

* Container instance

* Remove unused variables

* Move toolbar children into Toolbar

* Extract our Coder interface

* Remove top level subscription

* Bug fix

* WIP

* Remove old dependencies

* Add import eslint plugin

* Rename components

- add createRef TODO [ ]

* Bug fixes

* Rename Coder -> CodeWindow

* Address comments

- Rename to variable
- Rename onDrop from Editor containers perspective

* More variable renaming
7 years ago
Michael Fix 80cf355b44
Use gist language response (#343)
* Use gist language response

* Use gist language response - fix when no queryparams are given (#344)

* fix when no queryparams are given
e.g. http://carbon.now.sh/3208813b324d82a9ebd197e4b1c3bae8 would still not set the language property because the initialState is null

* move gist language to its own test

* Update test
7 years ago
Mike Fix 4097e7978c Fix cypress tests 7 years ago
Mike Fix 85a6385178 Add gist test 7 years ago
Mike Fix 348bbfb08b Fix classNames in tests 7 years ago
Jake Dexheimer cbc6824b83 Background image settings (#169)
* Implement drag-n-drop image for backgrounds

- Closes #122

* In progress

* Add background-size, background-position settings

* Add ReactCrop

* Remove old bg sizing sliders

* Add resize observer

* Fix typo

* Disable select on sliders

* onAspectRatioChange hook

* Rename to backgroundColor

* Fix state issues

* Add backgroundMode toggle

* Rename ColorPicker

* Add upload-image margin

* Minor font-size change

* Fix build
7 years ago
Gleb Bahmutov 4078735cdc add Cypress integration tests (#162)
* chore: add Cypress background color tests

* add localStorage spec

* add project id for Cypress dashboard

* remove project id from cypress.json
7 years ago