[图]让网页应用更像原生:Google引入标签化显示模式

科技2yrs ago (2022)update cnBeta
678 0
网站公众号快速收录
Google 即将为网页应用添加“标签化”显示模式/界面,可以在 Windows 10/11 以及其他桌面平台上为网页应用显示多个标签。早在 2018 年提交的 BUG 帖子中,Google 就暗示了这项功能,但现在才真正开始生效。

[图]让网页应用更像原生:Google引入标签化显示模式

Google希望网络应用尽可能地强大,而做到这一点的一个方法是使多任务处理更容易。所有的浏览器都有标签,如果网络应用也支持标签,这将是有意义的。Google认为,网络应用的标签显示模式将允许你在不离开主窗口的情况下访问 PWA 的各种功能。

这意味着相比较现有的操作,用户复制、上传和导航会更加容易。在目前的实现中,当你在一个网络应用中,如果你点击一个链接,网络应用就会失去焦点,用户会被重定向到浏览器。

Google正在探索支持新的显示模式"tabbed"和新的变量"tab_strip",通过"标签式"界面或显示,Google认为有可能出现类似于普通浏览器窗口的行为。例如,网络应用中的标签将让你从一个索引页面打开多个文档。

[图]让网页应用更像原生:Google引入标签化显示模式

Google 在一份文件中指出:“目前独立窗口中的 PWA 一次只能打开一个页面。一些应用程序期望用户一次打开许多页面。标签模式为独立的网络应用程序增加了一个标签条,允许同时打开多个标签”。

这一功能对于允许一次编辑多个文档并有一个主标签即主页的生产力应用程序来说特别有用。例如,Windows的Office有一个主页,它包括指向文档和其他功能的链接。

同样,Google的网络应用有一个标签式界面,可以将主标签作为一个菜单来打开现有的文件,然后所有的文件都会在自己的标签中打开。

根据GoogleChromium讨论论坛上的一个帖子,Google将很快在浏览器中加入这一功能,用户可以用一个新的标志"enable-desktop-pwas-tab-strip"来测试它。

Google wants web applications to be as powerful as possible, and one way to do this is to make multitasking easier. All browsers have tags, which makes sense if web applications also support tags. Google believes that the label display mode of web applications will allow you to access various functions of PWA without leaving the main window.

This means that it is easier for users to copy, upload, and navigate than existing operations. In the current implementation, when you are in a web application, if you click on a link, the web application will lose focus and the user will be redirected to the browser.

Google is exploring new display modes & quot;tabbed” and new variables & quot;tab_strip”, through the & quot; tabbed & quot; interface or display and Google believes it is possible to behave like a normal browser window. For example, tags in a web application will allow you to open multiple documents from an index page.

Google pointed out in a document: “currently, PWA in a separate window can only open one page at a time. Some applications expect users to open many pages at a time. Tag mode adds a tab to stand-alone web applications, allowing multiple tags to be opened at the same time.

This feature is particularly useful for productivity applications that allow you to edit more than one document at a time and have one main tag, the home page. For example, Windows’s Office has a home page that includes links to documentation and other features.

Similarly, Google’s web app has a tabbed interface where you can use the main tab as a menu to open existing files, and then all files will be opened in their own tabs.

According to a post on the GoogleChromium discussion forum, Google will soon add this feature to the browser and users can test it with a new logo & quot;enable-desktop-pwas-tab-strip”.

© Copyright notes

Related posts

网站公众号快速收录