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
Mike Fix
7b03e91e84
use useReducer for bold, italics, underline, and color
5 years ago
Mike Fix
e180b9de8b
improve highlight positioning
5 years ago
Mike Fix
7f8381c627
noop
5 years ago
Mike Fix
9dc13f702e
clean up SelectionEditor code
5 years ago
Mike Fix
3ad106cd20
refactor onSelectionChange to class scope
5 years ago
Mike Fix
37debfdbad
refactor onMouseUp to class scope
5 years ago
Mike Fix
fc988fefba
modifierOpenAt -> selectionAt
5 years ago
Mike Fix
20b56e9957
refactor onSelection to class scope
5 years ago
Mike Fix
c6ce1662b2
pos -> position
5 years ago
Mike Fix
d42b0ec65b
refactor SelectionEditor into own file
5 years ago
Mike Fix
869ca859e2
bold, italics, underline, color work
5 years ago
Mike Fix
a91d2f2307
More WIP
5 years ago
Mike Fix
cdaee55f0d
WIP
5 years ago
Mike Fix
3e1577c13b
sponsor url in footer
5 years ago
Michael Fix
4ec70a2bf6
Repository changes from org change ( #840 )
...
* dawnlabs -> carbon-app
* update READMEs
* remove logo from translated readmes
* change project link
* update license
* remove case study link from translated READMEs
5 years ago
Mike Fix
8b5d766d1e
improve searchLanguage
5 years ago
Mike Fix
d43c5766cf
use useCallback for useGutterClickHandler
5 years ago
Mike Fix
7510dcb5ea
refactor onGutterClick to remove editorRef
5 years ago
Mike Fix
348ee2050d
use useReducer for selected lines
5 years ago
Mike Fix
55e01231d9
move mode loading into useEffect
5 years ago
Mike Fix
d9f1041740
upgrade Codemirror to 5.48.2
5 years ago
Michael Fix
942f21e7db
Refactor mode loading into Carbon ( #825 )
...
* refactor mode loading into Carbon
* made alreadyLoaded Set a static property
5 years ago
Michael Fix
795311f307
Refactor selected lines to read from React state ( #833 )
...
* holding opacities in state works
* refactor to use functional set state
* clean up onGutterClick code #1
* clean up onGutterClick code #2
* clean
* use regular effect
* return forward ref directly
5 years ago
Mike Fix
ff26f0f624
move @font-face into function component
5 years ago
Mike Fix
754965198d
remove bad global styles from Settings
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
Adam Lusted
b84474652c
Added SynthWave '84 theme + Text Shadows ( #810 )
...
* - Added ability to set optional `text-shadows` on themes.
- Extended `THEMES` to include optional `shadows` setting.
- Added SynthWave '84 theme. See https://github.com/robb0wen/synthwave-vscode
* - Changed ID of `SynthWave-84` theme to `synthwave-84`
- Added synthwave-84 to LOCAL_STYLESHEETS
- Migrated SynthWave-84 theme to `static/themes/synthwave-84.css`
- reverted a few things from 3f9daaf9ecee4561f9fad1bbdb8f38fd58a631c6
- Reverted global text-shadows
- Reverted constants.js/themes model changes.
* Update Meta.js
5 years ago
Mike Fix
674cfd2cf3
fix twitter card meta tags
5 years ago
Tim Neutkens
7fdda47816
Add autoExport ( #782 )
...
* Add autoExport
* Upgrade Next.js
* Upgrade Next.js
* export service worker to /public
* fix service worker build - file exported to /public (unwanted)
* next next@canary
* try to fix SW
* try to fix SW
* add back _next routing for now
* try a mix of configs
* Fix service-worker serving
* Remove _next route
* Next 9
* move stuff back into /static
* fix service-worker
* don't use canary next builds
* static/banner.png -> static/brand/banner.png
* remove now-build script
5 years ago
Michael Fix
876fc24859
Minify local CSS files ( #811 )
...
* minify custom css files
* add .min to local CSS files
5 years ago
Mike Fix
43a7b5caf7
disable spellcheck on inputs
5 years ago
Mike Fix
1ded53f6bb
use css composition instead of props
5 years ago
Mike Fix
c967318194
don't show alpha on embed
5 years ago
Mike Fix
e1147dd887
improve font-select min height
5 years ago
Michael Fix
ae35f83d5f
only include tranparent row on Twitter upload ( #797 )
5 years ago
Mike Fix
3467e51bbb
ensure smart indent is always true
6 years ago
Mike Fix
fba004fa95
fix cursor with 'readonly'
...
Closes #791
6 years ago
Michael Fix
a58a860332
fix firefox open export ( #786 )
6 years ago
Michael Fix
5acc71e2da
add keyboard listener for exporting ( #777 )
6 years ago
Mike Fix
7d65448428
upgrade dependencies
6 years ago
Mike Fix
7cb4740d04
fix codemirror stylesheets
...
- Closes #775
6 years ago
Michael Fix
22a0f9f2c1
Import/export config ( #771 )
...
* import export config
* allow rendering button as link
* pass all props to button component
* fix invalid JSON path
* prevent dragging download URL
* address concerns
6 years ago
Nato Boram
b757687802
Add VSCode's theme ( #769 )
...
* add vscode theme
* pin Next.js version
* remove highlight only css fetches
6 years ago
Mike Fix
cac72d79ff
make export component use hooks
6 years ago
Megha Sachdev
75493ee557
Introducing Applitools ( #762 )
...
* Applitools (#1 )
* Adding applitools
* adding data attributes for testing
* add applitools key
6 years ago
Mike Fix
7c7af92bce
fix dropdown sort
6 years ago
Mike Fix
7a3930cae6
fix line number highlighting after mode changes
...
- Closes #764
6 years ago
Michael Fix
263249c2cd
Highlight line numbers ( #757 )
...
* add line numbers container
* clean up code readability
* clean up carbon
* use onGutterClick instead
* extract onGutterClick
* tweaks
6 years ago
Michael Fix
a13af0a1b7
Fix travis build 🤞 ( #759 )
...
* fix travis build
* fix broken build due to incorrect background picker className
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
156e61c3ba
fix embed URL button
6 years ago
Mike Fix
28a455eecc
remove unused css
6 years ago
Mike Fix
29072fce92
fix issue from encoding breaking html highlighting after save
...
Closes #749
6 years ago
Mike Fix
0d816433a3
more navigation cue improvements
6 years ago
Mike Fix
f7a73b568a
improve keyboard navigation with escape to close
6 years ago
Mike Fix
52295cdd7c
remove unused onBlur prop
6 years ago
Mike Fix
aa52817a39
improve boolean prop for slider
6 years ago
Mike Fix
fd27b509cd
show hover background on focus too
6 years ago
Mike Fix
f3f421707b
radio button for windowtheme
6 years ago
Mike Fix
1a2bb3f6d7
improve menu bar tab-navigating
6 years ago
Mike Fix
f5f53f17d6
fix bug that occurs when escape is hit on dropdowns
6 years ago
Mike Fix
d4538305b9
update location origin for embeds
6 years ago
Mike Fix
4571857e69
make shades-of-purple local stylesheet
6 years ago
greenkeeper[bot]
31569fa164
Update escape-goat to the latest version 🚀 ( #735 )
...
* fix(package): update escape-goat to version 2.0.0
* chore(package): update lockfile yarn.lock
* fix naming for escape-goat
* use colornames packages
6 years ago
Mike Fix
011f25dc4f
bug fix for creating custom themes
6 years ago
Mike Fix
31db484046
improve watermark contrast
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
f5fe38ea88
make font styling work
6 years ago
Mike Fix
eae24c397a
reuse fileToDataUrl
6 years ago
raboid
7560520bbb
custom fonts
6 years ago
Mike Fix
3540124819
bug fix for /embed/<gist>
6 years ago
Mike Fix
297c385fbb
pass all props through to <input />
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
Mike Fix
48504ba1d0
use theme.light
6 years ago
Muhammad Muzzammil
c53a3f0c97
Add dynamic color property for input
6 years ago
Muhammad Muzzammil
e6d6a2b59d
Add isColorLight function
...
https://github.com/muhammadmuzzammil1998/shiny-octo-doodle/blob/master/JavaScript/isColorLight.js
6 years ago
Muhammad Muzzammil
b3c79f74df
Remove color property of input
6 years ago
raboid
cf34620e2f
fix gDSFP warning
6 years ago
raboid
03b5b65613
fix spread
6 years ago
raboid
7226cd8601
use gDSFP
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
6f1f2a1cf1
state.name -> state.input
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
Michael Fix
ebc488d51c
fix horizontal scroll bar for safari ( #717 )
6 years ago
Sean
d4d0ef9949
update gist handling ( #715 )
...
* update gist handling
* address comments
* clean up a bit
* getRouteState(router)
* move try/catch into getGist
* updateQueryString -> updateRouteState
* clean up more
* add cypress tests
* delete comments
* remove wait
6 years ago
Konstantin Gorodinskiy
eefc49b737
Fix language mime type lookup ( #712 )
...
* add editorconfig to keep files consistent automatically
* lookup language mime type in languages dictionary
* use language maps instead of language list
* Revert "add editorconfig to keep files consistent automatically"
This reverts commit 3cfdd4a5444791e763ffae59fde199406677f82f.
* move location of toLowerCase()
6 years ago
Mike Fix
248b61bcd5
correct pathname bug
6 years ago
Michael Fix
b5ae198312
Fix Medium embedding workflow ( #707 )
...
* fix url encoding to support direct pastes to medium
* move check for object keys length to getQueryStringState
* remove url parse from GistContainer
* use useMemo instead of memo
* remove decode()
* add copy URL button to export menu
6 years ago
Sean
69d12afc52
Add gist support to embed ( #703 )
...
* support gists in embed
* update GistContainer
* make init function have more generic naming
6 years ago
Michael Fix
b2cb16a31f
Refactor disable PNG ( #701 )
...
* pull disabled state into ExportMenu
* use useOnline hook from the tacklebox
6 years ago
Mike Fix
33915d41c1
fix bug in Random image
6 years ago
Mike Fix
270cb0f5cd
optimize react hooks
6 years ago
Mike Fix
9b69069279
remove double await
6 years ago
Michael Fix
9077260a3e
Read config from gist (optional) ( #692 )
...
* read config from gist
* Update api.js
6 years ago
Michael Fix
223bccd6b1
read all api calls from context ( #691 )
6 years ago
Mike Fix
4115020919
Strict mode preparations
6 years ago