Mike Fix
0441205217
decode language html correctly
6 years ago
Mike Fix
a16141bdfa
fix default language dropdown
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
Farzad YZ
1747534921
WIP: integration with prettier ( #469 )
...
* add basic format with basic parser
* remove format loading
* change formatCode to be sync
* prettier adjustments
* prettier our code
* move prettify into settings menu
6 years ago
Michael Fix
86be3aae35
update spinner for react-codemirror2 ( #470 )
6 years ago
Michael Fix
2abef908ce
encode text before reading the container width ( #466 )
...
* encode text before reading the container width
* isPNG
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
f8a3499156
safari bug fixes
6 years ago
Vince Speelman
a7159f87c2
feat(save): add "copy" button ( #441 )
...
* feat(save): add "copy" button
add a button to the save menu called "copy", which opens the raw image data in the window so users
can directly copy it for easy pasting into a variety of apps
#49
* feat(save): open in a new window
update the action to open in a new window and rename it to "open"
* simplify open logic
6 years ago
Mike Fix
fd9de34410
fix uri encoding for PNGs
6 years ago
Mike Fix
0525a9fcca
Pull out formatTimestamp into function
6 years ago
erick
d0d3589dc4
Add optional timestamp to saved file names ( #430 )
...
* Add timestamp to file name save
* Add .DS_Store to .gitignore
* Add setting to toggle timestamp on file save
* Tweak timestamp format
6 years ago
Mike Fix
926ba9224f
Fix % encoding issue
7 years ago
Mike Fix
7b9c31101e
Fix replace
7 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
89931eab59
Add linting back ( #349 )
7 years ago
Mike Fix
dd5a996e72
Fix twitter bug
...
- Closes #347
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
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
ce5cc92aa3
Editor refactors ( #336 )
7 years ago
Michael Fix
2276435fef
Fix svg using Blob URLs ( #332 )
7 years ago
Mike Fix
517aca7c8f
Fix user upload bug
7 years ago
Steven Sacks
9e519e2b5f
fix issue #321 - load defaults, then localStorage, then url config ( #322 )
...
* fix issue #321 - load defaults, then localStorage, then url config
* update comment and also do not need current state
7 years ago
Mike Fix
81ad041f37
Fix opacity bug
...
- Closes #317
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
5691236934
Refactor index.js ( #310 )
...
* Move Editor to components
* Separate index and editor a little
* Revert dynamic import of hljs b/c it's critical
* Move query param update to index.js
* Clean up editor further
7 years ago