Add a way for a resource to hide sections in resource details
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
### Is there an existing issue for this?
- [x] I have searched the existing issues
### Is your feature request related to a problem? Please describe the problem.
Resource detail has a bunch of sections:
* Resource properties
* Endpoints
* Volumes
* Health checks
* Env vars
* Relationships (future?)
* Wait for (future? - could be part of relationships)
Today they're almost all always shown (one exception is `Volumes` which is hardcoded to only shown for containers).
Always showing these sections is noisey and can be strange for custom resources where these things are never valid. For example, a Postgres database resource is never going to have endpoints, volumes, env vars, etc.

### Describe the solution you'd like
There should be a difference between "I don't have an endpoint", e.g. a .NET worker app, and "I don't support endpoints", e.g. a postgres database resource.
Perhaps there should be fields on a resource to say if it can have these things, e.g. `is_endpoints_supported`, `is_volumes_supported`. That data can be used to control these visibility of sections.
### Additional context
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.