Skip to content

Let mentors opt their project out of Slack attendance tracking - #59

Draft
augmentcode[bot] wants to merge 2 commits into
masterfrom
feature/attendance-tracking-optout
Draft

Let mentors opt their project out of Slack attendance tracking#59
augmentcode[bot] wants to merge 2 commits into
masterfrom
feature/attendance-tracking-optout

Conversation

@augmentcode

@augmentcode augmentcode Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Backend companion: labs-gql#10, which tracks attendance automatically from Slack Huddle activity and added a per-project attendanceTracking field (SLACK_HUDDLE | NOT_TRACKED) to the Project model and editProject mutation.

Teams that don't meet on Slack need a way to exclude themselves — otherwise absence is inferred from the lack of a huddle join, and every student on a non-Slack team would be falsely flagged.

What this does

Adds an "Attendance Tracking" field to ProjectEditor, next to Status/Track/Max Students, with two options:

  • Track via Slack Huddles (default)
  • We don't meet on Slack -- don't track attendance

Unlike Status/Track/Max Students, this field is editable even in limited mode, so it shows up for mentors on their own project at /dash/m/[token], not just for managers/admins. It's also visible on /dash/mm and /dash/osm.

Not done yet / needs review

  • Requires labs-gql#10 to be merged and deployed first — the attendanceTracking field/enum won't exist on the schema until then.
  • I have not run this against a live dev GQL endpoint (no env/credentials in this environment) — next build completes cleanly and generates all 33 pages including the three dashboard routes that render ProjectEditor, with no errors attributable to this change (only a pre-existing, unrelated JWT-secret prerender failure on /). Manual click-through against a real mentor token is worth doing before merge.
  • No copy/design review — happy to adjust wording or move the field if it doesn't fit visually.

Pull Request opened by Augment Code | View session

Attendance is now inferred from Slack huddle activity (labs-gql PR #10).
Teams that don't meet on Slack need a way to exclude themselves, or every
student on that team gets falsely flagged absent.

Adds a project-level 'Attendance Tracking' select to ProjectEditor, visible
to mentors on their own project dashboard (/dash/m) as well as managers/OSMs,
wired to the existing editProject mutation's attendanceTracking field.
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
www-labs Ready Ready Preview Aug 18, 2026 8:59pm

Request Review

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