Skip to content

[admin panel] Remakes #4853

Description

@benfurber

User story

As an admin, I want to see an overview of all remakes with a link to each one's live location, so that I can review this content without needing Retool.

Background

We're continuing the move of admin functionality out of Retool and into the app itself 🎉 This issue covers a new read-only admin page for remakes (remakes table) — the "I made this" submissions members post against a project.

  • Database table: remakes
  • Route: follow the existing pattern, e.g. src/routes/_.admin.remakes.tsx
  • Page component: follow the existing pattern, e.g. src/pages/Admin/Remakes/RemakesPage

Acceptance criteria

  • Given I'm signed in as an admin, when I visit the remakes admin page, then I see a list of existing remakes and can find the page via the admin navigation.
  • Given I'm viewing the remakes list, when I look at a row, then I see: which project it's a remake of, who created it, a preview of the description, and a preview image (if available).
  • Given I'm viewing a remake, when I click through on it, then I'm taken to the live location where it's shown on the project's page.
  • Given I'm viewing a remake's creator, when I click through on their name, then I'm taken to their public profile.
  • Given I'm on this page, when I look for create/edit/delete controls, then I don't find any — this page is display only.
  • Given I'm signed in as a non-admin, when I try to access this page, then I'm not able to.

Implementation notes

  • The best existing reference for structure and conventions is src/pages/Admin/Categories/CategoriesPage, and its route src/routes/_.admin.categories.tsx — please follow the same shape for the list/table view unless there's a good reason not to.
  • If a new UI component is genuinely needed, please follow the guidance in src/components/ui/README.md.
  • For visual/UX conventions (spacing, layout, empty states, etc.), PR #4819 is a good reference.
  • Relevant fields on remakes: project_id (→ projects), created_by (→ profiles), description, images, created_at.

Out of scope

  • Any moderation actions (removing or flagging a remake) — this page is for visibility only.
  • Full project detail — covered separately under Projects; this page focuses on the remake itself.

Note

  • remakes.project_id links to projects.id — the "live location" link should resolve to that project's page (remakes are typically shown as a section within a project, not as their own standalone page) — worth confirming the exact URL/anchor pattern with whoever built that section.

Activity

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

Metadata

Metadata

Assignees

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions