29 Commits (e879efc247775a0ce3b7c26cc7a61cd70b237977)

Author SHA1 Message Date
Michael Fix a507b07dc3
Test Next public env vars (#1006)
* test next public env vars

* make next.config.js smaller
5 years ago
Michael Fix e7066acc16
upgrade next offline to v5 (#986) 5 years ago
Michael Fix ae9b4445f1
run prettier with new config (#983)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Mike Fix ea46cec4e9
remove TODO that must be includes now 5 years ago
Michael Fix 18387ddc26
Attempt to fix ms edge (#932)
* attempt to fix ms edge

* update TODO
5 years ago
Mike Fix 4b832c6dad
turn off experimental flags 5 years ago
Michael Fix 3abed8be72 Old TODOs / PWA work (#866)
* old TODOs

* fix up old next-offline TODO

* undo changes

* add apple touch icon
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
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
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
6 years ago
Michael Fix 9ddb821fa4
only register service-work for editor (#710) 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 f653d73ccd make config simpler 6 years ago
Mike Fix 5cecbc912f simplify next.config.js 6 years ago
Mike Fix 9a86e7e7c4 prepare 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 23e5524d2a remove next-offline for now 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 f018c454bf
Implement PWA functionality (#455)
* implement PWA functionality

* disable tweet button when offline

* just remove tweet button instead
6 years ago
Michael Fix 7d95eb44b4
Improve Perf 1 (#282)
* Inline stylesheets

* Minify CSS

* Use Next CSS imports instead
7 years ago
Mike Fix 33a7e31b66 Bump to Next@5, remove unneeded config 7 years ago
Jake Dexheimer 5d6be94379 Fix compiling time (#97) 7 years ago
Andrew Dassonville 13073fccac Make file list less complex 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 338e1553f9 Make build work 7 years ago