30 Commits (15710e8ab6cc57233225c10e675222aeb7c42c5f)

Author SHA1 Message Date
Mike Fix 15710e8ab6 debounce carbon duplication 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 552a9c99be
Store Unsplash background image not dataturl (#836)
* store background image, not background selection in presets

* move localStorage into save utils

* curry omit util fn

* clean up manual image upload by URL

* refactor image changes

* separate uploadImage from selectImage

* upgrade visual regression testing tests

* add TODOs
5 years ago
Michael Fix 4ec70a2bf6
Repository changes from org change (#840)
* dawnlabs -> carbon-app

* update READMEs

* remove logo from translated readmes

* change project link

* update license

* remove case study link from translated READMEs
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
Mike Fix 9621e4b64a allow console.error in eslint 6 years ago
Sean d4d0ef9949 update gist handling (#715)
* update gist handling

* address comments

* clean up a bit

* getRouteState(router)

* move try/catch into getGist

* updateQueryString -> updateRouteState

* clean up more

* add cypress tests

* delete comments

* remove wait
6 years ago
Michael Fix 9077260a3e
Read config from gist (optional) (#692)
* read config from gist

* Update api.js
6 years ago
Michael Fix 223bccd6b1
read all api calls from context (#691) 6 years ago
Mike Fix f653d73ccd make config simpler 6 years ago
Mike Fix 3115b3cc28 fix debounce for tweet and image api calls 6 years ago
Mike Fix b13125dd1d add export size and square image support to safari 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 2a52d101e7
Fix spinner position (#398) 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
Michael Fix 80cf355b44
Use gist language response (#343)
* Use gist language response

* Use gist language response - fix when no queryparams are given (#344)

* fix when no queryparams are given
e.g. http://carbon.now.sh/3208813b324d82a9ebd197e4b1c3bae8 would still not set the language property because the initialState is null

* move gist language to its own test

* Update test
7 years ago
Michael Fix 5a4cdd7d7f
Lint and fix issues, don't add linting yet though (#293)
* Lint and fix issue, don't add linting yet though

* Clean up

* Remove /about href
7 years ago
briandennis fe1df904ea pass encode state to api instead of url 7 years ago
briandennis 57dddd0b19 add /image api endpoint, use it to get carbon image if on safari 7 years ago
Mike Fix 8dec652c2a Fix URL bugs 7 years ago
Andrew 3cbcb49c27 Remove semicolons 7 years ago
Andrew Dassonville 7e69ca2897 Add prettier 7 years ago
briandennis f71506ffbd move debounce to api 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 646d8919c5 Clean up old code 7 years ago
Mike Fix 1cf0757324 Slight updates 7 years ago
briandennis 3a60e4622f add tweet api function 7 years ago
Mike Fix 01e8b46966 Hook up imgur 8 years ago
Mike Fix b16b0d6d78 Add Gist support 8 years ago
briandennis 820cd3b13a move api to lib 8 years ago