Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

web: Enhance accordion header interactions for better UX #12813

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

GirlBossRush
Copy link
Contributor

  • Allows user to click or tap anywhere on a accordion header to expand or collapse.
  • Adds transition to collapse.

Details

While working with the accordions, I saw an opportunity to improve their navigation. This PR expands the clickable area to the full header and adds a smooth transition animation - small refinements that should make the interface more fluid and intuitive.

Appreciate the team taking a look at this ease-of-use enhancement!

Technical changes:

  • Extended click target to full header width
  • Added collapse transition animation
  • Maintained existing accessibility attributes

Checklist

  • Local tests pass (ak test authentik/)
  • The code has been formatted (make lint-fix)

If an API change has been made

  • The API schema has been updated (make gen-build)

If changes to the frontend have been made

  • The code has been formatted (make web)

If applicable

  • The documentation has been updated
  • The documentation has been formatted (make website)

- Allows user to click or tap anywhere on a accordion header to expand
  or collapse.
- Adds transition to collapse.
@GirlBossRush GirlBossRush requested a review from a team as a code owner January 25, 2025 09:21
Copy link

netlify bot commented Jan 25, 2025

Deploy Preview for authentik-docs canceled.

Name Link
🔨 Latest commit cc69840
🔍 Latest deploy log https://app.netlify.com/sites/authentik-docs/deploys/6794ad0541e61d0008da22c8

Copy link

netlify bot commented Jan 25, 2025

Deploy Preview for authentik-storybook ready!

Name Link
🔨 Latest commit cc69840
🔍 Latest deploy log https://app.netlify.com/sites/authentik-storybook/deploys/6794ad04000bab0008504db1
😎 Deploy Preview https://deploy-preview-12813--authentik-storybook.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

codecov bot commented Jan 25, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.76%. Comparing base (3daa390) to head (cc69840).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12813   +/-   ##
=======================================
  Coverage   92.75%   92.76%           
=======================================
  Files         769      769           
  Lines       38926    38926           
=======================================
+ Hits        36107    36110    +3     
+ Misses       2819     2816    -3     
Flag Coverage Δ
e2e 48.62% <ø> (+<0.01%) ⬆️
integration 24.60% <ø> (ø)
unit 90.39% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant