505 Commits (54fdf2fe46c7818ad13dac01b06109998cf67685)

Author SHA1 Message Date
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) 6 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