Commit Graph

222 Commits (31747420d1689179d2a39d2277bb9387dd7fb165)

Author SHA1 Message Date
Mike Fix 31747420d1 snippets and account pages
Mike Fix 420f1333c0 move blue/red colors into constants
Mike Fix 0d26638d1d remove routing TODO
Mike Fix 520e19ab44 reduce payload sent for storage
Mike Fix e2fb62c068 fix forking snippet with no code
Mike Fix 15710e8ab6 debounce carbon duplication
Michael Fix e0ed4bebdc Merge in 4.0.0 ()
* merge in 4.0

* dev mode with firebase impl

* useReducer for toasts state
Andrew Dassonville 830442c64a Add support for first line number setting ()
* 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
Michael Fix ecaf48b30c
Bundle size ()
* 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
Michael Fix 552a9c99be
Store Unsplash background image not dataturl ()
* 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
Michael Fix 4ec70a2bf6
Repository changes from org change ()
* dawnlabs -> carbon-app

* update READMEs

* remove logo from translated readmes

* change project link

* update license

* remove case study link from translated READMEs
Mike Fix 53405a4c99 clean up language list
RohitMidha23 039523d0ac Added: XQuery ()
Michael Fix a49647e128
Solidity language ()
* WIP: solidity, doesn't work though

* codemirror-solidity 0.1.4
Michael Fix 942f21e7db
Refactor mode loading into Carbon ()
* refactor mode loading into Carbon

* made alreadyLoaded Set a static property
Mike Fix d60e556b5b prevent URL length limit errors
Closes 
Mike Fix 6e46b1c23b remove lib/modes
Michael Fix ddc611a6f9 Refactor preset state ()
* refactor preset state

* remove unnecessary constant
Adam Lusted b84474652c Added SynthWave '84 theme + Text Shadows ()
* - 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
Tim Neutkens 7fdda47816 Add autoExport ()
* 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
Michael Fix 22a0f9f2c1 Import/export config ()
* import export config

* allow rendering button as link

* pass all props to button component

* fix invalid JSON path

* prevent dragging download URL

* address concerns
Mike Fix 02be1f6efe babylon -> babel
Nato Boram b757687802 Add VSCode's theme ()
* add vscode theme

* pin Next.js version

* remove highlight only css fetches
Mike Fix 4e1b6259e6 add shortname for jsx
greenkeeper[bot] 31569fa164 Update escape-goat to the latest version 🚀 ()
* fix(package): update escape-goat to version 2.0.0

* chore(package): update lockfile yarn.lock

* fix naming for escape-goat

* use colornames packages
Michael Fix fc715faf0d Update constants.js
Ahmad Awais ⚡️ f5ab1f0f1a 👌 IMPROVE: Operator vs Keyword colors
Ahmad Awais ⚡️ 5ac1971d9f 🐛 FIX: White color
Ahmad Awais ⚡️ 40ad13cc60 📦 NEW: Shades of Purple Theme
Mike Fix 1994c820ea fix light theme in Carbon by introducing getTheme
Michael Fix c56919cab3 Simplify routing code ()
* simplify routing code

* fix en/decode mapping logic
raboid 4dea566193 rework logic
raboid e02bbc4832 address comments
raboid 2ae529e404 support theme highlights in query string
Mike Fix 9621e4b64a allow console.error in eslint
Sean d4d0ef9949 update gist handling ()
* 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
Mike Fix fa9fa15ea5 add gherkin
Michael Fix b5ae198312
Fix Medium embedding workflow ()
* 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
Michael Fix 9077260a3e
Read config from gist (optional) ()
* read config from gist

* Update api.js
Michael Fix 223bccd6b1
read all api calls from context ()
Jalen Davenport b05108220b Added Twig language support ()
Mike Fix f653d73ccd make config simpler
Mike Fix 3115b3cc28 fix debounce for tweet and image api calls
Matthew Nielsen 9b885c6fd9 Added language support for RISC-V ()
* added language support for RISC-V

* added optional instruction set extensions for RISC-V
Mike Fix 008ba67eac remove old TODOs
Mike Fix 8100090b17 revert dynamic Codemirror mode import
- Closes 
Michael Fix 80122adea6
Use dynamic import components ()
* use dynamic import components

 - react-color components
 - Watermark

* Dynamically import modes

* revert next.config.js

* update language filter
Sean a1e05af5c0 Custom themes ()
* Custom themes

* Fix theme selection

* fixes and add more theme highlights

* Fix remove bug

* change create button hoverBackground

* change id format

* fixes

* remove default highlights, style tweaks

* move consturctor to componentDidMount, create constants

* simplify color picker style api'

* replace notAllowed with disabled

* remove itemWrapperProps from Dropdown

* create itemWrapper class prop

* remove onClose from Dropdown

* fix ColorPicker and font sizes

* increase specificity of selector
Mike Fix f45d133d3c remove verifyPayloadSize from util
Mike Fix dbde17a65f reduce imports and exports