Commit Graph
68 Commits
Author SHA1 Message Date
Aakansha DoshiandGitHub a61b212220 scope css under name space excalidraw (#1983) 2020-09-25 23:18:45 +02:00
Thomas SteinerandGitHub 31f7e2b8b2 Remove Native File System OT token for good (#2157) 2020-09-14 11:01:07 +02:00
Thomas SteinerandGitHub b9d584714a Temporarily disable OT (#2155) 2020-09-11 22:35:08 +02:00
Thomas SteinerandGitHub ea020f2c50 Update Native File System API Origin Trial token (#2152) 2020-09-11 10:57:19 +02:00
dependabot-preview[bot]GitHubdependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>Panayiotis Lipiridis
dd0c44864d Bump prettier from 2.0.5 to 2.1.1 (#2119)
* Bump prettier from 2.0.5 to 2.1.1

Bumps [prettier](https://github.com/prettier/prettier) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.0.5...2.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fix

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
2020-08-31 19:34:46 +03:00
David LuzarandGitHub 546e13571d reintroduce index CSS as interim solution to SW caching issues (#2085) 2020-08-26 23:26:06 +02:00
ab7073abdb add excalidraw_embed into base repo (#2040)
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-08-20 16:45:20 +02:00
Thomas SteinerandGitHub 0eff9d525d Update origin trial token (#2005) 2020-08-06 09:11:33 +02:00
Minh NguyenandGitHub 93137c0bb2 Parameterise socket preconnect (#1867) 2020-07-03 16:35:02 +02:00
Thomas SteinerandGitHub ecc3a72583 Native File System API OT refresh (#1852) 2020-07-01 17:26:32 +02:00
Kostas BariotisandGitHub f1ceeab8d9 Prepare for Docker publishing (#1771)
* prepare for docker publishing

* fix links

* remove that

* update README

* test publish worklofw

* build and push on master

* include gtag by default
2020-06-18 10:46:24 +01:00
Aakansha DoshiandGitHub 60973f6dc5 rename container class to excalidraw and move css from index.html to app.css (#1729)
Moved the css from index.html to app.css so it can be included in upstream app as well
2020-06-08 13:36:35 +03:00
Thomas SteinerandGitHub 2867af6528 Update OT trial token (#1649) 2020-05-25 16:10:08 +02:00
Thomas SteinerandGitHub d9b8dcfbb4 Remove no longer needed Native File System API v1 origin trial token (#1592) 2020-05-14 14:44:23 +02:00
Thomas SteinerandGitHub c4e9a3c480 Renew origin trial token (#1547) 2020-05-05 11:37:15 +02:00
Thomas SteinerandGitHub fe5e71a4e5 Add PWACompat (#1433)
* Add PWACompat (attempt)
Fixes #1425

* Fix CSS, use custom splash screen font

* Respect bottom safe area
2020-04-16 14:23:39 +02:00
Thomas SteinerandGitHub fbcb3ee6ff Sign us up for Native File System API v2 Origin Trial (#1432) 2020-04-15 12:09:16 +02:00
Thomas SteinerandGitHub fcf2a73ffb Remove superfluous meta tag (#1424) 2020-04-14 12:41:31 +03:00
51ccf61cc6 Bring root fonts back (#1422)
* redirect font loading

* bring preloading back

* change paths

* add css type

* move fonts to root

* correct paths

* remove redirects

* correct ext

* remove fonts from main CSS

* remove unneeded fonts

Co-authored-by: kbariotis <konmpar@gmail.com>
2020-04-13 20:53:07 +01:00
David LuzarandGitHub 0b971ea570 Remove CSP (#1418)
* remove csp

* remove csp from now.json
2020-04-13 16:28:05 +02:00
4228c2e094 [POC] use serviceWorker from create-react-app (#1286)
* Service worker with toast notifications

* Update CSP to allow fetches from now.sh

* Fixed clearing timers

* rounded icon for pwa (#1301)

* rounded icon for pwa

* cirle pwa app icon

* fix fonts caching

* fix app

* fix css import

* Updated csp tp inlcude worker-src: self

* add worker CSP rule

* use square icon

Co-authored-by: Timur Khazamov <t1mmaas@skbkontur.ru>
Co-authored-by: Faustino Kialungila <Faustino.kialungila@gmail.com>
Co-authored-by: kbariotis <konmpar@gmail.com>
2020-04-13 16:08:39 +02:00
David LuzarandGitHub d79c859cd9 CSP: fix codesandbox (#1401)
* add csb to csp whitelist

* add csb.app

* allow child-src csp

* add cdnjs.cloudflare

* allow unsafe-eval
2020-04-12 14:58:03 +02:00
Shriram BalajiandGitHub 93087192c8 Support http: ws: for self in connect-src csp (#1392) 2020-04-12 12:56:07 +02:00
Shriram BalajiandGitHub af09c977bf Add Content Security Policy Header Tag (#1379)
* Add Content Security Policy Header Tag

* Update CSP for connect-src with https, wss
2020-04-11 18:22:16 +03:00
Sanghyeon LeeandGitHub bd32a26653 Move GitHub corner and visually-hidden class (#1336)
* Move visually-hidden class to index.html

* Replace github corner with component

* Momoize GitHubCorner

* Simplify component return
2020-04-09 16:48:41 +03:00
ed378170b7 Use woff2 instead ttf (#1307)
* Use woff2 instead ttf

* Update font in svg-exported files to use woff2

Co-authored-by: Timur Khazamov <t1mmaas@skbkontur.ru>
2020-04-07 15:28:44 -07:00
LipisandGitHub 98ea88262f Shorter title (#1293) 2020-04-07 17:02:29 +03:00
LipisandGitHub 1a5048195a Better title, for better look in search results, SEO (#1278) 2020-04-06 18:58:20 +03:00
LipisandGitHub 00c5823a5e Add Security Headers (#1200) 2020-04-04 02:36:12 +03:00
weiandGitHub c67b0c59c2 Adding preconnect for the socket (#1075)
* Update index.html

* fix formatting
2020-04-02 23:32:42 -07:00
Jed FoxandGitHub 663526129a Proper RTL support (#1154)
* Add RTL styles. Most of the work is done by the browser 💖

* Refactor getLanguage

* Additional fixes

* Mirror the mouse pointer icon

* Move the vertical scrollbar to the left on RTL

* Revert "Mirror the mouse pointer icon"

This reverts commit f69b132538.
2020-04-02 12:21:19 -04:00
Thomas SteinerandGitHub 54355f1391 Renew origin trial token (#1130) 2020-03-30 09:49:43 +02:00
David LuzarandGitHub cac2dda5ac Add loading state (#1027)
* add loading state

* update snapshots

* add border radius

* fix comment breaking build jsx
2020-03-26 18:28:26 +01:00
dependabot-preview[bot]GitHubdependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>Panayiotis Lipiridis
722c498abe Bump prettier from 1.19.1 to 2.0.1 (#1060)
* Bump prettier from 1.19.1 to 2.0.1

Bumps [prettier](https://github.com/prettier/prettier) from 1.19.1 to 2.0.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/1.19.1...2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* Update formatting

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
2020-03-23 13:05:07 +02:00
LipisandGitHub f9edb1b4ac Remove www from open graph images (#884)
* Remove www from open graph images

* Lint
2020-03-09 12:42:48 +02:00
30434e3e6c fix: update og images (#878)
* fix: change og images to absolute urls

Co-authored-by: Justin E. Samuels <js1599.msu@gmail.com>

* fix: width and height of image

Also added og:image:secure_url for security purposes

Co-authored-by: Justin E. Samuels <js1599.msu@gmail.com>

* fix: enlarge image for og

Co-authored-by: Justin E. Samuels <js1599.msu@gmail.com>

Co-authored-by: Justin E. Samuels <js1599.msu@gmail.com>
2020-03-08 19:48:23 -07:00
LipisandGitHub 562b388326 Use relative path for static files (#855) 2020-02-29 14:24:14 +01:00
Faustino KialungilaandGitHub 9953cc03b3 Add Manifest File (#842)
* manifest

* splashscreen
2020-02-28 16:08:15 +01:00
Thomas SteinerandGitHub 277eeb47cc Update expiring origin trial token (#800) 2020-02-22 00:47:22 +01:00
Jed FoxandGitHub ab176937e6 Add touch support (#788)
* Add touch support

* Mock media query

* Mock media query pt 2

* Fix tests

* Allow installing as an app on iOS

* Fix type error

* Math.hypot

* delete and finalize buttons, hint viewer

* skip failing tests

* skip the rest of the failing tests

* Hide the selected shape actions when nothing is selected

* Don’t go into mobile view on short-but-wide viewports

* lol
2020-02-21 08:17:20 -05:00
LipisandGitHub c2855e2cb8 Add new favicon (#786) 2020-02-21 10:39:09 +01:00
Jed FoxandGitHub 7a7a73b78d Initial support for mobile devices (#787)
* Initial support for mobile devices

No editing yet, but UI looks nice and you can open the canvas menu

* Add support for editing shape color, etc

* Allow the mobile menus to cover the shape selector

* Hopefully fix test error

* Fix touch on canvas

* Fix safe area handling & remove unused Island
2020-02-20 15:44:38 -08:00
Christopher ChedeauandGitHub f261d6f2fc Fix font preloading (#649)
Thanks to this stack overflow answer ( https://stackoverflow.com/a/41678350/232122 ) I was able to fix the font preloading!

If we put fonts.css in the public/folder and include it with normal html, we can avoid going through the build pipeline!
2020-02-01 04:06:03 +00:00
Guillermo Peralta ScuraandGitHub 67eca2bda1 Add landmarks (#564)
Use HTML semantic elements to set the landmarks of the page.

This is helpful for assistive technologies to determine the different regions of content. In our case it's useful for jumping between the different islands that we use to group the form controls.
2020-01-26 17:14:31 -03:00
Christopher ChedeauandDavid Luzar 1d9cdf4d46 Use local fonts (#573)
This updates the way fonts are handled to not have to download the font from the internet.

If you do `./public/font.ttf` in the .scss file, unfortunately the bundle packages them somewhere that's different from the public folder that is used by the index.html to preload them.

The fix I used is to use absolute path `/font.ttf` so that both work. Unfortunately, this means that the website will only work if at the root of the domain. That's the case so far so it's okay but still annoying if we want to embed it somewhere.
2020-01-26 11:46:56 +01:00
Guillermo Peralta ScuraandGitHub e4ff408f23 Accessible modals (#560)
Improve the accessibility of our modals (the color picker and the export dialog)

Implement a focus trap so that tapping through the controls inside them don't escape to outer elements, it also allows to close the modals with the "Escape" key.
2020-01-25 19:37:58 -03:00
Guillermo Peralta ScuraandChristopher Chedeau 69061e20ac Some a11y fixes (#534)
* Rename ToolIcon to ToolButton

It makes more semantic sense

* Label and keyboard shortcuts announcement

* Refactor common props for ToolButton

* Better doc outline and form controls

* Adjust color picker

* Styling fixes

Co-authored-by: Christopher Chedeau <vjeuxx@gmail.com>
2020-01-25 09:52:03 -08:00
LipisandChristopher Chedeau 885b9c1483 Delete comments (#487) 2020-01-20 17:07:37 -08:00
weiandChristopher Chedeau 37e082fcdc feat: Add Cascadia font (#465)
* adding cascadia font

* adding font file
2020-01-20 07:12:12 -08:00
LipisandGitHub 1923607112 Remove www from URLs (#437)
* Remove www from URLs

* typo

* slash
2020-01-18 02:24:35 +02:00