Skip to content

fix: plan structures#146

Merged
CodeMeAPixel merged 1 commit into
productionfrom
development
Jul 13, 2026
Merged

fix: plan structures#146
CodeMeAPixel merged 1 commit into
productionfrom
development

Conversation

@CodeMeAPixel

@CodeMeAPixel CodeMeAPixel commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Summary by CodeRabbit

  • New Features
    • Added Palworld to the supported game offerings.
    • Plan details now display location, database availability, and automatic backup support when provided.
    • Dedicated, game, and VPS plan cards have improved content alignment and sizing.
    • Category listings now include their parent hub alongside subcategories.
  • Bug Fixes
    • Improved specification parsing for location, database counts, backups, and HTML-formatted descriptions.
  • Updates
    • Release listings now use an updated set of repositories.

@CodeMeAPixel CodeMeAPixel merged commit f9c7063 into production Jul 13, 2026
8 of 9 checks passed
@coderabbitai

coderabbitai Bot commented Jul 13, 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: 3e20a696-e5d4-4b2d-a73d-eae71f035c5a

📥 Commits

Reviewing files that changed from the base of the PR and between f6d4e10 and b119caa.

📒 Files selected for processing (11)
  • app/api/github/releases/route.ts
  • packages/core/constants/supported-games.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/ui/components/Layouts/Dedicated/dedicated-hub.tsx
  • packages/ui/components/Layouts/Games/game-hub.tsx
  • packages/ui/components/Layouts/VPS/vps-hub.tsx

📝 Walkthrough

Walkthrough

Plan description parsing now extracts location, database, and backup metadata, propagates it through billing plans, and displays it in game, dedicated, and VPS cards. Category trees, default repositories, and supported games were also updated.

Changes

Plan metadata flow

Layer / File(s) Summary
Metadata contracts and parsing
packages/core/lib/spec-parser.ts, packages/core/types/servers/*
Plan specs now support location, database counts, and backup indicators; description parsing extracts these values and normalizes HTML bullets.
Billing plan propagation
packages/core/products/billing-service.ts
Game, dedicated, and VPS plan builders include the parsed metadata in returned plan objects.
Plan metadata display
packages/ui/components/Layouts/{Dedicated,Games,VPS}/*
Plan cards conditionally render location, database, and backup rows while removing full-height card styling and aligning grid items to the start.

Category tree structure

Layer / File(s) Summary
Hub category normalization
packages/core/lib/bytepay.ts
Each category hub is included as a leaf child before its actual sub-categories.

Platform defaults

Layer / File(s) Summary
Repository and game defaults
app/api/github/releases/route.ts, packages/core/constants/supported-games.ts
The default release repositories were revised, and Palworld was added to the supported game list with updated ordering.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Sequence Diagram(s)

sequenceDiagram
  participant ProductDescription
  participant BillingService
  participant PlanCard
  ProductDescription->>BillingService: provide description
  BillingService->>BillingService: parse location, databases, backups
  BillingService-->>PlanCard: return enriched plan
  PlanCard->>PlanCard: render conditional metadata rows
Loading

Possibly related PRs

✨ 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.

1 participant