130 Commits (e0a650b02122340b036c08618f9a1568d1147f31)

Author SHA1 Message Date
souppower 36b582cc60 Add Jest setup for unit testing (#731)
* install jest

* rename test script name

* test Safari detection logic

* don't expose implementation details for testing

* fix jest config

* contrib build

* don't expose impl details for testing
6 years ago
greenkeeper[bot] 512b53beee Update clipboardy to the latest version 🚀 (#724)
* chore(package): update clipboardy to version 2.0.0

* chore(package): update lockfile yarn.lock
6 years ago
Michael Fix b152d1d1c0
Greenkeeper/@dawnlabs/tacklebox 0.0.10 (#720)
* fix(package): update @dawnlabs/tacklebox to version 0.0.10

Closes #718

* chore(package): update lockfile yarn.lock
6 years ago
Michael Fix b2cb16a31f
Refactor disable PNG (#701)
* pull disabled state into ExportMenu

* use useOnline hook from the tacklebox
6 years ago
Michael Fix 117b4f021a
Add offline support (#699)
* add offline support

* update manifest to use desktop icon

* simplify next-offline config

* don't enable cache control on service workers
6 years ago
Mike Fix 270cb0f5cd optimize react hooks 6 years ago
Michael Fix 223bccd6b1
read all api calls from context (#691) 6 years ago
Mike Fix a40f016fb4 fix react-image-crop version 6 years ago
greenkeeper[bot] 054622a57b Update react-image-crop to the latest version 🚀 (#689)
* fix(package): update react-image-crop to version 6.0.15

* chore(package): update lockfile yarn.lock
6 years ago
greenkeeper[bot] eda479e7eb Update react-image-crop to the latest version 🚀 (#685)
* fix(package): update react-image-crop to version 6.0.14

* chore(package): update lockfile yarn.lock
6 years ago
Mike Fix 2bda5dd00d fix up deps 6 years ago
Mike Fix 02ffa90a4b fix deps 6 years ago
greenkeeper[bot] 2fa6b27ca5 Update @dawnlabs/tacklebox to the latest version 🚀 (#681)
* fix(package): update @dawnlabs/tacklebox to version 0.0.3

* chore(package): update lockfile yarn.lock
6 years ago
Michael Fix e4d683e6d8
fix react hooks linting issues (#679) 6 years ago
greenkeeper[bot] fdebf1c633 Update react-image-crop to the latest version 🚀 (#678)
* fix(package): update react-image-crop to version 6.0.13

* chore(package): update lockfile yarn.lock
6 years ago
greenkeeper[bot] 32fff3e8b7 Update now to the latest version 🚀 (#675)
* chore(package): update now to version 14.0.0

* chore(package): update lockfile yarn.lock
6 years ago
greenkeeper[bot] 9ef70b3c55 chore(package): update lockfile yarn.lock 6 years ago
Mike Fix 115ca7f7ff add release script 6 years ago
Mike Fix 35ed5ae1e7 replace copy button with tacklebox's 6 years ago
greenkeeper[bot] 5addb18bb7 Update all-contributors-cli to the latest version 🚀 (#657)
* chore(package): update all-contributors-cli to version 6.0.0

* chore(package): update lockfile yarn.lock

* build contributors
6 years ago
Mike Fix 35217bebff bump minor versions too 6 years ago
Mike Fix 33bc3ab00c bump dev deps 6 years ago
Mike Fix 373bdac097 upgrade to React 16.8.0 6 years ago
Mike Fix b7bc227522 clean up <Carbon/> - remove resize-observer 6 years ago
Mike Fix 7fe3f3415f Use new version of dropperx 6 years ago
Michael Fix c842f34ef8
remove react-dnd dependencies + use react-dropzone instead (#648) 6 years ago
Mike Fix de9574ef7c Accessability improvements 6 years ago
Mike Fix 642749a701 use escape-goat 6 years ago
Mike Fix 9c77bf260b bump deps 6 years ago
Mike Fix e3e7ff46c2 lock react-image-crop version
- Closes #637
6 years ago
Mike Fix aff95f4e5e run cypress tests against localhost
- Closes #616
6 years ago
raboid 9d37f9bf99 use HOC for popout state, remove react-addons-shallow-compare 6 years ago
greenkeeper[bot] 928cf15b67 Update now to the latest version 🚀 (#621)
* chore(package): update now to version 13.0.0

* chore(package): update lockfile yarn.lock
6 years ago
Mike Fix 81aa1de6fd remove hex2rgb 6 years ago
Mike Fix 428b4bd400 upgrade CodeMirror 6 years ago
Mike Fix deb1305073 update minor dependencies 6 years ago
Mike Fix 9bd1262966 update patch dependencies 6 years ago
Mike Fix 7d16b0483a update devDependencies 6 years ago
Mike Fix ce0cead76f update yarn lock 6 years ago
Timothy 5f369876d7 Use Now 2.0 for building and deployment (#611) 6 years ago
Sean f6f0adee6b Add preset feature (#595)
* Add preset feature without create

* fix lint errors

* Add presets to Editor state

* add remove, update -> apply, omit presets

* replace name with index, add undo functionality

* fix reduce function

* Tweaks:

- Make remove filter setState atomic
- Remove broken sCU in BackgroundSelect
- Touch up style of arrow functions a little
- Remove titleBar from default settings
- Don't expose SETTINGS_KEYS
- Use hasOwnProperty instead of includes()

* refactor preset state into Settings

* move format code into editor and make it work again

* omit custom in applyPreset

* move presets array state into Settings

* keep custom sCU in BackgroundSelect

* pull out inline objects

* revert pages/index

* increase Presets font-size, remove margin-top

* Add ability to create presets

* also enable passing exportSize as prop

* move selectedPreset back into Settings (my bad Sean)

* replace splice with filter, getSavedX -> getX

* Revert "move selectedPreset back into Settings (my bad Sean)"

This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4.

* make sure background updates remove selected preset

* selectedPreset -> preset

* use onChange instead of selectPreset

* use preset id's instead of indexes

* bug fixes

* use disabled instead of pointer-events

* make .settings-presets-applied flex 💪

* make .settings-presets-arrow flex 💪

* move getPresets outside of `setState`

* move inline styles to style tag

* refactor using omitBy and isFunction

* remove lodash.isfunction

* fix applyPreset to disclude preset field

* move omit to getSettingsFromProps

* replace lodash.omit with omitBy solution

* .includes -> .indexOf

* add default preset and presetApplied state

* fix lint error

* remove presetApplied

* add more default presets

* fix default preset functionality

* tweaks

* preserve preset list scrollLeft b/w updates with a hack

* Use ref for preset content

* remove forwardRef
6 years ago
Sean 68d90364b0 New export menu (#582)
* New export menu

* Fix lint errors
6 years ago
Mike Fix a8a21e0ba8 update dependencies 6 years ago
greenkeeper[bot] f46b98fc6a Update codemirror-graphql to the latest version 🚀 (#556)
* fix(package): update codemirror-graphql to version 0.8.2

* chore(package): update lockfile yarn.lock
6 years ago
greenkeeper[bot] 51323ecdcd Update downshift to the latest version 🚀 (#535)
* fix(package): update downshift to version 3.0.0

* chore(package): update lockfile yarn.lock
6 years ago
Michael Fix 20df18ebec
tune component updates and bump codemirror polling to hit 60 Hz (#493)
* tune componenet updates and bump codemirror polling to hit 60 Hz

* reuse omit
6 years ago
Michael Fix b1ce565b28
Dependency version bumps (#512)
* fix(package): update react-image-crop to version 5.0.0

* dependency version bumps

* prettier to devDeps
6 years ago
greenkeeper[bot] 487eede69c Update husky to the latest version 🚀 (#510)
* chore(package): update husky to version 1.0.0

* chore(package): update lockfile yarn.lock
6 years ago
greenkeeper[bot] e772291fb8 Update babel-eslint to the latest version 🚀 (#509)
* chore(package): update babel-eslint to version 10.0.0

* chore(package): update lockfile yarn.lock
6 years ago
greenkeeper[bot] 7f82f3e9d6 Update next-offline to the latest version 🚀 (#505)
* fix(package): update next-offline to version 3.0.0

* chore(package): update lockfile yarn.lock
6 years ago