Commit Graph

203 Commits (733c59aa9ec14bcd50aafc08f0dca8f4d0c8ef77)

Author SHA1 Message Date
Mike Fix 36930c8cf2
update exports
- Closes 
Mike Fix 40bf2160cd
move next head to /pages/account
Mike Fix d186958075
move stripe out of head
Michael Fix 10cc6fdb93
Improve mobile UI ()
* 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
Michael Fix 31b5b99598 Kbd elements in about ()
* WIP

* improve /about with keyboard shortcuts

* clean up about styles
Mike Fix e4da412d83 move to use meta and shift symbols to define keyboard listening
Mike Fix 1c3ef894e3 move /snippets list auth header code into lib
Mike Fix ed056e39d2 fix snippets list request auth
Mike Fix e1373ead8c nasa
Mike Fix 1372a4066d create delete button from /snippets
Mike Fix 31747420d1 snippets and account pages
Mike Fix 044e000788 improve about page
Mike Fix 0d26638d1d remove routing TODO
Mike Fix f3e912d999 SSR embeds
Mike Fix 37c546437b fix embeds for now
Michael Fix e0ed4bebdc Merge in 4.0.0 ()
* merge in 4.0

* dev mode with firebase impl

* useReducer for toasts state
Chris Brown d5fd308828 Update about.js ()
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
Michael Fix 1cdaa6f13a
send embed postmessage to top window ()
Mike Fix 875f1782d6 add immediate timeout for embed postMessage
Michael Fix e82e95c093
use eitherx to implement index page boundary ()
Mike Fix 7b5ef35e98 improve the /about page
Mike Fix 1ded53f6bb use css composition instead of props
Mike Fix c967318194 don't show alpha on embed
Mike Fix 4aef628b00 don't save fontUrl to localStorage
Mike Fix dff5013edd move editor container into its own component
Mike Fix 0db4a89e72 simplify theme state logic
Mike Fix 132c0f6d5a make filename input uncontrolled
Michael Fix c56919cab3 Simplify routing code ()
* simplify routing code

* fix en/decode mapping logic
raboid ed1293c98a fix omit call
raboid 4dea566193 rework logic
raboid d620f0d5aa replace updateTheme and updateHighlights with updateState
Mike Fix abbb9d99d4 Revert "simplify sw unregister"
This reverts commit 27f8e1c7b6.
Mike Fix 27f8e1c7b6 simplify sw unregister
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
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 9ddb821fa4
only register service-work for editor ()
Sean 69d12afc52 Add gist support to embed ()
* support gists in embed

* update GistContainer

* make init function have more generic naming
Michael Fix 223bccd6b1
read all api calls from context ()
Mike Fix 4115020919 Strict mode preparations
Michael Fix 93c57d2b5d
debounce updating query string and localStorage ()
* debounce updating query string and localStorage

* memoize meta components

* fix tests
Mike Fix 608392b517 use forward ref in carbon
raboid 40ba1e0f9e update meta
Mike Fix b7bc227522 clean up <Carbon/> - remove resize-observer
Rachel M. Carmena 3174a83adb Caution about the use of images in a post ()
* Caution about the use of images in a post

* Update README.md

* Update about.js

* tweaks
Sean 5206dc4ef1 Reduce updates caused by typing ()
* prevent index page from updating

* implement shouldComponentUpdate for ExportMenu

* replace componentDidUpdate with updateState in Editor

* replace shallowCompare with React.memo

* add flex-basis to prevent jank
Jake Dexheimer 4571b03eb4 clean up menu controls position, about page
Sean f6f0adee6b Add preset feature ()
* Add preset feature without create

* fix lint errors

* Add presets to Editor state

* add remove, update -> apply, omit presets

* replace name with index, add undo functionality

* fix reduce function

* Tweaks:

- Make remove filter setState atomic
- Remove broken sCU in BackgroundSelect
- Touch up style of arrow functions a little
- Remove titleBar from default settings
- Don't expose SETTINGS_KEYS
- Use hasOwnProperty instead of includes()

* refactor preset state into Settings

* move format code into editor and make it work again

* omit custom in applyPreset

* move presets array state into Settings

* keep custom sCU in BackgroundSelect

* pull out inline objects

* revert pages/index

* increase Presets font-size, remove margin-top

* Add ability to create presets

* also enable passing exportSize as prop

* move selectedPreset back into Settings (my bad Sean)

* replace splice with filter, getSavedX -> getX

* Revert "move selectedPreset back into Settings (my bad Sean)"

This reverts commit ae5da4700ea36ad7c31e697e83a2724be4b448f4.

* make sure background updates remove selected preset

* selectedPreset -> preset

* use onChange instead of selectPreset

* use preset id's instead of indexes

* bug fixes

* use disabled instead of pointer-events

* make .settings-presets-applied flex 💪

* make .settings-presets-arrow flex 💪

* move getPresets outside of `setState`

* move inline styles to style tag

* refactor using omitBy and isFunction

* remove lodash.isfunction

* fix applyPreset to disclude preset field

* move omit to getSettingsFromProps

* replace lodash.omit with omitBy solution

* .includes -> .indexOf

* add default preset and presetApplied state

* fix lint error

* remove presetApplied

* add more default presets

* fix default preset functionality

* tweaks

* preserve preset list scrollLeft b/w updates with a hack

* Use ref for preset content

* remove forwardRef
Michael Fix 6ab33153a8
Ability to name file downloads ()
* Ability to name file downloads

- Closes 

* fix codemirror-graphql