Skip to content

refactor: fix temporary brand filtering on admin CPU and GPU pages #396

@coderabbitai

Description

@coderabbitai

Admin CPU and GPU pages currently hard-filter the brands list client-side as a temporary workaround.

Files with TODO comments:

  • src/app/admin/cpus/page.tsx line 80 — only keeps 'Intel', 'AMD', 'Apple'
  • src/app/admin/gpus/page.tsx line 81 — only keeps 'Intel', 'AMD', 'NVIDIA'

Action required:

  • Add a server-side filter to the brands router/repository that accepts a category (e.g., cpu, gpu) parameter.
  • Remove the client-side hard-coded brand filtering.

Requested by @Producdevity — related to PR #375

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions