22 Commits (f556a6246e7cc8e59bbcafe4852c7e041d7e39cf)

Author SHA1 Message Date
Sean d4d0ef9949 update gist handling (#715)
* update gist handling

* address comments

* clean up a bit

* getRouteState(router)

* move try/catch into getGist

* updateQueryString -> updateRouteState

* clean up more

* add cypress tests

* delete comments

* remove wait
6 years ago
Mike Fix ed76076597 bump integration test wait a little 6 years ago
Michael Fix 93c57d2b5d
debounce updating query string and localStorage (#664)
* debounce updating query string and localStorage

* memoize meta components

* fix tests
6 years ago
Mike Fix 981947c454 update integration test 6 years ago
Mike Fix 008ba67eac remove old TODOs 6 years ago
Mike Fix 5e87b7d1a7 Add CLI integration test
- Closes #635
6 years ago
Mike Fix aff95f4e5e run cypress tests against localhost
- Closes #616
6 years ago
Mike Fix 469890df68 add pop id prop to fix integration tests 6 years ago
Mike Fix 81aa1de6fd remove hex2rgb 6 years ago
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 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