236 Commits (4634ce24634d87da32947fa2ff0a40d35799183e)

Author SHA1 Message Date
Rachel M. Carmena a0b1c29727 Adding a note into About page for making images accessible at Twitter (#476)
* Adding a note into About page for making images accessible at Twitter

* Formatting the page

* update spacing
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
Mike Fix d0b02d53a5 Reuse escapeHtml 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
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 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
Michael Fix 4ee19793dc
Fix Issue #137 (#306)
- Closes #137
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
Michael Fix 083a0e8441
Fix download length overflow issue (#300)
* Fix download length overflow issue

* Fix up API

* Clean up
7 years ago
Michael Fix a6324586eb Performance improvements (#287)
* Perf improvements. Limit rerender on keystrokes

* Spread settings props, make dropdowns and carbon pure

* Remove last TODO

* Pass state into value of titleBar input

* Clean up
7 years ago
briandennis 71879a78d3 encode nbsp in svg for safari 7 years ago
briandennis fe1df904ea pass encode state to api instead of url 7 years ago
briandennis f08fe25105 add /image api endpoint, use it to get carbon image if on safari 7 years ago
briandennis 57dddd0b19 add /image api endpoint, use it to get carbon image if on safari 7 years ago
Mike Fix 1b5ed6a60c Fix CMD+A backspace issue
- Closes #272
7 years ago
Jake Dexheimer c90099f72a Merge remote-tracking branch 'origin/master' into HEAD 7 years ago
Jake Dexheimer e8bb4ac0e0 Add button dropdown 7 years ago
Jake Dexheimer 4c86468e50 Rename ResolutionSelect 7 years ago
Takahiko Inayama b7adab9bea Support variable export sizes (#264) 7 years ago
Mark Molnar b1ef2d1263 Feature: Window Title (#257)
* Added title bar

* Added state for title bar
7 years ago
Mark Molnar d044beb977 Feature: Squared Image (#250)
* Added squared images feature

* Moved 'Squared image' to advanced dropdown
7 years ago
briandennis 11aebe9add set language to auto on file drop 7 years ago
Mike Fix de81033262 Bump next.js, add _document 7 years ago
briandennis d62145f727 modify default settings constant, use new constant when setting initial settings 7 years ago
Dillon Mulroy 77464f6845 Remove console log 7 years ago
Dillon Mulroy 6fa28a0062 Add reset option in advanced options + all contributors addition. 7 years ago
Dillon Mulroy 7f026d79b9 Initial Proof of concept 7 years ago
Dillon Mulroy 7a2b778204 Initial Proof of concept 7 years ago
Mike Fix 4e15b66001 Add save as dropdown (needs reconfiguring + style) 7 years ago
Mike Fix 5abef2b4c3 Intial format request refactor 7 years ago
Michael Fix 3d4ba85732
Sanitize color inputs (#196)
* Sanitize color inputs

* Remove unneeded dep

* Move to constants

* Case insensative
7 years ago
martinfrancois 9e44a41762 added possibility of saving as an svg file 7 years ago
Mike Fix b44ecff6ea XSS 7 years ago
Mike Fix a998ccf139 WIP XSS 7 years ago
Mike Fix cf72b87f08 Lowercase too 7 years ago
Mike Fix 5b894546e0 Remove <scripts>
- Closes #192
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 dcac30a7a2
Add image dnd description to /about (#166)
* Add image dnd description to /about

* Update about.js
7 years ago
Michael Fix 508afdfbb4
Implement drag-n-drop image for backgrounds (#157)
- Closes #122
7 years ago
Jake Dexheimer 38cc0f91af Font support (#149)
* Add font family/font size support

* Load fonts with css

* Change settings item order
7 years ago
Rafael Câmara a4cfaab3a7 Adding drop shadow offset-y and blur-radius menu option (#143)
* Adding drop shadow offset-y and blur-radius menu option

* Fixing @jakedex concerns

* Fixing drop-shadow blur-radius label to fit the pattern
7 years ago
Jake Dexheimer 5ecb19c6b6 Fix export alpha padding issue 7 years ago
Mike Fix 9ce3558a44 Fix typescript vs js naming descrepancy
- Closes #139
7 years ago
Mike Fix 497188aa1a > -> >= for query length 7 years ago
briandennis 2eee0078e7 fix background rendering 7 years ago
Mike Fix 8dec652c2a Fix URL bugs 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 f13b394ebd Fix default theme 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
Mat Gadd 95c8413c83 Only list themes that have a name in the dropdown 7 years ago
Mike Fix 1277a11143 Fix asPath length bug 7 years ago
Jake Dexheimer 96ac36baf5 Fix component state issues 7 years ago
Neto Guimarães e51628ce8d adding support to 'line numbers' settings (#116)
* adding support to 'line numbers' settings

* Update Settings.js
7 years ago
Jake Dexheimer 9d69d2392b Add alpha support, sketch color picker 7 years ago
Jake Dexheimer ee0feeb527 Twitter colorpicker -> Sketch colorpicker 7 years ago
Patryk Jóźwiak ede83bf424 Add width adjustment. (#91) 7 years ago
Peng Jie 3985e35b52 Use spread operator (#95)
* Use spread operator replace Object.assign()

* Fix tag name
7 years ago
Andrew Dassonville 38c8effd0b Fix failing CI (#94) 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
enguerrand des Vaux 56b8133fcb Run prettier 7 years ago
Jake Dexheimer 7bfa2ef621 Add support for more clike languages 7 years ago
Andrew f3b80b1783 Use mode instead of module 7 years ago
Andrew 3cbcb49c27 Remove semicolons 7 years ago
Andrew Dassonville 7e69ca2897 Add prettier 7 years ago
briandennis 0004f25fea append download link to DOM before downloading 7 years ago
briandennis 3df297f037 update file name on save 7 years ago
Jake Dexheimer d6b4db144a Default theme 7 years ago
Jake Dexheimer bb9efd6e38 Fix double select, buttons align 7 years ago
Mike Fix d270bcf397 Depend on dropperx 7 years ago
Mike Fix 932f0ae225 Ignore gist endpoints less than 30 characters 7 years ago
Mike Fix 5b7d7833fc Refactor onDrop 7 years ago
Mike Fix 05a6905d68 Add more emoji 7 years ago
Mike Fix 131640245c Prepare to separate DND to a separate module 7 years ago
Mike Fix fd0fa897c4 Remove Gist call when favicon is requested for 7 years ago
briandennis f71506ffbd move debounce to api 7 years ago
Mike Fix a5f42043d3 Debounce twitter calls to 5 seconds 7 years ago
Mike Fix 36800e763c Make toolbar just be a aesthetic component 7 years ago
Mike Fix ed87bfb7f8 Merge branch 'master' into dnd-overlay 7 years ago
Mike Fix 1305a748ad Compound compononents work 7 years ago
Mike Fix 3ca3e254b2 Fix language inconsistancies
- Depend on toHash
- Move auto out of languages export
7 years ago
briandennis 1380bcddb6 make dragged files, gist work again and be editable 7 years ago
briandennis d8f2735437 fix render bug 7 years ago
Michael Fix 52fcb7e86b Merge pull request #10 from dawnlabs/language
Make language highlighting dynamic and handle auto selection
7 years ago
Jake Dexheimer d819727285 add file drop overlay 7 years ago
Jake Dexheimer 60c92fe07f make carbon the file drop target 7 years ago
Jake Dexheimer 45bb7efbfb Change "Drag a file" copy 7 years ago
Mike Fix 646d8919c5 Clean up old code 7 years ago
Mike Fix 1cf0757324 Slight updates 7 years ago
briandennis fd38138dae update pages/components to handle new tweet functionality 7 years ago
briandennis dd9ba60d70 set languge when changed from toolbar 7 years ago
Jake Dexheimer 81f0ce2e53 Fix image resolution 7 years ago
Jake Dexheimer bf374f1728 Clean up styles
- Move globals out of Meta component
- Create style components for Reset and TypeSystem
7 years ago
Jake Dexheimer 5aa85443dc Add new logo, colors 7 years ago
Jake Dexheimer ad43cd7d32 Add link styles 7 years ago
Jake Dexheimer b60afeaa7e Update /about copy 7 years ago
Jake Dexheimer e11c7bede2 Minor changes 7 years ago
Jake Dexheimer 741451271d Better defaults 7 years ago
Jake Dexheimer 96dff6d8fe Style /about page 7 years ago
Jake Dexheimer d6dfe3f446 Add hero text toggle 7 years ago
Jake Dexheimer 7687ccd05d Refactor into Page component 7 years ago
Jake Dexheimer 9b1187a9ae Better theme defaults 7 years ago
Jake Dexheimer 1bba205853 Wire-up window theme functionality 7 years ago
Jake Dexheimer 85b193e1f1 Make pretty 👻 7 years ago
Mike Fix cb3a9093b3 Move Header and Footer into separate files 7 years ago
Mike Fix 7dac7ae15c Add dnd container (doesn't render?). Make top level settings single source of truth 7 years ago
Jake Dexheimer 8272d81753 Merge branch 'master' into toolbar 7 years ago
Jake Dexheimer 8886fed9ba Minor style changes 8 years ago
Jake Dexheimer 1df36b5603 Wire up windowControls, dropShadow toggles 8 years ago
Jake Dexheimer 6343dc5a15 Start hooking up Settings state 8 years ago
Jake Dexheimer 2729531ad6 Start global color palette 8 years ago
Jake Dexheimer 95ae960536 Fix Brian's borks 🙃 8 years ago
briandennis 818e2d45d3 switch imgur link to path that has twitter card 8 years ago
Jake Dexheimer 459ede6765 Merge branch 'master' into toolbar 8 years ago
Jake Dexheimer 0c872f69fc CSS display fixes 8 years ago
Jake Dexheimer 6befb747db Merge branch 'master' into toolbar 8 years ago
Mike Fix 6e57d06d13 Use png 8 years ago
Mike Fix 676fb594a4 Dont make gist request if at / 8 years ago
Mike Fix c61f2184a9 Rename components 8 years ago
briandennis eb75ecd320 add dynamic styles, fix window control 8 years ago
Mike Fix 9001198ad5 Pass config into codeimage; 8 years ago
Mike Fix d7bf3be820 pass config object 8 years ago
Jake Dexheimer 5a4a1ea33c Add logo, index page styles 8 years ago
Mike Fix 1a911ce776 Merge branch 'toolbar' 8 years ago
Jake Dexheimer c501fa72ee Toolbar styles 8 years ago
briandennis b863eb0427 get editor working 8 years ago
Mike Fix dcc6317a7e Closes 8 years ago
Mike Fix 01e8b46966 Hook up imgur 8 years ago
Mike Fix bb17e1ddbd Pass background theme color from index 8 years ago
Mike Fix ce6b20fc4e Add save image to toolbar callback 8 years ago
Jake Dexheimer d6da4c7e70 Home -> Index, styles 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