Conversation
…eck-in - Resolve slack_user_id at check-in time via get_slack_user_by_email() when the stored field is empty (covers mentors who applied/logged in with Google) - Persist resolved id back to the volunteer doc so future check-ins skip the lookup - Gate the post: return False silently when no Slack identity is found, rather than posting a broken 'None has checked in' message - Add OHack profile link via get_user_by_user_id/get_user_by_email lookup - Add imports for get_user_by_user_id, get_user_by_email from firebase utils Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…profile_image
Reuses the existing email→user batch lookup that already runs for certificate
enrichment. Two new fields on each admin-mode volunteer record:
- user_db_id: Firestore users doc id, used by frontend to link /profile/{id}
- profile_image: avatar URL for the review card header
No new Firestore reads; gated on admin=True; new keys are ignored by existing consumers.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…k-none Fix 'None has checked in' in #ask-a-mentor Slack message
…ofile-link [Volunteer Admin] Enrich admin records with user_db_id and profile_image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does the PR do?
A description of the changes proposed in the pull request.
Type of change
Linked Issue
Related Issue: reference to a related issue
Make sure you have