151 Commits (5f369876d7ecaffbe47fe5c164e4cf1178980ba8)

Author SHA1 Message Date
Timothy 5f369876d7 Use Now 2.0 for building and deployment (#611) 6 years ago
Mike Fix f1b36f4f67 3.8.0 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 bf761d7d5b Add lint to precommit hook (#601)
* Add lint to precommit hook

* Update package.json
6 years ago
Mike Fix 36e119db96 3.7.1 6 years ago
Sean Rabaut d472434388 remove 6 years ago
Mike Fix 0ceb40f211 3.7.0 6 years ago
Mike Fix ef5fae2eb1 3.6.4 6 years ago
Mike Fix 0aa7432022 3.6.3 6 years ago
Mike Fix 3c6b07d652 3.6.2 6 years ago
Mike Fix 4e02468e92 3.6.1 6 years ago
Mike Fix 25eb5b325e 3.6.0 6 years ago
Mike Fix d7798672c5 3.5.6 6 years ago
Mike Fix 8ddfddc8b7 3.5.5 6 years ago
Mike Fix 3946173d34 3.5.4 6 years ago
Mike Fix 37ed907089 3.5.3 6 years ago
Michael Fix 6ab33153a8
Ability to name file downloads (#562)
* Ability to name file downloads

- Closes #561

* fix codemirror-graphql
6 years ago
Mike Fix 6c96791912 3.5.2 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
Michael Fix 77ca87b322
chore: pin next-offline to 3.0.2 (#555) 6 years ago
Mike Fix 920e6dc859 3.5.1 6 years ago
Michael Fix 832982ba04
add gatsby-remark-embed-carbon package (#537) 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
Mike Fix 26d6ea6f18 sync up package version with releases 6 years ago
Mike Fix a4361387fc 3.5.2 6 years ago
Mike Fix 13c1d64282 3.5.1 6 years ago
Mike Fix 3a1bab410b husky hooks 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
greenkeeper[bot] 4f1d566a6b Update next to the latest version 🚀 (#503)
* fix(package): update next to version 7.0.0

* chore(package): update lockfile yarn.lock
6 years ago
greenkeeper[bot] cf81be02ab Update codemirror-graphql to the latest version 🚀 (#501)
* fix(package): update codemirror-graphql to version 0.7.1

* chore(package): update lockfile yarn.lock
6 years ago
Mike Fix 26b63f0d1e 3.4.8 6 years ago
Mike Fix dadf401213 3.4.7 6 years ago
Mike Fix 80144dae51 3.4.6 6 years ago
greenkeeper[bot] 8bf3d91475 chore(package): update babel-eslint to version 9.0.0 (#491) 6 years ago
Mike Fix 6149f0d67c 3.4.5 6 years ago
Jack Hanford ed3ab8f8de restore offline (#486)
* restore offline

* move service-worker.js file to /public

* don't inclue withOffline during dev

* bump next-offline
6 years ago
Mike Fix c0ff116de8 embeds
expose CodeMirrorLink, load only necessary theme in embed

implement copy button in Carbon window controls

add copy to queryParam

use next/head and metatags in /embed

make editor have router prop

fix now.json rewrites

allow local stylesheets in embed
6 years ago
Mike Fix 2c619fbcb6 3.4.4 6 years ago
Mike Fix 53e9e38e19 remove \`history\` package 6 years ago
Mike Fix 6fc3d2b5e1 use react-addons-shallow-compare for comparing state 6 years ago
Mike Fix 2f6a1e6815 3.4.3 6 years ago
Mike Fix f308822fc6 3.4.2 6 years ago
Michael Fix 6c9a09e522
Clean up (#481) (patch)
* clean up things

* introduce toggle fn

* remove constructor from Collapse (ignore)

* prettier (ignore)

* make Collapse a PureComponent (ignore)

* give ExportSizeSelect a display name (ignore)

* give ThemeSelect a display name (ignore)

* Toggle: displayName, PureComponent, remove constructor (ignore)

* Meta and Slider display names (ignore)

* remove ThemeSelect constructor (ignore)

* fix lint-staged, prettier
6 years ago
Mike Fix a1b8b00ff5 3.4.1 6 years ago
Mike Fix 83b161a1e5 3.4.0 6 years ago