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

141 warning if volunteer info is missing #160

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

johnkenjikono
Copy link
Collaborator

@johnkenjikono johnkenjikono commented Jul 31, 2024

Description of this change

Added small warning symbol next to first names if missing any info (i.e any of the scheduledslots types were undefined). Additionally added an export function that keeps count of these warnings. Used this function to add a counter on the top of each event in red

Screenshots (for UI changes - otherwise delete this section)

Before this PR:


Screenshot 2024-07-31 at 4 07 34 PM
Screenshot 2024-07-31 at 4 08 23 PM

After this PR:


Screenshot 2024-07-31 at 4 06 30 PM
Screenshot 2024-07-31 at 4 06 53 PM
(warnings are from changing if statement from if typeof participanType is undefined to if participantType is driver. Pull request will not show any warnings)

@johnkenjikono johnkenjikono linked an issue Jul 31, 2024 that may be closed by this pull request
Copy link

railway-app bot commented Jul 31, 2024

🚅 Deployed to the admin-portal-pr-160 environment in Grassroots Grocery Admin Portal

Service Status Web Updated (UTC)
admin-portal ✅ Success (View Logs) Web Nov 19, 2024 at 11:14 am

@jadenar07 jadenar07 reopened this Aug 13, 2024
@railway-app railway-app bot temporarily deployed to admin-portal-pr-160 August 13, 2024 19:38 Destroyed
@railway-app railway-app bot temporarily deployed to admin-portal-pr-160 August 13, 2024 19:48 Destroyed
@@ -375,7 +473,6 @@ export const VolunteersTable: React.FC<{
"Participant Type",
"Confirmed",
"Can't Come",
"Past Events",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The recently added "Past Events" column is missing from this PR.

Copy link
Collaborator

@mattsahn mattsahn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code changes from #157 are removed in this PR. Please merge the latest from main branch into here so that those remain.
image

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.

Warning if volunteer info is missing
3 participants