418 Commits (4d2b212f69bd05b059fdf0d7b0ab7b64d88926ea)

Author SHA1 Message Date
Mike Fix 35ed5ae1e7 replace copy button with tacklebox's 6 years ago
raboid 40ba1e0f9e update meta 6 years ago
Mike Fix 7b20d8744a regex tweak 6 years ago
Mike Fix b7bc227522 clean up <Carbon/> - remove resize-observer 6 years ago
Mike Fix 7fe3f3415f Use new version of dropperx 6 years ago
Sean a89c320757 move and fix theme specific css (#649) 6 years ago
Michael Fix c842f34ef8
remove react-dnd dependencies + use react-dropzone instead (#648) 6 years ago
Mike Fix cacb93e09f fix issue #647
- Closes #647
6 years ago
raboid 5b6c760424 add missing theme css 6 years ago
Mike Fix f645791377 close drop down no matter how create theme menu is selected 6 years ago
Mike Fix 7f7e38dbc8 fix div button styles 6 years ago
Michael Fix 80122adea6
Use dynamic import components (#642)
* use dynamic import components

 - react-color components
 - Watermark

* Dynamically import modes

* revert next.config.js

* update language filter
6 years ago
Mike Fix de9574ef7c Accessability improvements 6 years ago
Sean a1e05af5c0 Custom themes (#632)
* Custom themes

* Fix theme selection

* fixes and add more theme highlights

* Fix remove bug

* change create button hoverBackground

* change id format

* fixes

* remove default highlights, style tweaks

* move consturctor to componentDidMount, create constants

* simplify color picker style api'

* replace notAllowed with disabled

* remove itemWrapperProps from Dropdown

* create itemWrapper class prop

* remove onClose from Dropdown

* fix ColorPicker and font sizes

* increase specificity of selector
6 years ago
Mike Fix f45d133d3c remove verifyPayloadSize from util 6 years ago
Mike Fix dbde17a65f reduce imports and exports 6 years ago
raboid 3aec3ebc28 Conditionally disable PNG export for Safari 6 years ago
Mike Fix 794a50d3f3 fix # issues for SVGs
Closes #640
6 years ago
Mike Fix 7896e96213 show presets by default 6 years ago
Mike Fix 642749a701 use escape-goat 6 years ago
Mike Fix cc45569b6c remove old mounted state from BackgroundSelect 6 years ago
Mike Fix cc593a7968 allow id's in <Button /> 6 years ago
Mike Fix 4d91c5d4c9 add ids back again 6 years ago
Mike Fix 469890df68 add pop id prop to fix integration tests 6 years ago
raboid 9d37f9bf99 use HOC for popout state, remove react-addons-shallow-compare 6 years ago
raboid 64cccc1d90 Move Presets into separate file 6 years ago
raboid fdaa990ab2 Remove title prop from Button 6 years ago
raboid bf26e34f06 Update Editor to use Button 6 years ago
raboid ee6f8ffdc2 Update ListSetting to use util/toggle 6 years ago
raboid e5b3d39d4e Update ExportMenu to use Popout, Button, Input 6 years ago
raboid 0c22633853 Update ImagePicker to use Input 6 years ago
raboid f51ab29cd1 Create Input component 6 years ago
raboid 6da617b553 Update Settings to use Popout & Button 6 years ago
raboid 7a5145135c Update Button component 6 years ago
raboid 583e4ece73 Update BackgroundSelect to use Popout & ColorPicker 6 years ago
raboid e073dec0cd Create ColorPicker component 6 years ago
raboid 36178adc07 Create Popout component 6 years ago
Mike Fix b12c3f802c lint and prettier 6 years ago
Mike Fix 428b4bd400 upgrade CodeMirror 6 years ago
Jake Dexheimer 231bd39169 minor ux fixes 6 years ago
Sean 5206dc4ef1 Reduce updates caused by typing (#604)
* prevent index page from updating

* implement shouldComponentUpdate for ExportMenu

* replace componentDidUpdate with updateState in Editor

* replace shallowCompare with React.memo

* add flex-basis to prevent jank
6 years ago
Jake Dexheimer 0aa1d7404f minor design improvements 6 years ago
Jake Dexheimer 4571b03eb4 clean up menu controls position, about page 6 years ago
Mike Fix b5a1052b40 remove unused utils, move specific utils into component files 6 years ago
Sean Rabaut cd81f056ca Fix menu button alignment in Firefox 6 years ago
Sean 0934186ce9 Fix setting menu movement (#602) 6 years ago
Sean f6f0adee6b Add preset feature (#595)
* Add preset feature without create

* fix lint errors

* Add presets to Editor state

* add remove, update -> apply, omit presets

* replace name with index, add undo functionality

* fix reduce function

* Tweaks:

- Make remove filter setState atomic
- Remove broken sCU in BackgroundSelect
- Touch up style of arrow functions a little
- Remove titleBar from default settings
- Don't expose SETTINGS_KEYS
- Use hasOwnProperty instead of includes()

* refactor preset state into Settings

* move format code into editor and make it work again

* omit custom in applyPreset

* move presets array state into Settings

* keep custom sCU in BackgroundSelect

* pull out inline objects

* revert pages/index

* increase Presets font-size, remove margin-top

* Add ability to create presets

* also enable passing exportSize as prop

* move selectedPreset back into Settings (my bad Sean)

* replace splice with filter, getSavedX -> getX

* Revert "move selectedPreset back into Settings (my bad Sean)"

This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4.

* make sure background updates remove selected preset

* selectedPreset -> preset

* use onChange instead of selectPreset

* use preset id's instead of indexes

* bug fixes

* use disabled instead of pointer-events

* make .settings-presets-applied flex 💪

* make .settings-presets-arrow flex 💪

* move getPresets outside of `setState`

* move inline styles to style tag

* refactor using omitBy and isFunction

* remove lodash.isfunction

* fix applyPreset to disclude preset field

* move omit to getSettingsFromProps

* replace lodash.omit with omitBy solution

* .includes -> .indexOf

* add default preset and presetApplied state

* fix lint error

* remove presetApplied

* add more default presets

* fix default preset functionality

* tweaks

* preserve preset list scrollLeft b/w updates with a hack

* Use ref for preset content

* remove forwardRef
6 years ago
Mike Fix 4a00206526 fix filter regex for encoded characters
Closes #564 (again)
6 years ago
Mike Fix 90a0ead95b move format code into editor and make it work again 6 years ago
Mike Fix dd93b6af9e update export-menu-container 6 years ago
Mike Fix 109a3edc6b export-container -> export-menu-container" 6 years ago
Mike Fix a174c26067 fix another encoding bug...🤞
- Closes #564
6 years ago
Miloš Sutanovac 09397baf7b Adds CLI hooks (IDs) to certain elements (#592)
* Adds CLI hooks (ids) to certain elements

* Update Carbon.js

* Update ExportMenu.js
6 years ago
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