Sometimes we need to render a collapsible section with 0 items in the body but still need the segment to show (eg if there is a button on it).
If that is the case I don't think we should render the expand toggle as it is misleading and doesnt' do anything. We could add a prop to teh segment to control if it is rendered or not
Eg for this ui on workflows
Feature request
Prerequisites
This is just a checklist, please delete this section after
Please answer the following questions for yourself before submitting a feature request.
[ ] I checked to make sure that this feature has not already been suggested
[ ] Please label as, low / medium / high priority
Please fill in as much detail as possible
Is your feature request related to a problem?
A clear and concise description of what the problem is
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Sometimes we need to render a collapsible section with 0 items in the body but still need the segment to show (eg if there is a button on it). If that is the case I don't think we should render the expand toggle as it is misleading and doesnt' do anything. We could add a prop to teh segment to control if it is rendered or not
Eg for this ui on workflows
Feature request
Prerequisites
This is just a checklist, please delete this section after Please answer the following questions for yourself before submitting a feature request.
Please fill in as much detail as possible
Is your feature request related to a problem?
A clear and concise description of what the problem is
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.