Skip to content

Replace collapse button with accordion-style chevron toggle#2881

Merged
dvdstelt merged 3 commits intomasterfrom
feature/platform-capabilities-collapse-ui
Mar 17, 2026
Merged

Replace collapse button with accordion-style chevron toggle#2881
dvdstelt merged 3 commits intomasterfrom
feature/platform-capabilities-collapse-ui

Conversation

@dvdstelt
Copy link
Member

@dvdstelt dvdstelt commented Mar 12, 2026

Fixes #2888

The separate pill button is replaced with a rotating chevron icon inline with the section title, following the standard accordion pattern. The expand state uses the same visual affordance, keeping the interaction consistent and familiar.

collapse

Reviewer Checklist

  • Components are broken down into sensible and maintainable sub-components.
  • Styles are scoped to the component using it. If multiple components need to share CSS, then a .css file is created containing the shared CSS and imported into component scoped style sections.
  • Naming is consistent with existing code, and adequately describes the component or function being introduced
  • Only functions utilizing Vue state or lifecycle hooks are named as composables (i.e. starting with 'use');
  • No module-level state is being introduced. If so, request the PR author to move the state to the corresponding Pinia store.

The separate pill button is replaced with a rotating chevron icon
inline with the section title, following the standard accordion
pattern. The expand state uses the same visual affordance, keeping
the interaction consistent and familiar.
@dvdstelt dvdstelt requested a review from ramonsmits March 12, 2026 21:32
@dvdstelt dvdstelt self-assigned this Mar 12, 2026
@dvdstelt
Copy link
Member Author

I just selected a few random people that I know somewhat regularly work on ServicePulse

@PhilBastian
Copy link
Contributor

Added Warwick since he worked on the TF that implemented this section to see if there was a reason the original collapse button was chosen (I didn't realise it could be collapsed before)

@PhilBastian
Copy link
Contributor

I think the build error is due to formatting. Prettier extension is expected to be present

dvdstelt and others added 2 commits March 13, 2026 15:48
Add hide-section-btn class to collapse toggle and update collapsed
state label to 'Show Platform Capabilities' so existing tests can
locate the elements via their expected selectors.
@dvdstelt dvdstelt added this to the 2.6.1 milestone Mar 16, 2026
@dvdstelt dvdstelt added the Type: Bug Type: Bug label Mar 16, 2026
@dvdstelt dvdstelt merged commit a87afa8 into master Mar 17, 2026
5 checks passed
@dvdstelt dvdstelt deleted the feature/platform-capabilities-collapse-ui branch March 17, 2026 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Type: Bug Type: Bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Collapsable part on dashboard is confusing

4 participants