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

Show Verify Queue Count #47

Closed
wants to merge 2 commits into from
Closed

Show Verify Queue Count #47

wants to merge 2 commits into from

Conversation

Flamanis
Copy link
Contributor

@Flamanis Flamanis commented Sep 18, 2022

Fix for #11
This change adds a number next to the Verify button showing how many unverified entires exist in the queues you have access to.

If a user has access to only VerifyCompletions, then they would only see the amount of unverified completions, not the whole queue.

Known minor issue: Takes a couple reloads to update the number. I'm not versed enough in svelte to know how to make a module script dynamically update. Nor could I get the {#await} call to reach the {:then} stage.

Shows an index of how many items in the verify queue that you have access to.
Will not show values for queues you cannot verify in.
Verify button will not show if you don't have any verify permissions.
@Flamanis Flamanis changed the title Proposed fix for #11 Show Verify Queue Count Sep 18, 2022
@Flamanis
Copy link
Contributor Author

I don't like my solution here. Not just for the fact that it doesn't dynamically update. Gonna work on making it use a store and only bother the db on server start.

Now if only my buttons would run their callbacks.

@Luminoscity Luminoscity marked this pull request as draft September 21, 2022 09:11
@Flamanis Flamanis closed this Nov 16, 2022
@Flamanis Flamanis deleted the Show-current-queue branch November 16, 2022 17:57
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.

1 participant