Zeno Kapitein
799f3fb913
Merge remote-tracking branch 'origin/main' into claude/exciting-brahmagupta-7cd6fa
...
# Conflicts:
# packages/react-openapi/src/OpenAPICodeSampleSelector.tsx
# packages/react-openapi/src/context.ts
2026-06-19 10:42:29 +02:00
Nolann B.
f4469b2df3
Support OpenAPI one-operation-per-page mode ( #4314 )
2026-06-19 10:35:09 +02:00
Nolann B.
91b325ca08
Add AI chat reference button on text selection ( #4326 )
2026-06-19 10:18:07 +02:00
Nolann B.
1616028426
Align code block action buttons vertically with the block ( #4327 )
2026-06-19 10:03:37 +02:00
Nolann B.
6c15d8314a
Update OpenAPI border radius ( #4323 )
2026-06-18 23:25:19 +02:00
Zeno Kapitein
6c967c9bcc
Add search and filters to table blocks ( #4322 )
...
Co-authored-by: utkuufuk <utkuufuk@gmail.com >
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-18 10:41:40 +02:00
Johan Preynat
c44d822fe1
Trust cookieless integration content host for WebFrames ( #4321 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-17 18:08:25 +02:00
Zeno Kapitein
af3cda1c53
Fix wide content overflowing hint blocks ( #4320 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-17 13:32:53 +02:00
Tomek
a0ad403a91
Stabilize Playwright Chrome text rendering across platforms ( #4318 )
2026-06-17 09:21:16 +00:00
Zeno Kapitein
0ca49523a2
Remove external link button from link tooltip hover card ( #4316 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-17 10:52:02 +02:00
Zeno Kapitein
76550415ac
Fix ⌘-C opening the Assistant on Dvorak keyboard layouts ( #4311 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-17 10:51:20 +02:00
Nolann B.
509389c7e5
Update @gitbook/api to latest version ( #4315 )
2026-06-16 14:30:10 +02:00
Nolann B.
88b94b5d36
Handle circular oneOf with discriminator and allOf in OpenAPI schemas ( #4070 )
2026-06-16 13:34:17 +02:00
Greg Bergé
251630c49f
Use page actions items list for ordering and default action ( #4302 )
...
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com >
2026-06-15 15:19:20 +02:00
Zeno Kapitein
acf2719d06
Stabilize AI Assistant visual regression tests ( #4305 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-15 14:19:56 +02:00
Zeno Kapitein
a5e1f864e3
Scope code-sample icon spacing to the selector
...
Apply the language/assistant icon spacing via a margin on the icon nodes instead of adding gaps to the shared .openapi-select-item / SelectValue rules. This keeps other OpenAPI selectors (media-type, response examples) visually unchanged, instead of shifting e.g. the response status code + label spacing.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 18:46:42 +02:00
Zeno Kapitein
ddba8031ec
Reference the current page when opening the Assistant ( #4308 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 18:35:15 +02:00
Zeno Kapitein
581eabe383
Add Custom language option to OpenAPI code samples
...
OpenAPI code-sample blocks now show a language icon next to every option and add a "Custom language" entry that opens the assistant pre-filled (as a draft, not sent) with the current request staged as a reference and the prompt "Rewrite this in the following language: ", letting readers rewrite the request in any language.
- react-openapi: new OpenAPICodeSampleAssistant context the host app fills in; the selector renders per-language icons and the Custom action item (OpenAPISelect gains an action/onAction concept so it fires without changing the selection). Adds getCodeSampleIcon to the render context and 3 translation keys across all locales.
- gitbook: new setDraft controller method + inputDraft state so the chat input can be pre-filled without sending; OpenAPICodeSampleAIProvider bridges the GitBook assistant (logo, name, reference + draft action) into react-openapi, mounted once in SpaceLayout (covers site and embed); maps languages to icons.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 18:29:12 +02:00
Zeno Kapitein
72a1596ae8
Fix AI assistant forms overflowing the chat panel ( #4309 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 17:22:57 +02:00
Nolann B.
5b36c59061
Fix PDF export failing on API Reference pages ( #4307 )
2026-06-12 13:43:38 +00:00
Zeno Kapitein
77c717c251
Group an assistant turn's tool calls into a single expandable ( #4303 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 15:26:27 +02:00
Samy Pessé
60310b4c83
Version Packages ( #4278 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2026-06-12 14:55:55 +02:00
conico974
6eabaecbad
Implement getVariables method for expression evaluation ( #4304 )
2026-06-12 14:26:17 +02:00
Zeno Kapitein
423bbd06d9
Create Claude launch.json ( #4301 )
2026-06-12 12:52:24 +02:00
conico974
36f19c8018
Add LLMs directive for documentation links ( #4300 )
2026-06-12 12:09:25 +02:00
Zeno Kapitein
2ecbdd8f62
add navigateToPage assistant tool ( #4299 )
...
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com >
2026-06-12 11:57:55 +02:00
Nolann B.
c727cc8b9d
Fix inflated visitor counts from unstable anonymous visitorId ( #4293 )
2026-06-12 00:52:59 +02:00
Zeno Kapitein
2c729d461e
Rework Assistant “based on your context” popover wording ( #4298 )
2026-06-11 22:19:32 +02:00
Tomek
d83ea4ce14
chore(a11y): increase width of the collapse/expand arrow in menu items ( #4297 )
2026-06-11 14:02:38 +00:00
spastorelli
bac8608e78
Add support for passing visitor claims to integration webframes ( #4291 )
2026-06-11 09:52:26 +02:00
Greg Bergé
7a1236a3a5
Fix search results linking to page instead of section anchor ( #4295 )
...
Co-authored-by: Claude Fable 5 <noreply@anthropic.com >
2026-06-10 19:23:59 +00:00
Zeno Kapitein
ed80bd9e7a
Add recent search (and chat) queries ( #4225 )
2026-06-10 18:45:07 +02:00
Zeno Kapitein
7036b67307
Fix window.GitBook.registerAssistant is being called twice ( #4296 )
2026-06-10 15:54:38 +00:00
Zeno Kapitein
6bd522b322
Update site section tabs with better column calc and animations ( #4252 )
2026-06-10 17:35:38 +02:00
Zeno Kapitein
74fc3f74d7
Fix: Submit feedback confirmation does not auto close ( #4240 )
2026-06-10 17:35:29 +02:00
conico974
3e384c679e
Add suggested follow-up questions to AI answer markdown response ( #4284 )
2026-06-10 17:29:08 +02:00
Greg Bergé
f1fa1061db
Upgrade bun.lock ( #4294 )
2026-06-10 17:09:10 +02:00
Addison
4f754a73a3
Add information about GitBook to page markdown ( #4292 )
2026-06-09 19:53:07 +02:00
conico974
62d6d28888
Fix context handling in resolveContentRef for page resolution issues ( #4290 )
2026-06-09 15:10:03 +02:00
conico974
fd73a9912b
Fix caching strategy for icon fetching ( #4289 )
2026-06-08 13:46:32 +02:00
Johan Preynat
595435ac4a
Ensure local search matches remote filter when there are no sections ( #4287 )
2026-06-04 19:14:54 +02:00
Addison
aa9d41a1b6
Update footer for llms ( #4286 )
2026-06-04 16:19:02 +02:00
conico974
30089b404c
Adjust caching strategy for icon fetching based on runtime environment ( #4283 )
...
Co-authored-by: Steven H <steven@gitbook.io >
2026-06-02 12:00:38 +02:00
Nolann B.
92b68560e1
Add Ask AI in CodeBlock ( #4220 )
2026-06-02 00:40:54 +02:00
Nolann B.
f158064817
Match OpenAPI operation paths regardless of trailing slash ( #4282 )
2026-05-29 12:16:24 +02:00
Greg Bergé
2885a137f8
Fix heading anchor alignment with heading text and translate its accessibility label ( #4281 )
2026-05-29 09:38:47 +02:00
spastorelli
0ffb74a6f8
Fix issue where MCP POST requests with expired tokens returns 307 instead of 401 ( #4280 )
2026-05-28 16:35:12 +02:00
Nolann B.
b116a0a2a4
Fix OpenAPI code sample box not scrolling on initial load ( #4279 )
2026-05-28 12:04:32 +02:00
Greg Bergé
b9bb535d52
Full screen view for Mermaid diagrams ( #4275 )
...
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com >
2026-05-28 09:17:21 +02:00
Samy Pessé
257ca09a5e
Version Packages ( #4263 )
...
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Tomek Gargula <tomasz@gitbook.com >
2026-05-28 07:12:45 +00:00