Skip to content

feat: add support for icons in tabs#4277

Merged
tgargula merged 7 commits into
mainfrom
tomasz/rnd-8700-add-support-for-icons-in-tabs
May 27, 2026
Merged

feat: add support for icons in tabs#4277
tgargula merged 7 commits into
mainfrom
tomasz/rnd-8700-add-support-for-icons-in-tabs

Conversation

@tgargula
Copy link
Copy Markdown
Contributor

@tgargula tgargula commented May 27, 2026

Improvements

  • add icons to the tabs
  • fix pre-existing formatting issues

Demo

image

tgargula and others added 4 commits May 27, 2026 10:15
Moves the Pages Router API route to an App Router Route Handler, removing
the pages/ directory entirely. This fixes the build error:

  Error: <Html> should not be imported outside of pages/_document

which occurs in hybrid mode (App Router + Pages Router) when Next.js
tries to statically generate the Pages Router /404 page.

- Delete: packages/gitbook/src/pages/api/~gitbook/force-revalidate.ts
- Create: packages/gitbook/src/app/~gitbook/force-revalidate/route.ts
- Uses withVerifySignature + revalidatePath (App Router equivalents)

Note: the endpoint URL changes from /api/~gitbook/force-revalidate
to /~gitbook/force-revalidate.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@tgargula tgargula self-assigned this May 27, 2026
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 27, 2026

RND-8700

@argos-ci
Copy link
Copy Markdown

argos-ci Bot commented May 27, 2026

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
customers-v2-cloudflare (Inspect) ✅ No changes detected - May 27, 2026, 3:14 PM
customers-v2-vercel (Inspect) 👍 Changes approved 9 changed May 27, 2026, 3:13 PM
v2-cloudflare (Inspect) 👍 Changes approved 8 changed May 27, 2026, 3:19 PM
v2-vercel (Inspect) 👍 Changes approved 9 changed May 27, 2026, 3:19 PM

@tgargula tgargula marked this pull request as ready for review May 27, 2026 14:42
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented May 27, 2026

🦋 Changeset detected

Latest commit: ed9ba95

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

tgargula added 2 commits May 27, 2026 17:05
@tgargula tgargula merged commit f405fff into main May 27, 2026
25 of 26 checks passed
@tgargula tgargula deleted the tomasz/rnd-8700-add-support-for-icons-in-tabs branch May 27, 2026 15:22
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.

2 participants