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

Feat: Add accordion for settings form #3988

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

joperafe
Copy link

@joperafe joperafe commented Nov 5, 2024

PR Checklist

PR Type

What kind of change does this PR introduce?

  • Bugfix (fixes an issue)
  • Feature (adds functionality)
  • Code style update
  • Refactoring (no functional changes)
  • Build related changes
  • CI related changes
  • Documentation changes
  • Other... Please describe:

What is the current behavior?

image

What is the new behavior?

Dropdown should be updated with new accordion style,
figma

Local screenshot:
image

Does this PR introduce a breaking change?

  • Yes
  • No

Git Issues

Closes #3786

What happens next?

Thanks for the contribution! We try to make sure all PRs are reviewed ahead of our monthly maintainers call (first Monday of the month)

If the PR is working as intended it'll be merged and included in the next platform release, if not changes will be requested and re-reviewed once updated.

If you need more immediate feedback you can try reaching out on Discord in the Community Platform development channel.

@joperafe joperafe requested a review from a team as a code owner November 5, 2024 23:39
@joperafe
Copy link
Author

joperafe commented Nov 5, 2024

I'm still wondering about the expected behaviour of the on click of the dropdown.. Should the full header row be clickable or should that only happen on the collapse button itself?

Also, would like some opinion on the flex icon for the password text 💪

I've updated the size of the icon, not sure if that's ok or not. I've checked where it's used and it seems to not have impact.

I'll need to add tests for the changes, will check on that in the coming days.

Thank you,
João Ferreira

Copy link

cypress bot commented Nov 5, 2024

onearmy-community-platform    Run #6522

Run Properties:  status check failed Failed #6522  •  git commit d6aaa0939f: [#3786] - feat: add accordion for settings form - remove commented code
Project onearmy-community-platform
Branch Review pull/3988
Run status status check failed Failed #6522
Run duration 06m 19s
Commit git commit d6aaa0939f: [#3786] - feat: add accordion for settings form - remove commented code
Committer Joao Ferreira
View all properties for this run ↗︎

Test results
Tests that failed  Failures 5
Tests that were flaky  Flaky 1
Tests that did not run due to a developer annotating a test with .skip  Pending 0
Tests that did not run due to a failure in a mocha hook  Skipped 0
Tests that passed  Passing 68
View all changes introduced in this branch ↗︎

Tests for review

Failed  howto/discussions.spec.ts • 1 failed test • ci-chrome

View Output Video

Test Artifacts
[Howto.Discussions] > allows authenticated users to contribute to discussions Test Replay Screenshots Video
Failed  questions/discussions.spec.ts • 1 failed test • ci-chrome

View Output Video

Test Artifacts
[Questions.Discussions] > allows authenticated users to contribute to discussions Test Replay Screenshots Video
Failed  SignUp.spec.ts • 1 failed test • ci-chrome

View Output Video

Test Artifacts
[User sign-up] > [Update existing auth details] > Updates username and password Test Replay Screenshots Video
Failed  research/discussions.spec.ts • 1 failed test • ci-chrome

View Output Video

Test Artifacts
[Research.Discussions] > allows authenticated users to contribute to discussions Test Replay Screenshots Video
Failed  map.spec.ts • 1 failed test • ci-chrome

View Output Video

Test Artifacts
[Map] > [Shows expected pins] Test Replay Screenshots Video
Flakiness  src/integration/research/follow.spec.ts • 1 flaky test • ci-chrome

View Output Video

Test Artifacts
[Research] > [By Authenticated] > [Follow button] Test Replay Screenshots Video

@davehakkens davehakkens added the Review allow-preview ✅ Has received manual check for malicious code and can be safely built for preview label Nov 6, 2024
@benfurber
Copy link
Member

Hey @joperafe, thanks for the contribution.

  1. If you check the issue again you'll see I mentioned adding this change as a component in the component library. Have you spotted where the component library is? (Its packages/components/)
  2. You can see here there's a build error. If you run yarn build locally does it build OK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Review allow-preview ✅ Has received manual check for malicious code and can be safely built for preview
Projects
Status: No status
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

feat: add accordion for settings form
3 participants