550 Commits (163e4bb98c33af60a81ace3750f2a7958eead814)

Author SHA1 Message Date
Mike Fix 71bcb254e9
fix input onChange for Toggle 5 years ago
Mike Fix b54f92c3aa
turn off announcement 5 years ago
Mike Fix 0ac845d285
move favicon and manifest.json out of /public/static 5 years ago
Viktor Nemes 191113aa5f Load selected lines from query params (#878)
* Make the editorRef as a required parameter of useGutterClickHandler

For the external line number selection it is required that we access the CodeMirror editor anywhere in the hook

* Refactor the line highlight logic to handle "unknown" lines as non-selected

Only execute the highlight when there is a valid selection (there are some keys set in state.selected)
Additionally also execute the highlight logic when the line numbers are not visible (E.g. line.gutter is falsy)

* Pass in the selectedLines from the query string and implement the pre-selection logic

* Rename useGutterClickHandler to better explain its function

* Adding nemesv as contributor

* quick tweak

* tweak
5 years ago
Mike Fix 38027983b0
new announcement 5 years ago
Michael Fix d9e34cbf04 add loading state to export button (#876) 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 bd2c6aec2b tweak login button position 5 years ago
Mike Fix 8418a751d8 fix toast container position 5 years ago
Michael Fix 1090356c05 improve background select (#873) 5 years ago
Michael Fix 884e6c526c use checkbox input for toggle (#872) 5 years ago
Michael Fix 31b5b99598 Kbd elements in about (#871)
* WIP

* improve /about with keyboard shortcuts

* clean up about styles
5 years ago
Mike Fix e4da412d83 move to use meta and shift symbols to define keyboard listening 5 years ago
Mike Fix 43c00407f3 remove capitalize util 5 years ago
Michael Fix 68d8b3f2d7
remove use memo from settings (#869) 5 years ago
Mike Fix cc5c2ab94a add metakey / shortcut to open settings 5 years ago
Mike Fix 30b26bfc6a better header on mobile 5 years ago
Mike Fix 8b49b4de67 better outlining for preset list 5 years ago
Mike Fix f7f00a83cf span -> button in background image selector 5 years ago
Mike Fix 1f1dbade1d add color palette generation frontend (beta) 5 years ago
Mike Fix 799a92b5c5 better login button position 5 years ago
Mike Fix ea981b31fe turn off announcement 5 years ago
Mike Fix 0f26518d04 move login button dropdown to right 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 0ee3df5792 use window.pushState instead 5 years ago
Mike Fix 796994d3af fix trailing slash in embed url
- Closes #864
5 years ago
Mike Fix 5248b7551c remove automatically added meta tag 5 years ago
Mike Fix 1372a4066d create delete button from /snippets 5 years ago
Mike Fix 31747420d1 snippets and account pages 5 years ago
Mike Fix 0666d5b975 fix blob reference when SSRing 5 years ago
Mike Fix 420f1333c0 move blue/red colors into constants 5 years ago
Mike Fix 3ed6405811 remove selection capabilities from embed 5 years ago
Mike Fix f58b7e9ccd remove trailing slash from embed copy 5 years ago
Mike Fix f7998ef250 remove 'Fork' 5 years ago
Mike Fix 7408fec143 scroll jump on preset application is fixed 5 years ago
Mike Fix 9032c70dd8 fix up old Toolbar TODO 5 years ago
Mike Fix 365d900445 eliminate CodeMirror cursors on save 5 years ago
Mike Fix 50fad03fa1 prevent janky announcement hide 5 years ago
Mike Fix a44756b2ab don't show announcement when signed in 5 years ago
Mike Fix 068ad43937 fix linting 5 years ago
Mike Fix e2fb62c068 fix forking snippet with no code 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
Andrew Dassonville 830442c64a Add support for first line number setting (#849)
* Add support for first line number setting

* Set min value to 0

* Add number types

* add label and width settings to Input

* use Input component instead of Text

* remove unused types

* first-row -> first-line-number-row

* more .row into global stylesheet
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 8e1db7cb03 Merge branch 'opencollective' into master-release 5 years ago
Mike Fix 27cd3aefe7 fix editor selection state and improve click outside 5 years ago