Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

list: Supplied override code removes create/show/edit buttons

Open
#512 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
react, typescript
Domain
frontend

Research direction

Start with the supplied ListGuesser.tsx lines 27-40 and AdminGuesser.tsx lines 52-57, then compare the overriding implementation discussed in #63. Reproduce the override on API Platform 3.4.4 and verify that overriding one resource preserves the create, show, and edit buttons without requiring definitions for every resource.

Written by the indexing model from the issue text.

Description

API Platform version(s) affected: 3.4.4

Description
When using the override code provided, the buttons for create/show/edit disappear.
https://github.com/api-platform/admin/blob/47e05b0734d97bdfa8c23d660b3ef3d53c434d05/src/ListGuesser.tsx#L27-L40

Also, having to define all resources in order to override just one seems really silly.
https://github.com/api-platform/admin/blob/47e05b0734d97bdfa8c23d660b3ef3d53c434d05/src/AdminGuesser.tsx#L52-L57

The overriding implementation by #63 no longer works. Is there a better way to do this?

Dominant language
TypeScript
Stars
516
Forks
134
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from api-platform/admin

All issues in api-platform/admin

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.