David Luzar
0ef202f2df
feat: support debugging PWA in dev ( #4853 )
...
* feat: support enabling pwa in dev
* enable workbox debug
* add prebuild script
* fix lint
2022-07-02 17:59:03 +02:00
Milos Vetesnik
b9968e2e72
feat: Autoredirect to Excalidraw+ if special cookie is present ( #5183 )
...
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-05-18 12:04:26 +02:00
David Luzar
55ccd5b79b
feat: delay initial loading message & tweak design ( #5049 )
2022-04-19 19:08:13 +02:00
Aakansha Doshi
52d10bb41e
feat: hide trash button during collaboration ( #5037 )
...
* feat: hide trash button during collaboration
* visually hide the trash icon
* pointer events none
* tweak env docs
* fix typo
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-04-15 09:21:41 -07:00
Milos Vetesnik
5ca4f5bbf4
feat: rewrite collab server connecting ( #4881 )
...
Co-authored-by: dwelle <luzar.david@gmail.com>
2022-03-06 22:43:02 +01:00
Thomas Steiner
bc6b066c07
Remove outdated OT info ( #4232 )
2021-11-09 12:16:32 +01:00
Thomas Steiner
4df401d012
feat: Add origin trial tokens ( #3853 )
2021-07-23 10:43:27 +02:00
Youri Tjang
0d19e9210c
feat: update virgil font ( #3692 )
...
Co-authored-by: tjangy <youri.tjang@rabobank.nl>
2021-06-02 21:41:14 +02:00
Jed Fox
0912fe1c93
fix: overscroll on touch devices ( #3663 )
2021-05-29 11:54:36 -04:00
Luca Colonnello
f28f7ffb6e
fix: improve mobile user experience ( #3508 )
2021-04-27 12:46:30 +02:00
David Luzar
81108bf580
fix: prevent selecting .visually-hidden
elements ( #3501 )
2021-04-26 00:03:53 +02:00
anumithaapollo12
34761200bf
feat: Add screenshots to manifest.json ( #3369 )
...
* feat: Add screenshots to manifest.json
* rename screenshots
2021-04-06 23:02:58 +05:30
Aakansha Doshi
c54a099010
feat: Calculate width/height
of canvas based on container dimensions (".excalidraw" selector) & remove props width & height ( #3379 )
...
* Remove width/height from the ".excalidraw" container so it will sized automatically.
* updated all ref calculation to ".excalidraw" instead of parent since now ".excalidraw" will get resized
* Remove props width/height as its not needed anymore.
* Resize handler is also not needed anymore.
* Position absolute canvas due to #3379 (comment)
* move css to style and remove one extra rerendering
* factor out mock logic for test
* set height, width so as to avoid unnecessary updates of regression snap
* better mock
* better type checking and omit width,height from getDefaultAppState and also restore
* revert
* default to window dimensions in constructor
* update docs
* update
* update
* tweaks
2021-04-04 15:05:16 +05:30
harishcalvin
bb568a9670
chore: Remove duplicate Twitter og:image ( #3359 )
...
* removed-duplicate-twitter-ogtags
* put favicon back
* fix lint
2021-03-29 13:18:21 +05:30
Aakansha Doshi
7ee8de0a46
feat: set window.name in excalidraw app & also support target for excalidraw libraries ( #3299 )
...
* feat: set window.name in excalidraw app so library installation always opens on same tab & also support target for excalidraw libraries
* update changelog and readme
* Update public/index.html
Co-authored-by: David Luzar <luzar.david@gmail.com>
* use level 4 heading
* Update src/packages/excalidraw/README.md
Co-authored-by: David Luzar <luzar.david@gmail.com>
Co-authored-by: David Luzar <luzar.david@gmail.com>
2021-03-21 18:13:52 +05:30
David Luzar
e90e56452f
fix: stop preventing canvas pointerdown/tapend events ( #3207 )
2021-03-16 18:04:53 +01:00
Arun
b9e70ec666
feat: Implement the Web Share Target API ( #3230 )
...
* Use the web share target API
* Make requested changes
* Remove line
* Add application/json back
* Add application/vnd.excalidraw+json
* Add 'POST' check back
* Make requested changes
* Update src/appState.ts
Co-authored-by: Thomas Steiner <tomac@google.com>
* Update test
* Override initializeScene
* Use Excalidraw MIME type
* Minor fixes
* More MIME type tweaks
* More permissive file open
* Be overpermissive in file open
Co-authored-by: Thomas Steiner <tomac@google.com>
Co-authored-by: tomayac <steiner.thomas@gmail.com>
2021-03-13 22:42:54 +01:00
Aakansha Doshi
eb24e8ffe4
fix: Wrap excalidraw in position relative & hide scrollbars in zen mode ( #3174 )
...
* 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
91eb8834e8
chore: host workbox locally ( #3154 )
2021-03-02 19:36:28 +01:00
David Luzar
32acde500e
fix: hide scrollbars in zenMode ( #3144 )
2021-02-28 20:20:16 +01:00
Lipis
053353841a
feat: Use the latest version of Virgil ( #3124 )
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 ( #3068 )
...
* 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 ( #2877 )
...
* 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
0bf6830373
docs: Update readme with documentation ( #2788 )
2021-01-14 18:31:52 +02:00
Arun
eb71e571e0
improvement: Perform lossless compression on all PNG images ( #2740 )
2021-01-07 18:04:28 +02:00
Lipis
3aa01ad272
chore: Remove tracking ( #2722 )
...
* 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 ( #2465 )
2020-12-18 14:02:29 +02:00
Thomas Steiner
7c3e1d8d1b
Add declarative link capturing
...
See https://github.com/WICG/sw-launch/blob/master/declarative_link_capturing.md#user-content-proposal:~:text=new_client,-%E2%80%9D%20%E2%80%94 for context.
2020-12-14 16:25:48 +01:00
Lipis
abde1daba4
Add basic event actions to analytics ( #2375 )
...
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 ( #2406 )
2020-11-23 16:18:44 +01:00
Lipis
4371c29f0c
Update to Analytics 4 ( #2374 )
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 ( #2264 )
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 ( #2251 )
2020-10-19 20:36:44 +03:00
Aakansha Doshi
a61b212220
scope css under name space excalidraw ( #1983 )
2020-09-25 23:18:45 +02:00
Thomas Steiner
b2822f3538
Make File Handling actually work ( #2181 )
...
Follow-up from #1736
2020-09-22 15:21:22 +02:00
Thomas Steiner
31f7e2b8b2
Remove Native File System OT token for good ( #2157 )
2020-09-14 11:01:07 +02:00
Thomas Steiner
b9d584714a
Temporarily disable OT ( #2155 )
2020-09-11 22:35:08 +02:00
Thomas Steiner
ea020f2c50
Update Native File System API Origin Trial token ( #2152 )
2020-09-11 10:57:19 +02:00
dependabot-preview[bot]
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 Luzar
546e13571d
reintroduce index CSS as interim solution to SW caching issues ( #2085 )
2020-08-26 23:26:06 +02:00
David Luzar
ab7073abdb
add excalidraw_embed into base repo ( #2040 )
...
Co-authored-by: Lipis <lipiridis@gmail.com>
2020-08-20 16:45:20 +02:00
David Luzar
930813387b
make loading message account for dark mode & add i18n ( #2033 )
...
* make loading message account for dark mode & add i18n
* use app color scheme
2020-08-14 13:27:41 +02:00
Thomas Steiner
0eff9d525d
Update origin trial token ( #2005 )
2020-08-06 09:11:33 +02:00
Lipis
f0ac606ed7
Add robots.txt ( #1965 )
2020-07-26 21:04:38 +02:00
Minh Nguyen
93137c0bb2
Parameterise socket preconnect ( #1867 )
2020-07-03 16:35:02 +02:00
Aakansha Doshi
b21f723eee
use absolute positioning instead of fixed ( #1860 )
2020-07-02 15:27:47 +02:00
Thomas Steiner
ecc3a72583
Native File System API OT refresh ( #1852 )
2020-07-01 17:26:32 +02:00
Kostas Bariotis
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
Thomas Steiner
6b87278a0f
Add file handling ( #1736 )
...
* Add file handling
https://github.com/WICG/file-handling/blob/master/explainer.md#example
* Only trigger on `.excalidraw` for now
2020-06-08 13:02:06 +02:00
Aakansha Doshi
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