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

Implement bulk hiding projects (by guild or selection) #19

Merged
merged 19 commits into from
Oct 31, 2024

Conversation

tameTNT
Copy link
Member

@tameTNT tameTNT commented Oct 31, 2024

Description

This PR adds the ability to hide projects in bulk (including by guild) by selecting lots of them as seen in the screenshot below:
{1B9FB911-ECBE-40BC-98A5-A13981896948}
This closes #3 🥳

The above also involved allowing the guild field of the projects to be specified (now separate from location - this is still a string though).

This PR also includes a bunch of UI tweaks to make the admin and judging process better. Lots of wording is also clarified throughout the UI.

Admins can select as many projects as they like with checkboxes
And then click hide selected.
I guess there was a purpose to the type switching
from Array to Object...
Why TypeScript/React allows that is anyone's guess.
Also add guild field to project input on client frontend
And the fix the stupid React type thing by adding
` || false` to handle the undefined behaviour.
- Click on stats block to refresh stats like hidden projects
- Add text saying how many projects are selected
- Sort guilds in dropdown
- Notify of how many projects were un/hidden
- Explain how taking a break actually works
- Add a dropdown option for selecting all projects on the admin page
Best I can do atm in lieu of the full name/email of a judge
Seen numbers do not include skipped projects (Projects or Judges table)
@tameTNT tameTNT merged commit af13f70 into feedback-tweaks Oct 31, 2024
@tameTNT tameTNT linked an issue Oct 31, 2024 that may be closed by this pull request
@tameTNT tameTNT deleted the bulk-hide-projects-by-guild branch October 31, 2024 23:53
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.

Marking teams as 'away' en masse
1 participant