-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
PWA support (desktop & mobile) #8012
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
最好的解决方案是在打包时根据静态目录自动生成 |
另外其他文件可能也会有变更,缓存了不会有什么副作用吧? |
缓存的命名空间与版本号关联, 每次版本号发生更改时会请求新的 所以最好在打包时更新 |
嗯,我们合并了,感谢贡献。 |
能不能设置一键修改所有超链接打开指定的块?使用docker的时候,经常会自动跳转到思源软件,希望在设置内添加一个一键更换PWA链接和思源原生链接,这样适合两种情况。 |
需要思源本体的支持, 使用超链接跳转 PWA 应用时会通过新窗口打开, 无法复用已打开的窗口进行跳转 |
/stage/build/desktop/
与/stage/build/mobild/
站点提供 PWA 支持PWA support for
/stage/build/desktop/
and/stage/build/mobild/
sitesweb+siyuan://blocks/20210428212840-859h45j
的超链接打开指定的块Support for opening specified blocks with the hyperlink shaped like
web+siyuan://blocks/20210428212840-859h45j
auth.html
时携带的 URL search params 未进行 URL 编码的问题Fixed the issue where URL search params are not escaped when redirecting to
auth.html
was not escaped.auth.html
重定向时未携带 URL search params 问题Fixed the issue where redirects from
auth.html
did not carry URL search params.注: 由于 PWA 安全限制, 无法注册 safelisted scheme 以外的协议, 例如
siyuan://
Note: Due to PWA security restrictions, protocols other than safelisted scheme cannot be registered, such as
siyuan://
REF:
已通过测试 | Tested passed
OS
: Windows 11 22H2 22621.1555Browser
: Microsoft Edge 112.0.1722.48