Build out account sidebar #391

Merged
JoshAntBrown merged 4 commits from feature/account-sidebar into main 2024-02-09 05:46:27 +08:00
JoshAntBrown commented 2024-02-09 05:10:17 +08:00 (Migrated from github.com)

I've put this together for the account sidebar. Should be a near 1 to 1 match with Figma since I checked all the dimensions to the tailwind ones or used a custom number where required.

I'm not particularly happy about the way I've queried the accounts within the partial right now, it might be nicer if we could just do type.all and have the model scoped by the Current.family automatically but that's a wider problem than the scope of this issue.

/claim #386

I've put this together for the account sidebar. Should be a near 1 to 1 match with Figma since I checked all the dimensions to the tailwind ones or used a custom number where required. I'm not particularly happy about the way I've queried the accounts within the partial right now, it might be nicer if we could just do `type.all` and have the model scoped by the Current.family automatically but that's a wider problem than the scope of this issue. /claim #386
algora-pbc[bot] commented 2024-02-09 05:10:23 +08:00 (Migrated from github.com)
💵 To receive payouts, [sign up on Algora](https://console.algora.io/auth/signup), [link your Github account](https://console.algora.io/onboarding/solver) and [connect with Stripe/Alipay](https://console.algora.io/onboarding/solver).
robzolkos (Migrated from github.com) reviewed 2024-02-09 05:12:46 +08:00
@@ -0,0 +1,30 @@
<%# locals: (type:) -%>
robzolkos (Migrated from github.com) commented 2024-02-09 05:12:46 +08:00

@JoshAntBrown any thoughts on using summary/detail element for this?

@JoshAntBrown any thoughts on using summary/detail element for this?
JoshAntBrown (Migrated from github.com) reviewed 2024-02-09 05:14:04 +08:00
@@ -0,0 +1,30 @@
<%# locals: (type:) -%>
JoshAntBrown (Migrated from github.com) commented 2024-02-09 05:14:04 +08:00

Good call, will refactor, wanted to get a first version out

Good call, will refactor, wanted to get a first version out
JoshAntBrown (Migrated from github.com) reviewed 2024-02-09 05:37:56 +08:00
@@ -0,0 +1,30 @@
<%# locals: (type:) -%>
JoshAntBrown (Migrated from github.com) commented 2024-02-09 05:37:56 +08:00

Much better with the detail element, no need for the stimulus controller, and toggling between the icons feels more robust being based on the state of the dialog. Thanks!

Much better with the detail element, no need for the stimulus controller, and toggling between the icons feels more robust being based on the state of the dialog. Thanks!
Shpigford commented 2024-02-09 05:38:40 +08:00 (Migrated from github.com)

@JoshAntBrown Would you mind adding a GIF or short video showing the functionality? Just a super quick little thing to show that it's functioning. 🙂 Much easier to give feedback on that side of things without pulling the code down.

@JoshAntBrown Would you mind adding a GIF or short video showing the functionality? Just a super quick little thing to show that it's functioning. 🙂 Much easier to give feedback on that side of things without pulling the code down.
robzolkos (Migrated from github.com) reviewed 2024-02-09 05:39:43 +08:00
@@ -0,0 +1,30 @@
<%# locals: (type:) -%>
robzolkos (Migrated from github.com) commented 2024-02-09 05:39:43 +08:00

Is this data-action still needed?

Is this data-action still needed?
JoshAntBrown commented 2024-02-09 05:45:32 +08:00 (Migrated from github.com)

@JoshAntBrown Would you mind adding a GIF or short video showing the functionality? Just a super quick little thing to show that it's functioning. 🙂 Much easier to give feedback on that side of things without pulling the code down.

Ah of course, here it is:

https://github.com/maybe-finance/maybe/assets/1793797/79ebdf02-01c6-4803-81f7-188004f32eb6

Currently only have bank accounts since the new account flow seems to be hardcoded to depository accounts, but it should work with any account.

> @JoshAntBrown Would you mind adding a GIF or short video showing the functionality? Just a super quick little thing to show that it's functioning. 🙂 Much easier to give feedback on that side of things without pulling the code down. Ah of course, here it is: https://github.com/maybe-finance/maybe/assets/1793797/79ebdf02-01c6-4803-81f7-188004f32eb6 Currently only have bank accounts since the new account flow seems to be hardcoded to depository accounts, but it should work with any account.
Shpigford commented 2024-02-09 05:46:20 +08:00 (Migrated from github.com)

@JoshAntBrown Amazing! Looks good to me. Merging now.

@JoshAntBrown Amazing! Looks good to me. Merging now.
Sign in to join this conversation.