80 Commits

Author SHA1 Message Date
Aakansha Doshi
eb24e8ffe4
fix: Wrap excalidraw in position relative & hide scrollbars in zen mode ()
* fix: wrap excalidraw in position relative so that host need not add it explicitly to fix positioning when non zero offsets

* patch version

* Hide scrollbars on excalidraw container

* remove overflow hidden from index.html since its handled in excalidraw container

* review fix

* update changelog
2021-03-06 20:11:26 +05:30
David Luzar
32acde500e
fix: hide scrollbars in zenMode () 2021-02-28 20:20:16 +01:00
Lipis
053353841a
feat: Use the latest version of Virgil () 2021-02-28 13:22:32 +01:00
Aakansha Doshi
3bc18f6aed
feat: expose variable window.EXCALIDRAW_ASSET_PATH to allow host define the path for excalidraw assets ()
* feat: expose variable window.EXCALIDRAW_ASSET_PATH to allow host define the path for excalidraw assets
No more __webpack_public_path__ needed explicitly in host and it will default to unpkg cdn if window.EXCALIDRAW_ASSET_PATH is not defined

* fix

* add public path

* add public path

* assign only when env not test

* read from package.json

* Append content hash to excalidraw-assets so cache bursting happens when version update

* update changelog and readme

* update
2021-02-21 21:08:30 +05:30
Thomas Steiner
1837147c55
feat: Add idle detection to collaboration feature ()
* Start idle detection implementation

* First working version

* Add screen state

* Add type safety

* Better rendering, enum types, localization

* Add origin trial token

* Fix

* Refactor idle detection to no longer use IdleDetector API

* Cleanup some leftovers

* Fix

* Apply suggestions from code review

* Three state: active 🟢, idle 💤, away ️

* Address feedback from code review
Thanks, @lipis

* Deal with unmount

Co-authored-by: Panayiotis Lipiridis <lipiridis@gmail.com>
2021-02-04 11:55:43 +01:00
Lipis
3aa01ad272
chore: Remove tracking ()
* chore: Remove tracking

* process

* rename

* remove

* prod

* Update public/index.html

Co-authored-by: David Luzar <luzar.david@gmail.com>

* Update public/index.html

* eol

* more

* stats

Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-01-05 19:06:14 +01:00
Lipis
10e07e434c
chore: Remove support for deprecated Excalidraw for Desktop () 2020-12-18 14:02:29 +02:00
Lipis
abde1daba4
Add basic event actions to analytics ()
Co-authored-by: dwelle <luzar.david@gmail.com>
2020-12-02 23:57:51 +02:00
Luo
d3c3894108
Fix "Copy | Look Up" popup issue on mobile device () 2020-11-23 16:18:44 +01:00
Lipis
4371c29f0c
Update to Analytics 4 () 2020-11-11 04:23:15 +02:00
Aakansha Doshi
1034ec91b8
fix(fonts): move fonts to public folder so that its served as static assets via cra & works in export () 2020-10-21 22:50:57 +02:00
Aakansha Doshi
12b73aaac6
fix(app.scss): Move fonts from public to fonts directory so that it can be included in bundle as well () 2020-10-19 20:36:44 +03:00
Aakansha Doshi
a61b212220
scope css under name space excalidraw () 2020-09-25 23:18:45 +02:00
Thomas Steiner
31f7e2b8b2
Remove Native File System OT token for good () 2020-09-14 11:01:07 +02:00
Thomas Steiner
b9d584714a
Temporarily disable OT () 2020-09-11 22:35:08 +02:00
Thomas Steiner
ea020f2c50
Update Native File System API Origin Trial token () 2020-09-11 10:57:19 +02:00
dependabot-preview[bot]
dd0c44864d
Bump prettier from 2.0.5 to 2.1.1 ()
* 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 Luzar
546e13571d
reintroduce index CSS as interim solution to SW caching issues () 2020-08-26 23:26:06 +02:00
David Luzar
ab7073abdb
add excalidraw_embed into base repo ()
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-08-20 16:45:20 +02:00
Thomas Steiner
0eff9d525d
Update origin trial token () 2020-08-06 09:11:33 +02:00
Minh Nguyen
93137c0bb2
Parameterise socket preconnect () 2020-07-03 16:35:02 +02:00
Thomas Steiner
ecc3a72583
Native File System API OT refresh () 2020-07-01 17:26:32 +02:00
Kostas Bariotis
f1ceeab8d9
Prepare for Docker publishing ()
* 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 Doshi
60973f6dc5
rename container class to excalidraw and move css from index.html to app.css ()
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 Steiner
2867af6528
Update OT trial token () 2020-05-25 16:10:08 +02:00
Thomas Steiner
d9b8dcfbb4
Remove no longer needed Native File System API v1 origin trial token () 2020-05-14 14:44:23 +02:00
Thomas Steiner
c4e9a3c480
Renew origin trial token () 2020-05-05 11:37:15 +02:00
Thomas Steiner
fe5e71a4e5
Add PWACompat ()
* Add PWACompat (attempt)
Fixes 

