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

Option to take checked off items into account for "Show Total" #69

Open
glaciyan opened this issue Feb 8, 2022 · 0 comments
Open

Option to take checked off items into account for "Show Total" #69

glaciyan opened this issue Feb 8, 2022 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Feel free to work on this issue if you are interested priority:1

Comments

@glaciyan
Copy link
Owner

glaciyan commented Feb 8, 2022

Should be a simple checkbox next to the modal header with a label saying something like "Subtract Checked off Items" or "Subtract Completed Items", when the checkbox is on true it should subtract checked off items, when its false it should show total of everything regardless of any items being checked off. Default should be false.

The total is calculated here:

const total = computed(() => {
if (buildsData.value) return mergeAmountByName(buildsData.value.map((build) => build.items));
else return [];
});

image

@glaciyan glaciyan added enhancement New feature or request priority:1 good first issue Good for newcomers help wanted Feel free to work on this issue if you are interested labels Feb 8, 2022
@glaciyan glaciyan added this to Wanted in Planned Features May 13, 2022
@glaciyan glaciyan added this to the 2.5.0 milestone Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Feel free to work on this issue if you are interested priority:1
Projects
No open projects
Development

No branches or pull requests

1 participant