SophiaLinetti / capstone-project_budget-buddy

https://capstone-project-budget-buddy.vercel.app
2 stars 0 forks source link

#4 Total amount of income/expense #5

Open nadine-grantz opened 7 months ago

nadine-grantz commented 7 months ago

Value proposition

As a User I want to see the total amount of expenses or incomes depending which filter i clicked to have an overview of my financial situation

Description

Bildschirmfoto 2024-02-02 um 11 28 41

Acceptance criteria

Tasks

function TotalAmount() {
  const [filter, setFilter] = useState('');

  function handleFilter(filter) {
    setFilter(filter);
  }
StellaKakarali commented 7 months ago

Cool Function! Looks good !

ahohnsen commented 7 months ago

If I understood correctly, the user can either view incomes or expenses, but not both at the same time. That is, when the user clicks on incomes, only the incomes and the total of these incomes are displayed. The same applies to expenses. In the wireframe, this is somewhat misleading because the list shows both incomes and expenses, as well as a total.

ahohnsen commented 7 months ago

The title is sooooooo long! 😃 How about: Total amount of income/expense