Nolann Biron
d25cc924e4
Gate AIChatProvider
2026-07-16 10:58:03 +02:00
Nolann Biron
68e50d68e5
revert link + re-add optimizePackage
2026-07-16 10:13:07 +02:00
Nolann Biron
46b43c4372
prefetch TOC on hover
2026-07-16 09:58:10 +02:00
Nolann Biron
f8fd5e2bb4
revert some changes
2026-07-16 09:30:39 +02:00
Nolann Biron
9ab6cfb878
quick review
2026-07-16 00:16:17 +02:00
Nolann Biron
c9a637e0d9
fix openapi styling
2026-07-15 23:03:23 +02:00
Nolann Biron
c16ab0a2ce
fixes
2026-07-15 22:27:53 +02:00
Nolann Biron
fe20392d21
changeset
2026-07-15 21:15:42 +02:00
Nolann Biron
8a81d77151
Trim client bundle via optimizePackageImports and a modern browserslist
...
Enable Next.js optimizePackageImports for motion, @gitbook/icons and react-aria so barrel imports tree-shake to only the used entrypoints. Raise the browserslist target to Chrome 93 / Edge 93 / Firefox 92 / Safari 15.4 so modern syntax (Array.prototype.at, Object.hasOwn, etc.) is no longer down-compiled and polyfilled across the whole client bundle.
2026-07-15 21:15:23 +02:00
Nolann Biron
55ac341cc9
Lazy-load OpenAPI and ContentKit stylesheets
...
The OpenAPI/Scalar stylesheet (~148KB raw, unpurgeable) and the ContentKit stylesheet were statically imported by the block dispatcher, so they shipped in every page's render-blocking CSS regardless of whether the page used those blocks. They now load on demand only when an OpenAPI or integration block renders, mirroring the existing KaTeX CSS pattern.
2026-07-15 21:15:23 +02:00
Nolann Biron
2f5b0a7f8a
Lazy-load the admin toolbar for anonymous visitors
...
The admin toolbar (and the Framer Motion it pulls in) shipped to every visitor and only decided client-side whether to render, so anonymous readers downloaded and executed it just to render nothing. It is now split behind a lightweight gate that dynamically imports the full toolbar only for editor/change-request/revision views and authenticated organization members.
2026-07-15 21:15:23 +02:00
Nolann Biron
99f751c060
Defer search index loading until search is opened
...
Every page previously preloaded and fetched the whole-site search index (~441KB) plus FlexSearch on load, even when search was never used. The index and FlexSearch now load on first search intent (open/query), the results UI is code-split, and the index payload dedupes repeated breadcrumbs into a shared table (version 2, backward-compatible with version 1).
2026-07-15 21:15:23 +02:00
Zeno Kapitein
c41cf9c12a
Add cover image background mode and mask ( #4213 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-15 18:02:53 +02:00
Zeno Kapitein
3d376845d7
Add a carousel layout for cards blocks ( #4393 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-15 16:17:00 +02:00
Nolann B.
bcd4d4e980
Remove MCP test that recorded real feedback in production ( #4399 )
2026-07-15 10:42:20 +02:00
Addison
88b1919a45
Add centered GitBook logo to README ( #4401 )
...
Co-authored-by: Claude Sonnet 5 <noreply@anthropic.com >
2026-07-15 17:31:04 +09:00
Steven H
cf94386c16
fix an issue where certain keywords could cause an exception when rendering emojis ( #4397 )
2026-07-14 19:08:09 +00:00
Zeno Kapitein
e77bf32d51
Update customer e2e test URL after redirect ( #4398 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-14 18:24:14 +00:00
Zeno Kapitein
a69a307de2
Take a near-neutral extreme tint as the exact site background ( #4392 )
2026-07-13 20:37:08 +02:00
Zeno Kapitein
39156ee9c3
Support button sizes in the button block ( #4394 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-13 20:03:52 +02:00
spastorelli
47ac3e2c81
Only advertise OAuth PRM doc for the auth MCP endpoint on non-VA sites ( #4387 )
2026-07-10 15:24:33 +02:00
Zeno Kapitein
e73b182925
Declare embed standalone bundle as a Turbo build output (RND-11876) ( #4386 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-07-10 13:51:48 +02:00
claude[bot]
a9a52fee72
RND-11356: remove redundant GBO best-section re-selection ( #4375 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Zeno Kapitein <zeno@gitbook.io >
2026-07-10 13:25:26 +02:00
Greg Bergé
cb92754575
Add a navigate action to integration block webframes ( #4362 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-10 11:24:33 +02:00
Zeno Kapitein
49d35aa026
Let visitors type a follow-up while the Assistant is answering (RND-11789) ( #4377 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-07-09 21:00:01 +02:00
Nolann B.
98b2df42ef
Add sendFeedback MCP tool for reporting documentation findings ( #4384 )
...
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
2026-07-09 15:17:32 +02:00
Zeno Kapitein
6cf4278f14
Only show "Back to [space]" for table-of-contents cross-space links ( #4381 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-09 14:32:11 +02:00
Zeno Kapitein
86c44299eb
docs(agents): discourage multi-line block comments ( #4382 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-07-09 14:16:26 +02:00
claude[bot]
89c4a0f808
feat(mcp): add askQuestion tool to the site MCP server ( #4372 )
...
Co-authored-by: Claude <noreply@anthropic.com >
Co-authored-by: Zeno Kapitein <zeno@gitbook.io >
2026-07-09 13:11:05 +02:00
Nolann B.
8e9a49de1a
Separate prompt block actions ( #4379 )
2026-07-08 16:11:26 +02:00
Zeno Kapitein
4e9071d1b5
Fix docs embed navigateToPage for cross-space/section deep links ( #4374 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-08 11:02:49 +02:00
Nolann B.
597fe34d3b
Sync responses selector with the Responses collapsibles ( #4376 )
2026-07-08 09:08:21 +02:00
claude[bot]
e14609cb3e
fix(theme): resolve system theme before first paint to avoid dark/light flash (RND-11643) ( #4373 )
...
Co-authored-by: Claude <noreply@anthropic.com >
2026-07-07 20:10:02 +02:00
Zeno Kapitein
57f3077006
Keep the page outline and Ask button in view while scrolling API reference pages ( #4371 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-07 19:10:55 +02:00
conico974
e24632c80b
Integrate GitBook image resizing service and remove cdn-cgi mode ( #4285 )
2026-07-07 16:21:32 +02:00
Zeno Kapitein
ad3399b42e
Refine the per-paragraph ask button (shorter tooltip, hide inside cards) ( #4365 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-06 19:27:04 +02:00
Brett Jephson
f3408ed495
A11y fix: table structure ( #4368 )
2026-07-06 16:58:23 +01:00
Brett Jephson
8676ad19e2
RND-11788: hide unlabelled button from screen readers ( #4369 )
2026-07-06 16:58:02 +01:00
Samy Pessé
3a31100efe
Version Packages ( #4335 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-07-06 12:52:44 +00:00
Greg Bergé
3fedaaa08c
Install eval-estree-expression from npm instead of a GitHub commit ( #4367 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-06 12:31:54 +00:00
Nolann B.
bcea23e886
Handle nullable expressed via anyOf/oneOf with a null member ( #4366 )
2026-07-06 12:33:02 +02:00
Zeno Kapitein
fdea8f1c47
Show section, variant & section groups in page breadcrumbs ( #4357 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-06 11:49:47 +02:00
Zeno Kapitein
139b897521
Improve language selector on mobile ( #4361 )
2026-07-06 11:03:39 +02:00
Greg Bergé
37c2dd8819
Fix flaky customer screenshots caused by the cookie banner ( #4363 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-07-05 22:06:20 +02:00
Zeno Kapitein
62ca6d3ce5
Show a "Back to [space]" shortcut when a link leads to another space ( #4358 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-03 12:36:07 +02:00
Nolann B.
6102413d6b
Reuse shared AI mode helpers across AI actions and UI ( #4355 )
2026-07-02 23:19:07 +02:00
Zeno Kapitein
eaef259a80
Refresh e2e customer list ( #4360 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-02 19:34:09 +02:00
Zeno Kapitein
578a3a829b
Fix section tab dropdowns clipping their contents during animation ( #4356 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-02 12:06:41 +00:00
Zeno Kapitein
c923c654bd
Fix centered paragraphs shifting left with the paragraph ask button ( #4354 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-07-02 12:19:24 +02:00
Nolann B.
65fd3cc101
Gate AI features server-actions ( #4353 )
2026-07-02 11:37:03 +02:00