Finalize transaction drawer, simplify money form helpers #1191

Merged
zachgoll merged 4 commits from zachgoll/transaction-details-pane-finalization into main 2024-09-20 20:38:19 +08:00
zachgoll commented 2024-09-20 04:29:16 +08:00 (Migrated from github.com)

Finalizes the styles and organization for transaction drawer:

CleanShot 2024-09-19 at 20 17 25@2x

In addition, this PR does a bit of a refactor on the form builder to solve some issues we've been facing:

  • Unable to easily style the "container" for a form element
  • Money related logic was spread out in several places, making it hard to follow
  • Form builder was generally challenging to understand with many layers of indirection (partially unavoidable due to metaprogramming, but I did my best in this PR to remove as many layers of indirection as possible)
Finalizes the styles and organization for transaction drawer: ![CleanShot 2024-09-19 at 20 17 25@2x](https://github.com/user-attachments/assets/37ebabc4-d8e7-4214-b12c-9ceba51a1f56) In addition, this PR does a bit of a refactor on the form builder to solve some issues we've been facing: - Unable to easily style the "container" for a form element - Money related logic was spread out in several places, making it hard to follow - Form builder was generally challenging to understand with many layers of indirection (partially unavoidable due to metaprogramming, but I did my best in this PR to remove as many layers of indirection as possible)
Sign in to join this conversation.