Repository navigation
refactor(docs): webkit adoption and review 2026-10-30 - #2540
Draft
isaque-bock-azion wants to merge 5 commits into
Draft
isaque-bock-azion wants to merge 5 commits into
isaque-bock-azion wants to merge 5 commits into
Conversation
The webkit-reviewer import rule expects the binding to be the PascalCase of the subpath's last segment. OnThisPage.vue and PricingTableOfContents.vue imported @aziontech/webkit/doc-on-this-page as WkDocOnThisPage. Neither file declares a DocOnThisPage of its own, so the canonical name does not collide. Pure rename, no render change.
BaseLayout passed class="py-(--spacing-xl)" to HeaderRightSidebar, but the component renders two root nodes (the trigger box and the Drawer) and does not bind $attrs, so Vue drops the class and logs an extraneous non-props attributes warning. Removing it changes nothing on screen and silences the warning.
GuidesHome hydrates with client:load and imported the full @aziontech/webkit/paginator compound, which also bundles PaginatorInfo and PaginatorPageSize. It only renders the root (with its #info slot) and PaginationButton, so it now imports paginator-root and pagination-button directly. Same components, smaller island.
SelectLang hydrates with client:visible and imported the full @aziontech/webkit/select compound, which also bundles SelectGroup. It now imports select-root, select-trigger, select-content and select-option directly. Same components, no render change.
HeaderSearchDialog loads on every page and imported the full @aziontech/webkit/command-menu compound, which also bundles CommandMenuSeparator. It now imports command-menu-root and the input, list, group, item and empty parts it renders. Same components, the meta+k shortcut stays on the root.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@aziontech/webkitadoption and review run onmain@f18dca254(@aziontech/webkit@5.3.0). Platform code only, no content.-rootimports on hydrated islands. None of them changes what renders.Applied
refactor(webkit): bind doc-on-this-page as DocOnThisPageWkDocOnThisPagebinding renamed to match its subpathapps/docs/src/components/webkit/OnThisPage.vue:2,15,apps/docs/src/components/RightSidebar/PricingTableOfContents.vue:2,6fix(webkit): drop the class HeaderRightSidebar never appliedclass="py-(--spacing-xl)"removed. The component has two roots and no$attrsbinding, so Vue dropped the class and warnedapps/docs/src/layouts/BaseLayout.astro:183perf(webkit): import the paginator root and button in GuidesHomepaginator→paginator-root+pagination-button(stops bundling PaginatorInfo and PaginatorPageSize)apps/docs/src/components/webkit/GuidesHome.vue:159-193,268perf(webkit): import select-root and its used parts in SelectLangselect→select-root+select-trigger,select-content,select-option(stops bundling SelectGroup)apps/docs/src/components/webkit/SelectLang.vue:6-26,31perf(webkit): import command-menu-root and its used parts in searchcommand-menu→command-menu-root+ the parts it renders (stops bundling CommandMenuSeparator)apps/docs/src/components/webkit/HeaderSearchDialog.vue:2-26,32Reviewer findings not applied
The 14
.vue/.ts/.jsfiles changed onmainin the last 7 days are clean. The findings below come from a whole-app pass.styles/main.css:69:--color-gray-200vs--border-muted(differs in dark mode).styles/main.css:74:--color-gray-400vs--text-disabled(differs in dark mode).webkit/CopyPromptButton.vue:14,18,25:--color-base-whiteand--color-brand-accent-*have no semantic token.HeaderSearchDialog.vue:32,HeaderRightSidebar.vue:14-69). Lazy-loading them moves themeta+kshortcut and delays the first open, so it changes behaviour..astrofiles. Theno-style-overriderule doesn't run there. Each needs a layout check before wrapping:homes/DocsHome.astro:58,107,163,189RightSidebar/DocCta.astro:59,72,80PageContent/PageContent.astro:120,139,173RightSidebar/RightSidebar.astro:76PageContent.astro:116,120,139,173,DocCta.astro:55,HomePages/Cardlist.astro:20,25,GuidesHomeSection.astro:64). The px tokens and the rem utilities differ when the user scales the font size.CopyPromptButton.vueforksbutton-highlight. It is blocked on ButtonHighlight getting a slot and a copied state (gap).Wk/Webkitaliases inDocPageHeader.vue:31,Tag.vue:16andCodeBlock.vue:8are kept on purpose: the canonical name equals the wrapper's own component name.Remaining adoption backlog (all need design)
The audit found no direct 1:1 swaps.
tag(Header.vue:21-25)empty-state(DocsSidebarMenu.vue:58-60,DocsSidebarRows.vue:23-28)tab-view(Tabs.vue:21-40)card-box/frame-box(AgentFaq.vue:2-6,PlatformTopology.vue:2-8)link(AgentQuickStart.vue:12-24,AgentPageHeader.vue:46-54,ProductGuidesTable.vue:13-20,AgentCompareTable.vue:20-26)field-checkbox(GuidesHome.vue:57-95)hero-title(DocsHome.astro:34-74,GuidesHomeSection.astro:64-73)button/link(pages/[lang]/404.astro:14;SplashLayoutloads no webkit CSS)doc-frame(Video.astro:54-63; blocked by DocFrame's SSRdocumentaccess)Gaps for the design system
kind="more"has no accessible name.NavigationMenu.Iconhas no default chevron.docs/mdx-allowed-importsviolations in content files.guides/index.mdx,guias/guides.mdxand bothpricing.mdximport.astrocomponents outside the allowlist.How to test
pnpm install --frozen-lockfilepnpm lint:webkit && pnpm report:webkit-adoption: still 4 violations, all in.mdxcontent. ✅pnpm build:local: completes, 2094 pages built. ✅pnpm dev, then check:/en/documentation/and any pricing page: the "On this page" rail renders and tracks headings.lg, the nav drawer opens. The console no longer logs the extraneous-attributes warning forHeaderRightSidebar.Notes
None. No new dependencies, no permalink changes, no content touched.