139 Commits (14a016277dfe80bc8677eb0a7110351d9471d399)

Author SHA1 Message Date
Mike Fix 4f05d0987a
clean up Editor class fns 5 years ago
Michael Fix 419070e895
Snippets name input (#992)
* snippets name input

* set 'name' property

* code

* update snippet name in /snippets

* fix imports

* snippet name -> add a name
5 years ago
Michael Fix ae9b4445f1
run prettier with new config (#983)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Michael Fix 3acbd9ef9c
New copy action menu (#970)
* move copy actions to a new menu

* clean up copy menu

* clean up export menu

* move flex into reset styles

* use real ellipses

* fix copy menu id and classNames

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Michael Fix 622c8a7722
remove old unsplash photocredit if it is an exact match (#947) 5 years ago
Technoknol ea8aa77223 PR for Enable copy image to clipboard export #921 (#940)
* Enable copy image to clipboard export (#921)

* Add Contributor for Enable copy image to clipboard export (#921)

* (#921) Check if ClipboardItem is function.

* update clipboard menu

* clean up getCarbonImage logic

* tweak

Co-authored-by: Michael Fix <mrfix84@gmail.com>
5 years ago
Mike Fix f43eda1214
improve usability of selection styling 5 years ago
Caleb Taylor 24323a9c95 Responsive carbon (#925)
* From 768px to 920px, toolbar overflows container, shifted media query at max-width of 920px

* min-width of main content is larger than viewport, causing overflow

* main page has scrollbars even though all content visually is within viewport, removed/lessened margin on main and body

* On Firefox, the items inside toolbar second row would not match to container's height, thus would be smaller. 'flex: 1' applys flex growth, but sets the initial size of item to 0%. flex basis needs to be added as auto to fit the parent's main size property.

Co-authored-by: Michael Fix <mrfix84@gmail.com>
5 years ago
Caleb Taylor 660f148a19 Fixed first prefix always selected(hightlighted / cursor "not allowed") (#922)
* The first preset is always selected(highlighted/cursor “not allowed”). In presets file, selected is based on the value of property preset from the default settings object. All preset objects do not have this property but have id instead, since default settings has property preset, all the presets inherit the same property preset, which is why the first preset was always highlighted. Fixed by replacing key name preset to id in default settings.

* removed id key from default settings

* preset is no longer a key in default settings

Co-authored-by: Michael Fix <mrfix84@gmail.com>
5 years ago
Mike Fix 423e578acd render styling palette to toolbar 5 years ago
Mike Fix fc02b0ec11
fix this.exportImage 5 years ago
Mike Fix acf91b088a
export -> exportImage 5 years ago
Michael Fix 10cc6fdb93
Improve mobile UI (#875)
* make toolbar fit window on mobile

* don't prefetch /about

* improve /about page

* fix layout for /account and /snippets

* fix img on /about mobile

* unneeded change
5 years ago
Mike Fix 1f1dbade1d add color palette generation frontend (beta) 5 years ago
Michael Fix 5e55402c32 Move login button (#867)
* move login button

* reuse loginGitHub

* remove old comment
5 years ago
Michael Fix 3abed8be72 Old TODOs / PWA work (#866)
* old TODOs

* fix up old next-offline TODO

* undo changes

* add apple touch icon
5 years ago
Mike Fix 365d900445 eliminate CodeMirror cursors on save 5 years ago
Michael Fix e0ed4bebdc Merge in 4.0.0 (#850)
* merge in 4.0

* dev mode with firebase impl

* useReducer for toasts state
5 years ago
Michael Fix ecaf48b30c
Bundle size (#844)
* just load SketchPicker

* remove colornames package

* load other highlight.js modes lazily

* add bundle analyzer hook

* only load modes once per session

* fix up modes loaded

* fix up
5 years ago
Michael Fix 552a9c99be
Store Unsplash background image not dataturl (#836)
* store background image, not background selection in presets

* move localStorage into save utils

* curry omit util fn

* clean up manual image upload by URL

* refactor image changes

* separate uploadImage from selectImage

* upgrade visual regression testing tests

* add TODOs
5 years ago
Mike Fix ff26f0f624 move @font-face into function component 5 years ago
Michael Fix 12001bd64a fix encoding again (#823) 5 years ago
Michael Fix ddc611a6f9 Refactor preset state (#822)
* refactor preset state

* remove unnecessary constant
5 years ago
Michael Fix ae35f83d5f
only include tranparent row on Twitter upload (#797) 5 years ago
Michael Fix a58a860332 fix firefox open export (#786) 6 years ago
Michael Fix 94b30c3c36
A11y improvements (#755)
* improve screen reading for menu values

* clean up Drop down component

* typo
6 years ago
Mike Fix 29072fce92 fix issue from encoding breaking html highlighting after save
Closes #749
6 years ago
Mike Fix f5f53f17d6 fix bug that occurs when escape is hit on dropdowns 6 years ago
Mike Fix 011f25dc4f bug fix for creating custom themes 6 years ago
raboid 796e8f8b33 add applyPreset back 6 years ago
raboid e0a650b021 close settings dialog on font upload 6 years ago
Mike Fix 3826344a7b fix accidental deletion 6 years ago
Mike Fix 3540124819 bug fix for /embed/<gist> 6 years ago
Mike Fix ffbf512a38 clean up theme config derivation 6 years ago
Mike Fix 1994c820ea fix light theme in Carbon by introducing getTheme 6 years ago
Mike Fix dff5013edd move editor container into its own component 6 years ago
Mike Fix 47c30c1b7f fix up custom theme name input 6 years ago
Mike Fix 0db4a89e72 simplify theme state logic 6 years ago
Mike Fix 132c0f6d5a make filename input uncontrolled 6 years ago
Mike Fix ae9dde35c5 remove 'delete's 6 years ago
raboid 03b5b65613 fix spread 6 years ago
raboid 5f939ac3b4 cleanup 6 years ago
raboid 4dea566193 rework logic 6 years ago
raboid 8c2ce87c45 remove key 6 years ago
Mike Fix 1c1b1cb2f9 clean up 6 years ago
raboid d620f0d5aa replace updateTheme and updateHighlights with updateState 6 years ago
raboid e02bbc4832 address comments 6 years ago
raboid 10f2c3e390 remove ref 6 years ago
raboid 2ae529e404 support theme highlights in query string 6 years ago
Michael Fix afa63c3653
remove mutation observer (#723) 6 years ago