Skip to content

feat: Add bento section for vitnode home page - #883

Merged
aXenDeveloper merged 4 commits into
canaryfrom
feat/bento_section_home
Oct 17, 2026
Merged

aXenDeveloper merged 4 commits into
canaryfrom
feat/bento_section_home

Conversation

@aXenDeveloper

Copy link
Copy Markdown
Owner

Improving Documentation

Description

What?

Why?

@github-actions github-actions Bot added the 💡 Feature A new feature label Oct 17, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-17T20:48:21.091794Z be1711a New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

github-actions Bot commented Oct 17, 2026 •

Copy link
Copy Markdown

React Doctor found no new issues. 🎉

Reviewed by React Doctor for commit be1711a.

- Deleted the `navigation-tree.ts` file and its associated logic.
- Removed `ADMIN_NAVIGATION_PERMISSIONS` from `admin-permissions.ts`.
- Eliminated `ADMIN_NAVIGATION_SCREEN` from `admin-scope.ts`.
- Removed tests related to header navigation in `header-content.test.tsx`.
- Refactored `header-content.tsx` to simplify navigation rendering.
- Updated `header-nav-menu.tsx` to remove skeleton loading and use icons directly.
- Adjusted mobile navigation components to use icon components instead of strings.
- Cleaned up navigation configurations in example and forum plugins.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b26b96870d

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

);
}

return file.startsWith("/") && !file.includes("/node_modules/");

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Recognize Windows paths as application frames

On Windows, normalizeFile() converts file:///C:/... stack entries to drive-letter paths such as C:\app\src\route.ts, but this predicate only accepts paths beginning with /. Server-side application frames are therefore classified as framework frames, so the new error page cannot select or read the first application source frame and hides the useful stack by default. Use platform-aware absolute-path and node_modules checks instead.

Useful? React with 👍 / 👎.

Comment on lines +71 to +74
const tick = (now: number) => {
if (!origin) origin = now - elapsed
setT((now - origin) % cycle)
frame = requestAnimationFrame(tick)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid re-rendering the scene on every animation frame

Whenever this homepage tile is visible and reduced motion is disabled, the animation loop calls setT on every display frame indefinitely. That forces React to reconcile the entire collaborative-editor illustration at roughly the refresh rate for a decorative animation, increasing CPU use and battery drain on the public mobile homepage. Update only when a character or animation phase changes, or move the continuous portion to CSS.

Useful? React with 👍 / 👎.

Comment on lines +40 to +42
const report = reportedErrorOf(window.__vitnodeDevError);

return report.message === reportedErrorOf(error).message ? report : null;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Consume the server error report only once

After an SSR route error, window.__vitnodeDevError is never cleared when the user navigates away through the SPA. If a later browser-side error has the same message—a common case for generic errors such as fetch failed—this message-only comparison reuses the old server stack, path, hints, and runtime label, so the overlay diagnoses the wrong failure. Clear the report after hydration consumes it or match it with a per-error identifier.

Useful? React with 👍 / 👎.

@aXenDeveloper
aXenDeveloper merged commit 13d4fa6 into canary Oct 17, 2026
5 checks passed
@aXenDeveloper
aXenDeveloper deleted the feat/bento_section_home branch October 17, 2026 20:45

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: be1711a278

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


return {
hints,
message: typeof message === "string" ? message : JSON.stringify(error),

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Safely stringify non-Error throws

When application code throws a circular object or an object containing a BigInt, this fallback throws from JSON.stringify while the development error page is itself rendering. Because TanStack error boundaries accept any thrown value, this replaces the original failure with a serialization error and prevents the overlay from diagnosing it; use a non-throwing serializer with a guaranteed string fallback.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

💡 Feature A new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant