Skip to content

Development#120

Merged
NodeByteLTD merged 2 commits into
productionfrom
development
Jul 5, 2026
Merged

Development#120
NodeByteLTD merged 2 commits into
productionfrom
development

Conversation

@NodeByteLTD

@NodeByteLTD NodeByteLTD commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features

    • Added dedicated server hosting pages and navigation, including plan browsing, filtering, and ordering.
    • Knowledge Base now supports nested categories and articles with improved breadcrumbs, sidebar navigation, and search links.
    • Pricing can now show native per-currency amounts when available.
  • Bug Fixes

    • Fixed several Knowledge Base routing and sidebar issues for subcategories and article links.
    • Improved mobile theme dropdown scrolling and corrected a few display/layout quirks across pages.

@NodeByteLTD NodeByteLTD requested a review from CodeMeAPixel as a code owner July 5, 2026 05:40
@vercel

vercel Bot commented Jul 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
website Building Building Preview, Comment Jul 5, 2026 5:40am

@NodeByteLTD NodeByteLTD merged commit 791da5c into production Jul 5, 2026
8 of 10 checks passed
@coderabbitai

coderabbitai Bot commented Jul 5, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 36bf548e-e85b-4ca0-8776-903871bf0b79

📥 Commits

Reviewing files that changed from the base of the PR and between af0094a and 9d2df90.

📒 Files selected for processing (53)
  • CHANGELOG.md
  • app/api/billing-debug/route.ts
  • app/dedicated/page.tsx
  • app/games/hytale/page.tsx
  • app/games/minecraft/page.tsx
  • app/games/rust/page.tsx
  • app/kb/[...path]/page.tsx
  • app/kb/[category]/[article]/page.tsx
  • app/kb/[category]/page.tsx
  • app/kb/page.tsx
  • app/vps/page.tsx
  • packages/core/constants/game/hytale.ts
  • packages/core/constants/links.ts
  • packages/core/constants/product-overrides.ts
  • packages/core/constants/services.ts
  • packages/core/lib/bytepay.ts
  • packages/core/lib/spec-parser.ts
  • packages/core/products/billing-service.ts
  • packages/core/types/servers/dedicated.ts
  • packages/core/types/servers/game.ts
  • packages/core/types/servers/vps.ts
  • packages/kb/components/kb-article-card.tsx
  • packages/kb/components/kb-article.tsx
  • packages/kb/components/kb-category-card.tsx
  • packages/kb/components/kb-search.tsx
  • packages/kb/components/kb-sidebar.tsx
  • packages/kb/content/billing/_meta.json
  • packages/kb/content/games/hytale/operating-yourself.md
  • packages/kb/content/games/hytale/setting-motd.md
  • packages/kb/content/games/hytale/setting-server-name.md
  • packages/kb/content/games/hytale/setting-server-password.md
  • packages/kb/content/games/hytale/setting-up-hytale.md
  • packages/kb/content/games/rust/_meta.json
  • packages/kb/content/games/rust/add-additional-ports.md
  • packages/kb/content/games/rust/connect-to-server.md
  • packages/kb/content/games/rust/enabling-rust+.md
  • packages/kb/content/games/rust/getting-started.md
  • packages/kb/content/games/rust/oxide-installation.md
  • packages/kb/lib/kb.ts
  • packages/ui/components/Layouts/About/about-page.tsx
  • packages/ui/components/Layouts/Contact/contact.tsx
  • packages/ui/components/Layouts/Dedicated/dedicated-hub.tsx
  • packages/ui/components/Layouts/Error/error-page.tsx
  • packages/ui/components/Layouts/Error/not-found-page.tsx
  • packages/ui/components/Layouts/Games/game-pricing.tsx
  • packages/ui/components/Layouts/Home/hero.tsx
  • packages/ui/components/Layouts/Nodes/nodes-client.tsx
  • packages/ui/components/Layouts/VPS/vps-hero.tsx
  • packages/ui/components/Layouts/VPS/vps-hub.tsx
  • packages/ui/components/Static/footer.tsx
  • packages/ui/components/Static/navigation.tsx
  • packages/ui/components/theme-toggle.tsx
  • packages/ui/components/ui/price.tsx

📝 Walkthrough

Walkthrough

This PR introduces a bytepay/Paymenter billing integration with a spec parser and billing-service plan builders, adding native per-currency pricing across game, VPS, and dedicated server plans. It adds a Dedicated Server Hosting feature, refactors KB routing into a recursive catch-all route with a rebuilt data model, and replaces animated background orbs with radial-gradient glows plus minor navigation/footer/theme adjustments.

Changes

Billing integration and product-driven plans

Layer / File(s) Summary
Plan type contracts and product overrides
packages/core/types/servers/dedicated.ts, packages/core/types/servers/game.ts, packages/core/types/servers/vps.ts, packages/core/constants/product-overrides.ts
Adds DedicatedPlanSpec, extends GamePlanSpec/VpsPlanSpec with prices and widened hardware/series unions, and defines POPULAR_SLUGS/DEFAULT_DDOS.
Bytepay client and spec parser
packages/core/lib/bytepay.ts, packages/core/lib/spec-parser.ts
Implements a Paymenter JSON:API client normalizing products/plans/prices with pagination, plus a spec parser extracting CPU/RAM/storage/bandwidth/hardware details and product name parsing.
Billing service plan builders
packages/core/products/billing-service.ts
Implements getGamePlans, getDedicatedPlans, getVpsPlans using cached products, parsed specs, and overrides.
Pages consuming billing-service plans
app/dedicated/page.tsx, app/vps/page.tsx, app/games/hytale/page.tsx, app/games/minecraft/page.tsx, app/games/rust/page.tsx, app/api/billing-debug/route.ts, packages/core/constants/services.ts, packages/core/constants/game/hytale.ts, packages/core/constants/links.ts
Fetches plans dynamically instead of static constants, adds a dev-only billing-debug route, adds dedicated service category, and renames hytale display keys.
Dedicated hub UI and native-price rendering
packages/ui/components/Layouts/Dedicated/dedicated-hub.tsx, packages/ui/components/ui/price.tsx, packages/ui/components/Layouts/Games/game-pricing.tsx, packages/ui/components/Layouts/VPS/vps-hub.tsx, packages/ui/components/Static/navigation.tsx
Adds DedicatedHub component, updates Price for per-currency native pricing, wires prices through game/VPS pricing UI, and adds dedicated-servers nav entries.

Knowledge base recursive routing and sidebar

Layer / File(s) Summary
KB data model and recursive helpers
packages/kb/lib/kb.ts, packages/kb/content/billing/_meta.json
Reworks KBArticleMeta/KBCategory into recursive tree types, adds SidebarItem, and refactors category/article/path helpers for nested categories; fixes invalid _meta.json.
Recursive KB page route
app/kb/[...path]/page.tsx, app/kb/[category]/page.tsx (removed), app/kb/[category]/[article]/page.tsx (removed), app/kb/page.tsx
Replaces separate category/article routes with a single catch-all route handling metadata, breadcrumbs, and rendering.
KB UI components using categoryPath
packages/kb/components/kb-article-card.tsx, kb-article.tsx, kb-category-card.tsx, kb-search.tsx, kb-sidebar.tsx
Updates components to use categoryPath/path fields and render the recursive sidebar tree.

UI cosmetic and navigation cleanup

Layer / File(s) Summary
Radial-gradient background glow replacement
packages/ui/components/Layouts/About/about-page.tsx, Contact/contact.tsx, Error/error-page.tsx, Error/not-found-page.tsx, Home/hero.tsx, Nodes/nodes-client.tsx, VPS/vps-hero.tsx
Replaces animated blurred orb backgrounds with static radial-gradient glow overlays.
Navigation blur and footer link updates
packages/ui/components/Static/navigation.tsx, theme-toggle.tsx, footer.tsx
Adjusts navbar blur and theme dropdown scroll, and reorders/updates footer links and bottom bar content.

Estimated code review effort: 4 (Complex) | ~75 minutes

Possibly related PRs

  • NodeByteHosting/website#106: Both PRs modify the Knowledge Base routing/data layer, touching overlapping getAllArticles/KB page component logic.

Suggested reviewers: CodeMeAPixel

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch development

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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