* Fix CSS, use custom splash screen font

* Respect bottom safe area
2020-04-16 14:23:39 +02:00
Thomas Steiner
fbcb3ee6ff
Sign us up for Native File System API v2 Origin Trial () 2020-04-15 12:09:16 +02:00
Thomas Steiner
fcf2a73ffb
Remove superfluous meta tag () 2020-04-14 12:41:31 +03:00
Faustino Kialungila
51ccf61cc6
Bring root fonts back ()
* 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 Luzar
0b971ea570
Remove CSP ()
* remove csp

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

* Update CSP to allow fetches from now.sh

* Fixed clearing timers

* rounded icon for pwa ()

* 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 Luzar
d79c859cd9
CSP: fix codesandbox ()
* 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 Balaji
93087192c8
Support http: ws: for self in connect-src csp () 2020-04-12 12:56:07 +02:00
Shriram Balaji
af09c977bf
Add Content Security Policy Header Tag ()
* Add Content Security Policy Header Tag

* Update CSP for connect-src with https, wss
2020-04-11 18:22:16 +03:00
Sanghyeon Lee
bd32a26653
Move GitHub corner and visually-hidden class ()
* 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
Timur Khazamov
ed378170b7
Use woff2 instead ttf ()
* 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
Lipis
98ea88262f
Shorter title () 2020-04-07 17:02:29 +03:00
Lipis
1a5048195a
Better title, for better look in search results, SEO () 2020-04-06 18:58:20 +03:00
Lipis
00c5823a5e
Add Security Headers () 2020-04-04 02:36:12 +03:00
wei
c67b0c59c2
Adding preconnect for the socket ()
* Update index.html

* fix formatting
2020-04-02 23:32:42 -07:00
Jed Fox
663526129a
Proper RTL support ()
* 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 f69b132538038d231b1b1acc0d6f4a28c91130bb.
2020-04-02 12:21:19 -04:00
Thomas Steiner
54355f1391
Renew origin trial token () 2020-03-30 09:49:43 +02:00
David Luzar
cac2dda5ac
Add loading state ()
* add loading state

* update snapshots

* add border radius

* fix comment breaking build jsx
2020-03-26 18:28:26 +01:00
dependabot-preview[bot]
722c498abe
Bump prettier from 1.19.1 to 2.0.1 ()
* 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
Lipis
f9edb1b4ac
Remove www from open graph images ()
* Remove www from open graph images

* Lint
2020-03-09 12:42:48 +02:00
Joe Previte
30434e3e6c
fix: update og images ()
* 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
Lipis
562b388326
Use relative path for static files () 2020-02-29 14:24:14 +01:00
Faustino Kialungila
9953cc03b3
Add Manifest File ()
* manifest

* splashscreen
2020-02-28 16:08:15 +01:00