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

Budgets and expenses list can be accessed even when not on screen #4220

Open
nus-pe-bot opened this issue Nov 15, 2019 · 1 comment
Open

Comments

@nus-pe-bot
Copy link

As is described. Running the edit command for both budgets and expenses will work even if not displayed
ec6fc4e7-6597-4c81-8d3f-909845da25a1


[original: nus-cs2103-AY1920S1/pe-interim#221]
@choonx99
Copy link
Contributor

Team's Response

Running EditExpense command will only work when the user is viewing an expense list in the centre panel this is because there are multiple expense lists, default expense list and the individual expense lists inside budgets, the app needs to know which expense list the expense is in for the user to edit.
However we allowed EditBudget to work at anytime when the EditBudget command is called as long as the user knows which budget (by index) he/she wants to edit is because there is only 1 budget list in the app. This is the same for viewing a specific budget, users need not be viewing the budget list in order to view or edit a specific budget as long as he/she can remember the index. We made this possible to increase usability as users may not want to always be required to call listBudgets command first before they are allowed to view or edit a budget even though they may know exactly which budget they want to interact with.

Duplicate status (if any):

--

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants