thoughtbot / thoughtbot/administrate
Can't display resources for which there is no dashboard
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Description
- What were you trying to do?
Displaying (small display with display_resource) a resource for which there is no dashboard.
- What did you end up with (logs, or, even better, example apps are great!)?
The app breaks as it requires a dashboard.
-
What versions are you running?
- Rails 6.1
- administrate 0.16
-
Additional information
This was first raised at https://github.com/thoughtbot/administrate/pull/346#issuecomment-986244231 by @nickrivadeneira. It wasn't possible to reopen, and it's a slightly different use case anyway, so I'm creating a new issue to track that.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the failure with Rails 6.1 and administrate 0.16 using the display_resource entry point for a resource without a dashboard. Trace where the dashboard requirement is enforced; done means the resource can be displayed without a dashboard. The issue names no file or test, so locating the relevant coverage is part of the investigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rails, ruby
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100