304 Commits (7c9401536dc01c65d1ee3f3fa3a86fb2b032c193)

Author SHA1 Message Date
Michael Fix 17c0ac67b9
Upgrade dependencies (#981)
* upgrade deps

* bump dev deps

* upgrade react-codemirror2

* rename parser-bablyon to parser-babel

* update prettier options
5 years ago
Mike Fix 93f74ea3ad
upgrade deps to patch security alerts 5 years ago
dependabot[bot] 5531f7ee50
Bump next from 9.2.2 to 9.3.2 (#977)
Bumps [next](https://github.com/zeit/next.js) from 9.2.2 to 9.3.2.
- [Release notes](https://github.com/zeit/next.js/releases)
- [Commits](https://github.com/zeit/next.js/compare/v9.2.2...v9.3.2)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Michael Fix 4d99098633
Move cypress config to cypress/config.json (#974)
* move cypress config to cypress/config.json

* upgrade dev deps

* don't import @applitools/eyes-cypress/commands for now
5 years ago
Mike Fix 30a73d098c
patch minimist dep vulnerability 5 years ago
dependabot[bot] e354986a0b
Bump acorn from 6.2.0 to 6.4.1 (#971)
Bumps [acorn](https://github.com/acornjs/acorn) from 6.2.0 to 6.4.1.
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.2.0...6.4.1)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years ago
Mike Fix a6c1f237e0
fix serialize javascript dep 5 years ago
Michael Fix bb960977bd
Upgrade dependencies (#959)
* Upgrade dev dependencies

* upgrade cypress

* upgrade patch deps

* remove explicit serialize-javascript dep

* upgrade minor dependencies

* upgrade downshift

* upgrade @reach/visually-hidden

* upgrade use-climate-change-reminder

* catch preinstall errors
5 years ago
Mike Fix 68cefecd2c
fixup! add use-climate-change-reminder 5 years ago
Mike Fix c8c76007c6
add use-climate-change-reminder 5 years ago
Michael Fix fd5c0cffd1
Upgrade dependencies (#942)
* upgrade dev deps

* upgrade minor deps

* upgrade major deps

* remove git add from lint-staged
5 years ago
Michael Fix e0e9795fb7
upgrade next to fix url errors (#934)
* upgrade next to fix url errors

* upgrade axios to fix xss issue
5 years ago
Mike Fix 6ed221a3ea
upgrade codemirror dep 5 years ago
Mike Fix 4040a140c2
upgrade to downshift@4 5 years ago
Mike Fix 20fce76a73
set Next to 9.1.4, temporary for #929 5 years ago
Mike Fix f37ff38228
upgrade minor dependencies 5 years ago
Mike Fix bb7f596e1a
upgrade dev deps 5 years ago
Mike Fix 5e9da33b6e
upgrade deps 5 years ago
Michael Fix 24c01c1dad Upgrade dependencies (#913)
* upgrade dev deps

* upgrade minor deps

* upgrade @reach/visually-hidden

* upgrade stripe elements

* patch serialize-javascript
5 years ago
Michael Fix 0655b297a8 Bump dependencies (#907)
* dev deps

* minor deps
5 years ago
Mike Fix 44218de715 upgrade minor deps 5 years ago
Mike Fix dcd8ebc913 upgrade next.js 5 years ago
Mike Fix 54cc29971d upgrade dev dependencies 5 years ago
Bakti Aditya f3bdaf4001 Display whitespace (#879)
* Display whitespace

resolve #877

* Update

* Update Settings.js

* hiddenCharacters

* tweak

* clean up a bit
5 years ago
Mike Fix 4195f0a6ca
upgrade @reach/visually-hidden 5 years ago
Mike Fix ea5816e75d
upgrade React to 16.11 5 years ago
Mike Fix c92a04e67f
upgrade codemirror 5 years ago
Mike Fix 399a9c8c16
upgrade minor deps 5 years ago
Mike Fix 163e4bb98c
upgrade dev deps 5 years ago
Michael Fix 159ccd5322 upgrade next and react (#886) 5 years ago
Mike Fix ea7040d3f0
upgrade deps 5 years ago
Michael Fix 32d7c177b5 Upgrade Deps (#874)
* upgrade dev dependencies

* upgrade patch deps

* upgrade react to 16.10, next to 9.0.7

* remove cross-env dep

* upgrade date-fns

* upgrade firebase to 7

* upgrade codemirror to 5.49.0

* Revert "upgrade codemirror to 5.49.0"

This reverts commit e90af6f9063a4cc0ec98ca1e299a2bc476d36a8e.
5 years ago
Mike Fix e4da412d83 move to use meta and shift symbols to define keyboard listening 5 years ago
Mike Fix ed056e39d2 fix snippets list request auth 5 years ago
Mike Fix a7fba9479e keep firebase @ 6.4.2 5 years ago
Mike Fix 81e19112a8 upgrade minor deps 5 years ago
Mike Fix 5d0351cc24 upgrade dev deps 5 years ago
Mike Fix 75d74d9580 next@canary 5 years ago
Tim Neutkens bb9922434c Upgrade to modern mode and granular chunks (#848) 5 years ago
Mike Fix 31747420d1 snippets and account pages 5 years ago
Mike Fix e463b8a842 upgrade minor deps 5 years ago
Mike Fix f504fd9c8c upgrade dev dependencies 5 years ago
Mike Fix 3992791b34 upgrade minor deps 5 years ago
Mike Fix da5c77b0e1 upgrade dependencies 5 years ago
Michael Fix e0ed4bebdc Merge in 4.0.0 (#850)
* merge in 4.0

* dev mode with firebase impl

* useReducer for toasts state
5 years ago
Michael Fix ecaf48b30c
Bundle size (#844)
* just load SketchPicker

* remove colornames package

* load other highlight.js modes lazily

* add bundle analyzer hook

* only load modes once per session

* fix up modes loaded

* fix up
5 years ago
Mike Fix 06d3ee8067 upgrade patch deps 5 years ago
Michael Fix a49647e128
Solidity language (#788)
* WIP: solidity, doesn't work though

* codemirror-solidity 0.1.4
5 years ago
Mike Fix 773c4b4f3e upgrade Next to 9.0.3 5 years ago
Mike Fix d9f1041740 upgrade Codemirror to 5.48.2 5 years ago
Mike Fix 18dab5f6e3 upgrade React 16.9.0 5 years ago
Mike Fix 82dbabb5f2 basic dependencies 5 years ago
Mike Fix da08b673cf upgrade next 5 years ago
Mike Fix 2f02d946ac update dev deps 5 years ago
Tim Neutkens 7fdda47816 Add autoExport (#782)
* Add autoExport

* Upgrade Next.js

* Upgrade Next.js

* export service worker to /public

* fix service worker build - file exported to /public (unwanted)

* next next@canary

* try to fix SW

* try to fix SW

* add back _next routing for now

* try a mix of configs

* Fix service-worker serving

* Remove _next route

* Next 9

* move stuff back into /static

* fix service-worker

* don't use canary next builds

* static/banner.png -> static/brand/banner.png

* remove now-build script
5 years ago
dependabot[bot] 029f7ff501 Bump lodash.template from 4.4.0 to 4.5.0 (#809)
Bumps [lodash.template](https://github.com/lodash/lodash) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.4.0...4.5.0)

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
dependabot[bot] 437670a910 Bump lodash.merge from 4.6.1 to 4.6.2 (#808)
Bumps [lodash.merge](https://github.com/lodash/lodash) from 4.6.1 to 4.6.2.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/commits)

Signed-off-by: dependabot[bot] <support@github.com>
5 years ago
Michael Fix e82e95c093
use eitherx to implement index page boundary (#805) 5 years ago
greenkeeper[bot] 4e3f12c05f Update husky to the latest version 🚀 (#802)
* chore(package): update husky to version 3.0.0

* chore(package): update lockfile yarn.lock
5 years ago
greenkeeper[bot] a7e2399b25 Update lint-staged to the latest version 🚀 (#801)
* chore(package): update lint-staged to version 9.0.0

* chore(package): update lockfile yarn.lock
5 years ago
greenkeeper[bot] 47f45406a8 Update @dawnlabs/tacklebox to the latest version 🚀 (#799)
* fix(package): update @dawnlabs/tacklebox to version 0.0.11

* chore(package): update lockfile yarn.lock
5 years ago
greenkeeper[bot] e4be377552 Update eslint to the latest version 🚀 (#795)
* chore(package): update eslint to version 6.0.0

* upgrade more deps
6 years ago
Mike Fix ab8cd71a80 remove clipboardy (not used directly) 6 years ago
Mike Fix 183dec9a54 try our `now-release` 6 years ago
greenkeeper[bot] 47476c3526 Update axios to the latest version 🚀 (#776)
* fix(package): update axios to version 0.19.0

* chore(package): update lockfile yarn.lock
6 years ago
Mike Fix 7d65448428 upgrade dependencies 6 years ago
Nato Boram b757687802 Add VSCode's theme (#769)
* add vscode theme

* pin Next.js version

* remove highlight only css fetches
6 years ago
Megha Sachdev 75493ee557 Introducing Applitools (#762)
* Applitools (#1)

* Adding applitools

* adding data attributes for testing

* add applitools key
6 years ago
greenkeeper[bot] f62abf6520 Update next-offline to the latest version 🚀 (#760)
* fix(package): update next-offline to version 4.0.0

* chore(package): update lockfile yarn.lock
6 years ago
Michael Fix e733cbe754
Upgrade dependencies (#758)
* upgrade dependencies

* upgrade next-offline and react-codemirror2

* try and fix build by adding react-is
6 years ago
Michael Fix 94b30c3c36
A11y improvements (#755)
* improve screen reading for menu values

* clean up Drop down component

* typo
6 years ago
greenkeeper[bot] f5ab944c25 Update husky to the latest version 🚀 (#744)
* chore(package): update husky to version 2.0.0

* chore(package): update lockfile yarn.lock
6 years ago
greenkeeper[bot] 31569fa164 Update escape-goat to the latest version 🚀 (#735)
* fix(package): update escape-goat to version 2.0.0

* chore(package): update lockfile yarn.lock

* fix naming for escape-goat

* use colornames packages
6 years ago
greenkeeper[bot] 6526d15134 Update match-sorter to the latest version 🚀 (#736)
* fix(package): update match-sorter to version 3.0.0

* chore(package): update lockfile yarn.lock
6 years ago
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
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 72426ec54a add react version to eslint-config 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 53e9e38e19 remove \`history\` package 6 years ago
Mike Fix 6fc3d2b5e1 use react-addons-shallow-compare for comparing state 6 years ago
Michael Fix 0580e1c8e8
Separate API service, deploy frontend statically (#474)
* extract server into separate service

* fix basic tests with url.parse

* use Next withRouter

* remove old custom next rendering
6 years ago
Michael Fix a9b25e05a3
Performance improvements (#458)
* Performance improvements

- Use font-display: swap
- Preload CSS links
- Compress all request payloads

* inline react spinner css

* remove @zeit/next-css, move custom themes to static

* update contributing docs

* spinner styles

* move spinner back to top level

* load codemirror synchronously
6 years ago
Michael Fix 86be3aae35
update spinner for react-codemirror2 (#470) 6 years ago
greenkeeper[bot] 79218d5614 Update puppeteer to the latest version 🚀 (#461)
* fix(package): update puppeteer to version 1.7.0

* remove temporary puppeteer docker fixes, yarn.lock
6 years ago
Michael Fix f018c454bf
Implement PWA functionality (#455)
* implement PWA functionality

* disable tweet button when offline

* just remove tweet button instead
6 years ago
Mike Fix b15fd14b07 revert puppeteer downgrade and install deps instead
- Closes #451
6 years ago
Mike Fix 02d2a9592f Docker puppeteer work around (revert this later)
- Tracked at https://github.com/dawnlabs/carbon/issues/451
6 years ago
greenkeeper[bot] ded4b04349 Update downshift to the latest version 🚀 (#396)
* fix(package): update downshift to version 2.0.0

* Fix for breaking changes
7 years ago
Mike Fix 8c029327a6 Update yarn.lock 7 years ago
Michael Fix 2a52d101e7
Fix spinner position (#398) 7 years ago
Michael Fix 11c911e6b9 React DnD Dependency upgrades (#387)
* Remove old deps

* ReactDnD@4
7 years ago
Mike Fix 7f4afc8317 Fix dependencies 7 years ago
Mike Fix 1095465988 React 16.3 7 years ago
Mike Fix a4f90c30f0 React 16.4 7 years ago
Brian Dennis d885b63b3a add alt text support for Twitter images (#372)
* add alt text support for Twitter images

* move constant declarations up

* Use UNSAFE_cWRP

* remove duplicate TODO (whoops)
7 years ago
greenkeeper[bot] 6368833e16 Update next to the latest version 🚀 (#367)
* fix(package): update next to version 6.0.3

* Fix 'this' in <style jsx> bug

* Better variables
7 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