416 Commits (c70705089ea7bbcbefc894ac7943f72c42e4798b)

Author SHA1 Message Date
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
Mike Fix 0c99209744 sync up package.json version with tags 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 0d2f2f4444
Code split and load prettier dynamically (#471)
* code split and load prettier dynamically;

* move prettier to dependencies
6 years ago
Mike Fix 4f7938d931 Run prettier 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
Michael Fix 936d28d5d0
Move to now.json so GitHub integration kicks in (#414) 7 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
greenkeeper[bot] f86ef541cc chore(package): update eslint to version 5.0.0 (#407) 7 years ago
greenkeeper[bot] df73cd450f fix(package): update react-dnd-html5-backend to version 5.0.0 (#400) 7 years ago
greenkeeper[bot] e3b9802a8f fix(package): update dropperx to version 0.2.1 (#401) 7 years ago
greenkeeper[bot] bda1c858be fix(package): update react-dnd to version 5.0.0 (#399) 7 years ago
greenkeeper[bot] 3351623e86 chore(package): update all-contributors-cli to version 5.0.0 (#392) 7 years ago
Mike Fix 87fd129f3b Add graphql to greenkeeper ignore list 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
greenkeeper[bot] 1149830b4f fix(package): update react-dnd to version 3.0.1 (#382) 7 years ago
greenkeeper[bot] b19b7bb45a fix(package): update react-dnd-html5-backend to version 3.0.1 (#381) 7 years ago
greenkeeper[bot] c428152be2 chore(package): update cypress to version 3.0.0 (#383) 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] 3e2624727b fix(package): update react-image-crop to version 4.0.0 (#373) 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
Mike Fix 51c765e32d Revert "fix(package): update next to version 6.0.1 (#364)"
This reverts commit 6744f1087e.
7 years ago
greenkeeper[bot] 6744f1087e fix(package): update next to version 6.0.1 (#364) 7 years ago
greenkeeper[bot] 5f22fb0830 chore(package): update @zeit/next-css to version 0.2.0 (#363) 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
greenkeeper[bot] f44f944d3a fix(package): update react-codemirror2 to version 5.0.0 (#345) 7 years ago
Mike Fix 4097e7978c Fix cypress tests 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
Raphael Amorim 7f40e9b469 [WIP] add lucario as theme option and update contributors (#292)
* add lucario as theme option and update contributors

* undo miss change

* update codemirror to latest
7 years ago
briandennis 54d81a6bde add secret prefix to logs identifier 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
Bruno C. Couto 83d30234a3 Add support to keyboard navigation in Dropdowns
The user can navigate through the Themes and Languages selects using the
keyboard arrow down and up keys.
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
Mike Fix d859523d58 2.0.0 7 years ago
Michael Fix 2ab2ca843e
Bump Next to 4.2.3 (#176) 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
Michael Fix ed9993170f
GraphQL Type (#164) 7 years ago
Mike Fix 17cd24bc40 Add now dev dep 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
Michael Fix 508afdfbb4
Implement drag-n-drop image for backgrounds (#157)
- Closes #122
7 years ago
Michael Fix b6be5344bf
Auto deploy (#159)
* Auto-deploy + Slack message

- Ignore WIP

* Only run for PRs
7 years ago
Mike Fix 28577aaf64 Font fixes 7 years ago
Michael Fix ac28311429
Collapsible "Advanced" settings (#148)
* Collapsible "Advanced" settings

* Address comments

* Just center Advanced
7 years ago
Mike Fix 02efeee8b1 Bump deps 7 years ago
Michael Fix 14bd5358e0
Bump dependencies (#138)
* Bump dependencies

* Remove -l
7 years ago
Mike Fix 45cef2b734 v1.0.1 7 years ago
Michael Fix bdc9211d25 Fix state bugs, fix drag-n-drop bugs, fix url encoding bugs (#126)
* react-codemirror to react-codemirror2@3

* Fix encoding queryParam issues

* Fix gist support
7 years ago
Jake Dexheimer b4e5459432 Update dependencies (#124)
* Upgrade react, react-dom, react-color, next

* Use dynamic styles in Carbon.js

* Fix react-color alpha issues
7 years ago
Michael Fix 63f43dcc40 Save and update query params based on editor state (#111)
* Save and update query params based on editor state

* Fix typo and asPath bug with new queryParams
7 years ago
Kunall Banerjee 4bc3353399 Add a build script to add contributors to the README (#100)
* initial work on the script

* use `all-contributor-cli`

* remove `contributors.js`

* add all-contributors `add` and `generate` build scripts

* Update README with all-contributors

* Remove got
7 years ago
Stosh Fabricius 9be9ef1ac5 Add Elixir to available languages (#61)
* Add Elixir mode to available languages

* Update module to mode
7 years ago
Michael Fix 0c365218d6 Load and store state from localStorage (#80)
* Load and store state from localStorage

* remove idea of localStorage from get and set state fns
7 years ago
Mike Fix 598ca88b98 React-codemirror -> react-codemirror2
- Closes #64
7 years ago
enguerrand des Vaux 836e66c975 prettier on precommit 7 years ago
Kunall Banerjee 188334db6d add `cross-env` as a dev dependency 7 years ago
Andrew Dassonville 13073fccac Make file list less complex 7 years ago
Andrew Dassonville 7e69ca2897 Add prettier 7 years ago
Mike Fix 0e6543367e Fix author and add 'webpack' devDependency 7 years ago
Mike Fix a6911714b0 Fix description 7 years ago
Mike Fix 05a19ca0e8 Add repository info to package.json
- Closes #36
7 years ago
Lionel T 6dfb5a4568 Use production build of React
Switch the temp strategy in `next.config.js` to use the production version of React
7 years ago
Mike Fix d270bcf397 Depend on dropperx 7 years ago
Mike Fix a5f42043d3 Debounce twitter calls to 5 seconds 7 years ago
Brian Dennis db73c56eca Add notification of Twitter rate limiting (#13)
* add rate limiting detection to handler

* alert user on rate limit error

* Update api.js

* Add morphmorph dep
7 years ago
Mike Fix 338e1553f9 Make build work 7 years ago
Mike Fix 33189e2f93 Add deploy script 7 years ago
Mike Fix 3ca3e254b2 Fix language inconsistancies
- Depend on toHash
- Move auto out of languages export
7 years ago
Mike Fix 73f3d70296 Merge branch 'master' into twitter 7 years ago
Mike Fix 1cf0757324 Slight updates 7 years ago
briandennis ca9965200d update dependencies 7 years ago
Mike Fix 0f9c395783 Get production gist rendering bug 7 years ago
Mike Fix 03cc2f8270 Rollback codemirror version 7 years ago
briandennis d303751608 add twitter client dependency 7 years ago
briandennis 88edd12827 fix jank on editor load with spinner 8 years ago
Mike Fix 1a911ce776 Merge branch 'toolbar' 8 years ago
briandennis b863eb0427 get editor working 8 years ago
Jake Dexheimer 3e0f6483ea Merge branch 'toolbar' of https://github.com/dawnlabs/code-image into toolbar 8 years ago
Mike Fix 900bbcb75d Add click outside 8 years ago
Jake Dexheimer 21c3f181e6 Add color picker 8 years ago
briandennis 5ec1219f87 resolve conflicts 8 years ago
Mike Fix 1399994eb6 Add drag and drop support 8 years ago
Mike Fix b16b0d6d78 Add Gist support 8 years ago
briandennis 4914df7531 init 8 years ago