community-platform icon indicating copy to clipboard operation
community-platform copied to clipboard

feat: add accordion for settings form

Open benfurber opened this issue 1 year ago • 7 comments

Screenshot 2024-07-19 at 14 57 11

Description

Apply this new accordion style, to the two forms (ChangeEmailForm and ChangePasswordForm) in the account settings tab (AccountSettingsSection)

Details

Obvs the new component should be built in the component library (packages/components). For bonus points, it would be a chance to start putting whole form objects into the component library.

benfurber avatar Jul 19 '24 13:07 benfurber

@benfurber i`ll starting working on it, thanks

ceconcarlsen avatar Jul 19 '24 21:07 ceconcarlsen

Hey @ceconcarlsen ! Were you still working on this issue by chance? I just learned about this project and would love to start contributing. Happy to take this off your plate if you're busy.

domsantini avatar Aug 21 '24 02:08 domsantini

Welcome @domsantini! :)

I'd say give @ceconcarlsen a day to get back to you. After that please do give it a go.

benfurber avatar Aug 21 '24 07:08 benfurber

Thanks so much @benfurber !! That sounds perfect.

domsantini avatar Aug 21 '24 22:08 domsantini

Thank you, Ben! I’ll work on getting this done this week.

domsantini avatar Aug 26 '24 15:08 domsantini

Hey @domsantini, how are you getting on?

benfurber avatar Sep 19 '24 09:09 benfurber

Hey @benfurber ! So sorry I haven't pushed any progress. I got something thrown on my plate and I've had to study for that. But I'm hoping to get back on this as soon as that's done.

You can unassign me for the time being if you'd like, just so someone else can come swoop the ticket.

domsantini avatar Sep 19 '24 16:09 domsantini

Hi there @benfurber could I work on this one?

joperafe avatar Oct 30 '24 20:10 joperafe

Awesome, thanks @benfurber!

benfurber avatar Oct 31 '24 16:10 benfurber

I'd like to take a shot at this

CrowsVeldt avatar Jan 14 '25 14:01 CrowsVeldt

Welcome @CrowsVeldt! Please do, the issue is yours...

benfurber avatar Jan 14 '25 14:01 benfurber

First revision:

Screenshot 2025-01-14 at 18-28-27 Precious Plastic Screenshot 2025-01-14 at 18-29-10 Precious Plastic

I tried changing the arrow glyphs to chevrons to more closely match the example provided, but am having trouble resizing them to match.

@benfurber What do you think so far?

CrowsVeldt avatar Jan 15 '25 01:01 CrowsVeldt

Nice one @CrowsVeldt! Looks ready for a PR. :)

benfurber avatar Jan 16 '25 09:01 benfurber

I was thinking I could refactor the accordion to have child elements "above\below the fold", where children above the fold would be visible when the accordion is closed.

This could be more future-proof, for example in the event that you might need an accordion without a title or maybe with a checkbox in the 'header' to activate it.

However, if there would be no need for anything like that it would be unneeded complexity.

Do you think this might be useful?

CrowsVeldt avatar Jan 19 '25 16:01 CrowsVeldt

@CrowsVeldt I think there are some other bits that are more useful so I think what you've done so far is all that's needed.

Does anything else on the board that your fancy right now? If not, there should be some more UI focused issues added on Wednesday.

benfurber avatar Jan 20 '25 16:01 benfurber

@benfurber I'll take a look, thanks!

CrowsVeldt avatar Jan 20 '25 17:01 CrowsVeldt

:tada: This issue has been resolved in version 2.30.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

onearmy-bot avatar Jan 31 '25 11:01 onearmy-bot