91 Commits (59b77c7b2f94921b284c54ece07132fc7d0a6a8c)

Author SHA1 Message Date
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
6 years ago
Mike Fix 8c029327a6 Update yarn.lock 6 years ago
Michael Fix 2a52d101e7
Fix spinner position (#398) 6 years ago
Michael Fix 11c911e6b9 React DnD Dependency upgrades (#387)
* Remove old deps

* ReactDnD@4
6 years ago
Mike Fix 7f4afc8317 Fix dependencies 6 years ago
Mike Fix 1095465988 React 16.3 6 years ago
Mike Fix a4f90c30f0 React 16.4 6 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)
6 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
Mike Fix b9c91c5e48 Keep react at 16.2 for now 7 years ago
greenkeeper[bot] c10595ede9 Update dependencies to enable Greenkeeper 🌴 (#340)
* chore(package): update dependencies

* docs(readme): add Greenkeeper badge

* Update README.md

* Add yarn.lock, keep webpack stable
7 years ago
Jake Dexheimer cf1e92b8cb Use Unsplash API (#301)
* Add unsplash-js, isomorphic-fetch

* /unsplash route/handling

* RandomImage use unsplash api

* Implement Photographer accredidation

* Add referral link

* Fetch photographer profile_url from unsplash api

* Change credit copy

* Add PhotoCredit component
7 years ago
Michael Fix b6db0fe3e4
Bump Next dependency (#299)
'- https://zeit.co/blog/next5-1
7 years ago
briandennis 89a912be26 add now-logs to package.json 7 years ago
briandennis 57dddd0b19 add /image api endpoint, use it to get carbon image if on safari 7 years ago
Michael Fix 7d95eb44b4
Improve Perf 1 (#282)
* Inline stylesheets

* Minify CSS

* Use Next CSS imports instead
7 years ago
Michael Fix d77ff14e05
Implement typeable dropdowns (#283)
* Implement typeable dropdowns

- Closes #276

* Fix up and down arrows

* Use instance variables for state and user input

* Bug fixes

* Pass getButtonProps
7 years ago
Mike Fix 69d00e955d Fix peer-dependencies 7 years ago
Mike Fix 33a7e31b66 Bump to Next@5, remove unneeded config 7 years ago
briandennis c64e5a82be update lockfile 7 years ago
Mike Fix 6d2aae4b89 Revert Next@5 for now 7 years ago
Mike Fix de81033262 Bump next.js, add _document 7 years ago