658 Commits (1f8e1c408e6b1711b139afcc0cf8449f1912bd44)

Author SHA1 Message Date
Mike Fix 0b0442cb04
imgur beta 4 years ago
Amit Keinan ecd8e631b7
Add export to imgur (#1158)
* add button and functionality

* Create a share menu and for twitter and imgur

* follow 'tweet' patterns

* remove unused carbonRef prop

* remove unused exportImgur

* share menu

* remove Share SVG

* combine tweet and imgur button components

* delete unused tweet and imgur button components

* remove options.filename

* onClickImgur

* change to async await to fix loading state

* NEXT_PUBLIC_IMGUR_CLIENT_ID

* return promise to fix loading state (remove async/await)

Co-authored-by: Mike Fix <mrfix84@gmail.com>
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
4 years ago
Mike Fix ba149c2b65
simplify isSafari isFirefox 4 years ago
Mike Fix 768d09b493
disable announcement (for now) 4 years ago
Mike Fix 0b3956919f
fix isClipboardSupported 4 years ago
Mike Fix 473f015ba5
remove issues 4 years ago
Mike Fix 4741d6adc8
prettier 4 years ago
Michael Fix e6950a0029
improve keyboard shortcuts (#1159) 4 years ago
Michael Fix 3be5cfa073
Upgrade deps (#1140)
* upgrade dev deps

* upgrade codemirror
4 years ago
Michael Fix 75c925db84
fix issue 1138 (#1139) 4 years ago
Michael Fix 7a26b88ae6
Attempt to fix 1135 (#1137)
* attempt to fix 1135

* add meta value for apple
4 years ago
Michael Fix cd7c6eb5c5
Clean up getCarbonImage (#1126)
* clean up getCarbonImage

* remove createObjectURL change

* bug fixes

* refactor getCarbonImage to use blobs/dataURLs only

* add console.error for copy to clipboard failures

* use blob.type for ClipboardItem

* add TODO
4 years ago
Mike Fix f90863f3cd
fix vscode cursor
Closes #775
4 years ago
Michael Fix 8b66c50046
Upgrade Codemirror (#1127)
* upgrade codemirror

* factor out codemirror version
4 years ago
Michael Fix eb5334bc6f
Upgrade next (#1124)
* upgrade to Next 10

* add function names
4 years ago
Michael Fix 9cf9815bf4
Upgrade deps (#1123)
* upgrade dev deps

* upgrade minor dependencies

* upgrade downshift

* upgrade React to 17

* upgrade match-sorter

* upgrade firebase
4 years ago
M. Bagher Abiat d863fdec1d
Anonymous functions (#1111)
* Theme.js file anonymous functoins warning disabled.

* Settings.js file anonymous functoins warning disabled.

* About.js file anonymous functoins warning disabled.

* Snippets.js file anonymous functoins warning disabled.

* Logo.js file anonymous functoins warning disabled.

* Reset.js file anonymous functoins warning disabled.

* Language.js file anonymous functoins warning disabled.

* Typography.js file anonymous functoins warning disabled.

* Font.js file anonymous functoins warning disabled.

* Billing.js file anonymous functoins warning disabled.

* all anonymous functoins warning disabled with the prefered style.

* Update components/Billing.js

Co-authored-by: Michael Fix <mrfix84@gmail.com>

Co-authored-by: Michael Fix <mrfix84@gmail.com>
4 years ago
Mike Fix 4152a49188
adjust size of 'Remove theme' button
Closes #1105'
4 years ago
Mike Fix 84f518e669
prettier format 4 years ago
Ashley Woodall Clark 8e68d754d3
add builtin to Global Highlights (#1110)
* add builtin to highlights config

* update contributors
4 years ago
Boy van Amstel f18e8c99af
Fix typo in scrollbarStyle option (#1107)
The option would be ignored when exporting the project through
next build && next export, failing to hide the vertical scroller.
4 years ago
Michael Fix ee81c62fcd
move toasts to bottom right (#1102)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
4 years ago
Michael Fix 361d170f7e
remove transparent row (#1084) 4 years ago
Michael Fix 1e14c1b9bf
Local dom-to-image (#1083)
* create local copy of dom-to-image

* use local copy of dom-to-image

* comment out hacks

* remove superfluous argument passed
4 years ago
Mike Fix 7382380a4a
simplify margins 4 years ago
Mike Fix c733d8dd93
make main window flex box so announcement always renders correctly 4 years ago
Mike Fix 6fffe84b1c
fix alignment of announcement 4 years ago
Michael Fix d3e48d88fb
Clean up Fonts.js (#1080)
* fix issue 1078

* update integration test oo
4 years ago
Mike Fix f934296b93
clean up getCarbonImage a bit 4 years ago
Dwiferdio Seagal Putra 30f19fb4f2
Fix IBM Plex Mono font is missing in Safari (#1077)
* fix IBM Plex Mono font not loaded in Safari web browser

* revert other attributes except font-style in @font-face
4 years ago
Michael Fix 384a37be8c
encode asterisks for medium embeds (#1074) 4 years ago
Quinn Blenkinsop 57657eadd0
Preserve syntax highlighting when exporting png that contains %XX (#1069) 4 years ago
Mike Fix dd9b43fcae
allow highlights in state import/export/presets 4 years ago
Mike Fix 695ca360c7
add accessible label to Codemirror textarea 4 years ago
Mike Fix dbeca58108
add titles to toolbar buttons 4 years ago
Mike Fix 884e185eb0
add a11y-dark to HIGHLIGHTS_ONLY 4 years ago
Michael Fix 6125d3f0ac
Next 9.5 (#1057)
* upgrade to Next 9.5

* move redirects to next.config.js

* move X-Frame-Options header on next.config.js

* make Billing an anonymous fn

* move additional headers to next.config.js

* add redirect tests

* add security headers test
4 years ago
Michael Fix 7adb50753e
use snippet name as filename (#1051) 5 years ago
Mike Fix e432dadd8b
add EmailSubscribe component 5 years ago
Mike Fix 85569b67d2
fix tag highlighting for 'Night Owl' HTML mode
Closes #1047
5 years ago
Mike Fix 51aadbe945
update Carbon title
- Closes #1048
5 years ago
Michael Fix 0f8c55e9e2
Improve reset state (#1043)
* add reset settings shortcut

* reset location too

* add integration test
5 years ago
Michael Fix e5ffd999f5
Maintenance: remove constructors (#1040)
* use class functions instead of fn bind

* use class functions in ImagePicker
5 years ago
Michael Fix e765b54baa
read container width and height at copy time (#1041) 5 years ago
Mike Fix a9b4c9597b
replace instance of withRouter with useRouter 5 years ago
Mike Fix b2912786a4
tweak 5 years ago
Michael Fix 280e359316
New spinner (#1023)
* new spinner

* snipper component

* remove react-spinner

* undo unnecessary changes
5 years ago
Binyamin Aron Green 50b3c3bfd8
Window title extends over boxy controls (#1038)
* Window title extends over boxy controls
Fixes #1033

* use static max width

Co-authored-by: Mike Fix <mrfix84@gmail.com>
5 years ago
Mike Fix 6e1b115c95
move mouse up listener to the window
Closes #1034
5 years ago
Peng Jie eaf70a9221
refactor(color-picker): drag the pointer smoothly (#1036)
* refactor(color-picker): drag the pointer smoothly

* keep Color picker as Functional componentgd

Co-authored-by: Mike Fix <mrfix84@gmail.com>
5 years ago