365 Commits (9641f3c6fecbbeeec298bc3e7b66906dcd3efdf6)

Author SHA1 Message Date
Jake Dexheimer 479e3b7bbf minor aesthetic tweaks 6 years ago
Sean eb8341b5bc add setting options back (#589)
* add setting options back

* fix height
6 years ago
Sean 070b7f8aaf New settings menu (#588)
* New settings menu

* remove showPresets

* clean

* use React.memo for pure function components
6 years ago
Mike Fix bb36e0062b fix tab characters in SVG
- closes #586
6 years ago
Sean 38665cc34d Dropdown updates (#585)
* Add dropdown icons

* remove cursor pointer from icons
6 years ago
Mike Fix 9b5b96cd58 remove unneeded sCU 6 years ago
Mike Fix 17c8036b34 tweak 6 years ago
Mike Fix 7772108f01 remove button option for dropdown 6 years ago
Sean 02debae7e2 increase button click area (#584) 6 years ago
Mike Fix 8087f0222f show network error in in imagepicker 6 years ago
Michael Fix 5badd2fbbb
remove timestamp (#583)
Clean up
6 years ago
Michael Fix 737cb979ae
implement background url support (#579)
* implement background url support

- Closes #490

* fix lint

* WIP: move input into background picker

* fix cors issue

* keep background select as is

* update UI to select between URL and file

* fetch https url instead of http
6 years ago
Sean 68d90364b0 New export menu (#582)
* New export menu

* Fix lint errors
6 years ago
Sean 32e09c9e25 Increase dropdown border width (#581) 6 years ago
Sean 3248f82298
New checkmark icon (#580) 6 years ago
Michael Fix f4f23541ea
Create dark watermark (#577)
- Closes #575
6 years ago
Mike Fix 3b67c0a846 undo map even if conversion fails 6 years ago
Mike Fix 61ca421789 create Map of changes and undo them
- Closes #564
6 years ago
Mike Fix f184e711c1 fix encoding issue for plain text
- Closes #569
- Opens #564
6 years ago
Michael Fix 246a2f648f
fix(Editor): use cloned element for calculating width (#568)
- Closes #564
6 years ago
Michael Fix 6ab33153a8
Ability to name file downloads (#562)
* Ability to name file downloads

- Closes #561

* fix codemirror-graphql
6 years ago
Michael Fix 386b4a5bf5
Refactor list settings (#553)
* refactor list setting components

* remove mention of font
6 years ago
Mike Fix 01023bb1ad enable react in scope lint rule 6 years ago
Mike Fix 44356be373 make BackgroundSelect extend Component not Pure w/ custom update 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
Mike Fix 1067ab3429 Exports 6 years ago
zhao.zhang 2b6a91dfee feat: add atom one-light theme (#499) 6 years ago
Mike Fix 6babce42a9 make page a React components 6 years ago
Mike Fix deb0638e18 add TODO for theme specific styles 6 years ago
Mike Fix f79da0f7f0 fix solarized line numbers styling
- Closes #495
6 years ago
Mike Fix 7bab61ee81 Merge branch 'refactor-stylesheets' 6 years ago
Mike Fix 7c567412dc pull out getRef 6 years ago
Mike Fix 4321c3455f add aria labels 6 years ago
Mike Fix 1451ee2582 remove extra solarized link 6 years ago
Mike Fix 0b366d18f7 refactor stylesheets abstraction 6 years ago
Mike Fix 68469a4dbb rect needs ids 6 years ago
Michael Fix bd695b7fd1
convert ids to classNames, use refs (#488) 6 years ago
Mike Fix e8f72be402 lint 6 years ago
Mike Fix dbbbb2f33f fix Carbon <title> 6 years ago
Mike Fix 9a86e7e7c4 prepare 6 years ago
Mike Fix 8e13d2d05c allow editing in embeds 6 years ago
Mike Fix 25fa1eec6e update copy button text 6 years ago
Mike Fix 004ac6c902 hide cursor 6 years ago
Mike Fix 92a80429f3 move manifest to all pages 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 1d85149a97 fix api.image call logic 6 years ago
Michael Fix fa983f6fbe
Make carbon a stateless component, move highlight.js calc into render (#479)
* make carbon a stateless component, move highlight.js calc into render

* remove unneeded class function

* inline handleLanguageChange
6 years ago
Michael Fix 09fa737ca1
move localStorage.clear() to prop of Editor (#484) 6 years ago
Mike Fix 6fc3d2b5e1 use react-addons-shallow-compare for comparing state 6 years ago
Tim Neutkens 2e945fc528 Don't use custom history API (#485)
* Add shallowEquals check for onUpdate

* Using Next.js Router instead of custom history API

Fixes https://github.com/zeit/next.js/issues/4994

* Remove urlObject code
6 years ago
Mike Fix d41f05d9c1 update comment 6 years ago
Mike Fix d70c8f0c2a upgrade codemirror CDN links to 5.39.2 (patch) 6 years ago
Mike Fix 5b80d2a7bf add comment about <link rel='preload'> 6 years ago
Mike Fix b19bbf26ae Fix preload for Firefox 6 years ago
Mike Fix ded88c2e40 remove unused aria 'role' 6 years ago
Mike Fix d8f24bda48 add viewport meta tag 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 584a866bc1 fix comment 6 years ago
Michael Fix d3462bb961
Make `api` a prop of Editor (#480) 6 years ago
Michael Fix c22a8e2a0d
Remove gDSFP in Carbon (#477)
* remove gDSFP in Carbon

* add comment
6 years ago
Mike Fix b665dfc5f4 fix pathname issues when using next export 6 years ago
Mike Fix 20f9b5aa82 decoding from local storage bug fix 6 years ago
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
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
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
Jake Dexheimer b7c8466711 fix mobile overflow issue (#468) 6 years ago
Yashu Mittal 22f2ea673e Space mono normal font (#462)
* Arranging in alphabetical order

* Add Space Mono (normal) font

* Added myself as contributor
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 95f0a27111 Begin responsiveness overhaul (#457)
Closes #435
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
Maxim Gerasimov e92e4567de Add Nord theme (#426)
* Add Nord theme

* Add descendant selector in nord.css
6 years ago
Shiranka Miskin 345480e98c Fix crash on dropdown arrowkey movement (#423)
Fixes #420 where the application crashes after selecting a dropdown item
and then pressing the up or down arrow keys.
6 years ago
Winner Crespo 452370772f Adding VS Code's Night Owl theme (#379) 6 years ago
Jake Archibald c4e224df29 Adding line-height setting & granular font size. (#410)
* Adding line-height option. Fixes #406.

* Allowing more granular font size
6 years ago
Mike Fix 926ba9224f Fix % encoding issue 7 years ago
Mike Fix 7b9c31101e Fix replace &nbsp; 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
Michael Fix 2a52d101e7
Fix spinner position (#398) 7 years ago
Michael Fix a81107d723 Remove UNSAFE lifecycle methods (#377)
* Remove UNSAFE lifecycle methods

* Fix gDSFP issue

* Extract onBeforeChange

* Remove this from getDerivedStateFromProps
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] 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
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
Mike Fix e02d5e1ddf Add TODOs when upgrading to React@16.3 7 years ago
Vernon de Goede f8579bac73 Add support for Verminal theme 💅 (#341)
* Add verminal theme.

* Only decrease opacity if vibrancy is supported.

* Use Framer Syntax.

* Reset constants.

* Don't prefill example env variables.
7 years ago
Michael Fix ce5cc92aa3
Editor refactors (#336) 7 years ago
Michael Fix 2276435fef
Fix svg using Blob URLs (#332) 7 years ago