Skip to content

Mentor checkin#244

Merged
gregv merged 4 commits into
mainfrom
develop
Jun 25, 2026
Merged

Mentor checkin#244
gregv merged 4 commits into
mainfrom
develop

Conversation

@gregv

@gregv gregv commented Jun 25, 2026

Copy link
Copy Markdown
Contributor

What does the PR do?

A description of the changes proposed in the pull request.

Type of change

  • Breaking Change
  • Bug Fix
  • New Feature

Linked Issue

Related Issue: reference to a related issue

Make sure you have

  • Pulled from the default branch
  • Documented your changes
  • Linked the Issue
  • Appointed a reviewer (if any)

gregv and others added 4 commits June 24, 2026 15:39
…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
@gregv
gregv merged commit 3e5dbb9 into main Jun 25, 2026
10 checks passed
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