Show different tabs side by side in split view

Each tab menu has "Open to the right". It shows the tab in a new pane to
the right of the active pane. A pane shows a document or a plugin tab,
for example a browser tab.

- A plugin view stays in the plugin layer above the panes, so a move
  between panes does not mount it again.
- A browser tab that covers the area moves to the left pane when a tab
  opens beside it. The last pane gives its plugin tab the whole area.
- The "Split" toggle of a document is now "Read beside".

Card 565874b2.
This commit is contained in:
Knotty Wyvern
2026-11-10 06:40:44 -07:00
parent d19bb6a1f0
commit 61976191d0
22 changed files with 473 additions and 116 deletions
+2 -2
View File
@@ -65,9 +65,9 @@ await runSmoke("tabs/scroll", async ({ page }) => {
await roundTrip('.cm-scroller', 'Writing');
await chooseView(page, 'Read');
await roundTrip('.md-page', 'Reading');
await chooseView(page, 'Split');
await chooseView(page, 'Read beside');
await roundTrip('.md-page', 'Split preview');
await chooseView(page, 'Split');
await chooseView(page, 'Read beside');
await chooseView(page, 'Source');
await page.getByRole('tab', { name: 'scroll-b.md', exact: true }).click();
await chooseView(page, 'Source');