feat(plugins): redesign flow editor documentation panel - #17048
Conversation
📄 OpenAPI Spec Changes❌ Failed to generate EE OpenAPI spec (EE branch: 🐋 Docker imagedocker run --pull=always --rm -it -p 8080:8080 --user=root -v /var/run/docker.sock:/var/run/docker.sock -v /tmp:/tmp ghcr.io/kestra-io/kestra-pr:17048 server local |
|
@anna-geller @tchiotludo @Nico-Kestra @loicmathieu proposol of an improvement of the doc tab as saw yesterday. What do you think of this ? |
|
definitely better, love it ❤️ |
There was a problem hiding this comment.
Hey,
Issue is about revamp for Flow Properties Docs only but you have changed the Plugin documentation as well in panel. is this related ?
If Yes, could we have a FIGMA to track please ?
If no, revert the changes for Schema and Plugin documentation and we are good.
|
Yes it's intentional: both docs share the same panel and the same components ( No Figma here, it was designed code-first with the DS tokens, the demo video above is the reference. @Nico-Kestra can you take a look design-wise? |
|
can you fix the conflicts please @flcarre |
Redesign the flow-editor documentation panel for a shadcn-grade reading experience, covering both the default intro page and the task-bound view. - Intro: hero, contextual callout, reference search, and tabbed sections (Overview/Flow/Tasks/Inputs/Pebble/Examples) split from basic.md, with a "Start here" guide whose steps jump to the matching reference tab. - Bound view: redesigned header (kicker, icon, name, kind chip, copyable type, version, release link, summary), a controlled section nav, and a compact, filterable properties reference (All/Required) via SchemaToHtml / SchemaPropertiesSection compact mode. - KsTable: expose --ks-table-row-hover-bg (defaults to --ks-bg-hover) so the panel can disable row-hover on read-only markdown tables without :deep. - Render the intro immediately instead of gating it behind the plugins fetch. - Add plugins.intro_* / nav_* / filter_* i18n keys across all 13 locales. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
dd128c4 to
e37bc2a
Compare
The documentation-panel redesign (#17048) replaced the intro's plain markdown render with a hardcoded, flow-centric tabbed layout, which silently stopped honoring the `overrideIntro` prop. Every editor that supplies a feature-specific intro fell back to showing the generic flow documentation: dashboards (dashboard_home.md), plus apps (apps_home.md) and test suites (tests_home.md) in EE, which reuse this same component. Render `overrideIntro` verbatim when provided, and keep the rich flow intro for the default (flow-editor) case. Cover both branches in the Storybook story. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
…stWrapper Nothing has assigned isLoading since #17048 removed the assignments around the plugin fetch, so `isLoading || !pluginsData` only ever evaluated `!pluginsData`. The store's `plugins` is `ref<Plugin[]>()`, undefined until the fetch lands, so that guard alone still drives the skeleton branch. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TAug4a76FHxVfXWtQ7UwzT
…stWrapper Nothing has assigned isLoading since #17048 removed the assignments around the plugin fetch, so `isLoading || !pluginsData` only ever evaluated `!pluginsData`. The store's `plugins` is `ref<Plugin[]>()`, undefined until the fetch lands, so that guard alone still drives the skeleton branch. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TAug4a76FHxVfXWtQ7UwzT
…stWrapper Nothing has assigned isLoading since #17048 removed the assignments around the plugin fetch, so `isLoading || !pluginsData` only ever evaluated `!pluginsData`. The store's `plugins` is `ref<Plugin[]>()`, undefined until the fetch lands, so that guard alone still drives the skeleton branch. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TAug4a76FHxVfXWtQ7UwzT
Closes https://github.com/kestra-io/kestra-ee/issues/8879
What & why
Redesigns the flow-editor documentation panel (the plugin/task docs shown while editing a flow) for a shadcn-grade reading experience. This panel reaches ~98% of flow-editor users and is the highest-volume editor surface, so its clarity matters. The redesign covers both states of the panel: the default intro page (no task at cursor) and the task-bound view. It reworks the Flow properties presentation flagged in the linked issue (the old 2-column table is replaced by clean stacked rows with intentional spacing).
Changes
Intro / default page (
PluginDocumentation.vue)basic.md./pluginsload.Task-bound view
type, version, release link, and a summary line.compactmode inSchemaToHtml/SchemaPropertiesSection.Design system (
KsTable.vue)--ks-table-row-hover-bgtoken (defaults to--ks-bg-hover), so the panel can disable row-hover on read-only markdown tables through a CSS variable instead of a:deepoverride.How it was verified
npm run check:types(design-system + app + test),eslint, andnode check.jsall green.doc-panel-demo.mp4
Notes
PluginList.vueshows no net diff (an exploratory change was reverted).🤖 Generated with Claude Code