Skip to content

feat(platform): give automations a General tab and Knowledge tabs - #3501

Closed
yannickmonney wants to merge 3 commits into
mainfrom
feat/automations-sub-panel
Closed

yannickmonney wants to merge 3 commits into
mainfrom
feat/automations-sub-panel

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

What changes

  • One header line. A bordered page header (AdaptiveHeaderRoot showBorder) now draws its divider inside the h-13 box, so it ends on the same line as a section panel's header. Before, every Settings page showed a one-pixel step where the panel met the page. A Chromium test in @tale/ui pins both headers to the same bottom edge.
  • Knowledge tabs. Knowledge drops its side panel. On every width, its five pages sit as a tab strip under the Knowledge title row, and each page fades in. Settings is now the only section panel with fixed pages.
  • General tab. An automation's trigger and project bindings move from beside the canvas to a General tab to the right of Editor. It has two settings sections under the tab strip's single Save/Discard cluster, plus the tab's unsaved dot and the leave prompt. A refetch that returns unchanged settings no longer wipes an edit in progress.
  • Editor edge to edge. The Editor tab has no content inset: the canvas is unframed and the node inspector is a flush side panel.
  • Home panel. The header row is gone. The New chat pencil sits beside the view switcher, and the switcher's options size to their labels so German and French keep their full words.

Docs (EN/DE/FR), the design doctrine, the manual suites (AUTO-F51 General tab, NAV-F32 Knowledge tabs, NAV-F42 header line, rewritten boxes) and the e2e spec follow.

Rebased onto main

Main's #3498 reworked the trigger panel while this branch moved it into the General tab. I rebuilt the branch on current main as three commits (the header fix, the General tab, Knowledge tabs + Home). The trigger section keeps everything #3498 added:

  • What a schedule will do: "paused" while the binding is off, "won't start until a version is deployed" (the General tab reads the deployed version), else the next run.
  • New bindings: open through Add trigger and start switched off.
  • Revoking a webhook: a save that would revoke a live webhook URL asks first. Backing out cancels the strip's Save silently and keeps the draft.
  • Rotating the token: asks first.
  • Revoked toast: a revoked URL is announced.
  • Removal: removing a trigger returns the section to "no trigger".
  • Tests: main's WorkflowSettings tests now live in the trigger-editor and General-tab tests.

Main had also minted AUTO-F39–F50, so this branch's General-tab box is now AUTO-F51.

Checks

  • @tale/platform: typecheck; oxlint on touched files; UI tests for automations, home, knowledge and layout (491 tests); the automation editor browser test; i18n catalog tests.
  • @tale/ui: adaptive-header.browser.test.tsx, which fails at 53 px without the fix.
  • lint:manual and oxfmt --check.
  • Before the rebase: the full UI suite, the automations.spec.ts e2e run, and a browser pass on a local stack (desktop light and dark, phone, German and French).

Follow-ups

@yannickmonney
yannickmonney force-pushed the feat/automations-sub-panel branch from 08cfc26 to d2d46ba Compare September 27, 2026 08:18
@yannickmonney yannickmonney changed the title feat(platform): give Automations a section panel and a General tab feat(platform): give automations a General tab and Knowledge tabs Sep 27, 2026
A bordered AdaptiveHeaderRoot drew its divider outside the fixed h-13 title row, so the page header ended one pixel below the section panel's header (Knowledge, Settings) and the two rules met with a step. The row now gives the divider's pixel back, making the header the h-13 box with its border inside, like SubPanelHeader and the tab strip. A Chromium test pins both headers to the same bottom edge.
An automation's trigger and project bindings move from beside the canvas
to a General tab right of Editor: two settings sections under the tab
strip's single Save/Discard cluster, with the unsaved dot and the leave
prompt. A refetch that returns unchanged settings no longer wipes an edit
in progress. The trigger section keeps what it says about a schedule
(paused, or not starting until a version is deployed), opens a new
binding switched off through Add trigger, and asks before a save would
revoke a live webhook URL — backing out cancels the save and keeps the
draft — or before rotating the token.

The Editor tab runs edge to edge: no inset, an unframed canvas and the
node inspector as a flush side panel. Docs (EN/DE/FR), the manual suite
(AUTO-F51) and the e2e spec follow the new layout.
Knowledge shows its pages as a tab strip under its title row on every
width instead of a section panel beside them, and keeps the page fade;
Settings is now the only section panel with fixed pages.

The rail already names Home, so the Home panel drops the header row that
repeated the name and opens on the All/Chats/Tasks/Inbox switcher, with
the New chat pencil beside it. The switcher's options size to their
labels, so German Aufgaben and French Réception keep their full word, and
the boot-shell skeleton mirrors the new top.

The platform guide (EN/DE/FR), the design doctrine, the design-system
guide's example and the navigation suite follow.
@yannickmonney
yannickmonney force-pushed the feat/automations-sub-panel branch from d2d46ba to 170afa5 Compare September 27, 2026 10:25
yannickmonney added a commit that referenced this pull request Sep 27, 2026
- **One header line.** A bordered page header (`AdaptiveHeaderRoot showBorder`) now draws its divider inside the `h-13` box, so it ends on the same line as a section panel's header. Before, every Settings page showed a one-pixel step where the panel met the page. A Chromium test in `@tale/ui` pins both headers to the same bottom edge.
- **Knowledge tabs.** Knowledge drops its side panel. On every width, its five pages sit as a tab strip under the **Knowledge** title row, and each page fades in. Settings is now the only section panel with fixed pages.
- **General tab.** An automation's trigger and project bindings move from beside the canvas to a **General** tab to the right of **Editor**. It has two settings sections under the tab strip's single Save/Discard cluster, plus the tab's unsaved dot and the leave prompt. A refetch that returns unchanged settings no longer wipes an edit in progress.
- **Editor edge to edge.** The Editor tab has no content inset: the canvas is unframed and the node inspector is a flush side panel.
- **Home panel.** The header row is gone. The **New chat** pencil sits beside the view switcher, and the switcher's options size to their labels so German and French keep their full words.

Docs (EN/DE/FR), the design doctrine, the manual suites (`AUTO-F51` General tab, `NAV-F32` Knowledge tabs, `NAV-F42` header line, rewritten boxes) and the e2e spec follow.

The trigger section keeps what #3498 added to the trigger panel:

- **What a schedule will do:** "paused" while the binding is off, "won't start until a version is deployed" (the General tab reads the deployed version), else the next run.
- **New bindings:** open through **Add trigger** and start switched off.
- **Revoking a webhook:** a save that would revoke a live webhook URL asks first. Backing out cancels the strip's Save silently and keeps the draft.
- **Rotating the token:** asks first.
- **Revoked toast:** a revoked URL is announced.
- **Removal:** removing a trigger returns the section to "no trigger".
- **Tests:** main's `WorkflowSettings` tests now live in the trigger-editor and General-tab tests.
@yannickmonney

Copy link
Copy Markdown
Contributor Author

Landed on main as 3d38713 (squashed onto current main), followed by three Editor follow-ups: 3e9b490 (CollapsibleDetails starts open, so Control flow opens when set), 26fc1ce (the canvas takes the full width until a node is picked) and 63c5080 (the deploy button names its version: Deploy v3).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant