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

Feature/df 98 debug displays for data for expenses and income #20

Conversation

chisPmama
Copy link
Contributor

Keypoints:

Debugging changes made on the FE:

Transactions Widget

  • Income display in transactions includes: Titleize of source, adjustment on rendered display (10000 cents = $100.00), confirmed that new entry submits correct format to backend ($100.00 => 10000)
  • Transactions are sorted from most recent to least (top to bottom)
  • Titleize status

CashFlow Widget

  • Adjusts the display by sorting from right to left of most recent month of expenses/incomes
  • Adjustment of hovered display to $_ _ _ . _ (However cannot get it to display as . _ _ second decimal of cents)

Related Issue(s)

closes DF-98

Checklist:

  • New/Modified Tests are Passing
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings or errors.

Additional Notes:

Rails C Commands to help Debug:
JSON.parse(User.first.cash_flows.to_json)
Income.where(date: Date.new(2024,1,1)..Date.new(2024,1,31)).sum(:amount) (for January incomes)

Copy link

linear bot commented Feb 22, 2024

Copy link

vercel bot commented Feb 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
dough-fin-fe ✅ Ready (Inspect) Visit Preview Feb 22, 2024 8:52pm

Copy link
Contributor

@shawndcarpenter shawndcarpenter left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This branch was checked out locally and discussed on call. The most important pieces of this were changes to how dollars and cents are handled between the backend and frontend, as well as some rendering details related to budgets. As stated, it was checked out locally and functioning along with the changes in place on the backend.

@shawndcarpenter shawndcarpenter merged commit ba4343b into main Feb 23, 2024
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants