Build out account sidebar #391
Reference in New Issue
Block a user
Delete Branch "feature/account-sidebar"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.alland have the model scoped by the Current.family automatically but that's a wider problem than the scope of this issue./claim #386
💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe/Alipay.
@@ -0,0 +1,30 @@<%# locals: (type:) -%>@JoshAntBrown any thoughts on using summary/detail element for this?
@@ -0,0 +1,30 @@<%# locals: (type:) -%>Good call, will refactor, wanted to get a first version out
@@ -0,0 +1,30 @@<%# locals: (type:) -%>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!
@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.
@@ -0,0 +1,30 @@<%# locals: (type:) -%>Is this data-action still needed?
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 Amazing! Looks good to me. Merging now.