212 Commits (ba16eb0e7920cc527691cde099839e8cd9c9d646)

Author SHA1 Message Date
Michael Fix fb917d01a9
Fix a11y dark embed (#1019)
* fix a11y-dark embed bug

Closes #1018

* extract global highlights into a component
5 years ago
Michael Fix 042a20b60e
allow passing filename query param to get snippet (#1007) 5 years ago
Mike Fix 4ab1cf5360
import Fonts in embeds
- Closes #993
5 years ago
Michael Fix 419070e895
Snippets name input (#992)
* snippets name input

* set 'name' property

* code

* update snippet name in /snippets

* fix imports

* snippet name -> add a name
5 years ago
Mike Fix 3061b5d08b
use next/document Html 5 years ago
Michael Fix fdcde85a48
Use getServerSideProps (#982)
* use getServerSideProps

* return host too
5 years ago
Michael Fix ae9b4445f1
run prettier with new config (#983)
Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Michael Fix 3acbd9ef9c
New copy action menu (#970)
* move copy actions to a new menu

* clean up copy menu

* clean up export menu

* move flex into reset styles

* use real ellipses

* fix copy menu id and classNames

Co-authored-by: repo-ranger[bot] <39074581+repo-ranger[bot]@users.noreply.github.com>
5 years ago
Catalin Miron 9dfdd96c82
Show `Sign Out` only for logged in users (#961) 5 years ago
Mike Fix 36930c8cf2
update exports
- Closes #915
5 years ago
Mike Fix 40bf2160cd
move next head to /pages/account 5 years ago
Mike Fix d186958075
move stripe out of head 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
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 1c3ef894e3 move /snippets list auth header code into lib 5 years ago
Mike Fix ed056e39d2 fix snippets list request auth 5 years ago
Mike Fix e1373ead8c nasa 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 044e000788 improve about page 5 years ago
Mike Fix 0d26638d1d remove routing TODO 5 years ago
Mike Fix f3e912d999 SSR embeds 5 years ago
Mike Fix 37c546437b fix embeds for now 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
Chris Brown d5fd308828 Update about.js (#847) 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
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
Michael Fix 1cdaa6f13a
send embed postmessage to top window (#821) 5 years ago
Mike Fix 875f1782d6 add immediate timeout for embed postMessage 5 years ago
Michael Fix e82e95c093
use eitherx to implement index page boundary (#805) 5 years ago
Mike Fix 7b5ef35e98 improve the /about page 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 4aef628b00 don't save fontUrl to localStorage 6 years ago
Mike Fix dff5013edd move editor container into its own component 6 years ago
Mike Fix 0db4a89e72 simplify theme state logic 6 years ago
Mike Fix 132c0f6d5a make filename input uncontrolled 6 years ago
Michael Fix c56919cab3 Simplify routing code (#729)
* simplify routing code

* fix en/decode mapping logic
6 years ago
raboid ed1293c98a fix omit call 6 years ago
raboid 4dea566193 rework logic 6 years ago
raboid d620f0d5aa replace updateTheme and updateHighlights with updateState 6 years ago
Mike Fix abbb9d99d4 Revert "simplify sw unregister"
This reverts commit 27f8e1c7b6.
6 years ago
Mike Fix 27f8e1c7b6 simplify sw unregister 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
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
Michael Fix 9ddb821fa4
only register service-work for editor (#710) 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 223bccd6b1
read all api calls from context (#691) 6 years ago
Mike Fix 4115020919 Strict mode preparations 6 years ago