Skip to content

chore(sync): sync staging with master#788

Merged
ismaeldosil merged 37 commits intostagingfrom
feature/sync-staging
Jan 28, 2026
Merged

chore(sync): sync staging with master#788
ismaeldosil merged 37 commits intostagingfrom
feature/sync-staging

Conversation

@ismaeldosil
Copy link
Collaborator

Summary

  • Syncs staging branch with latest changes from master
  • Includes CHALK-095: Block archived users from logging in

Test plan

  • Changes already tested on develop
  • Verify staging deployment after merge

thompchr and others added 30 commits June 7, 2022 14:36
Triggering prod deployment with new environment variable
Layout fixes for messaging pdf attachments
Issue with Program Leaders unable to view sites.
Allow program leader to be selected as a leader of a site
Add Login Page. Set Login Page as home page
Update CenterChecklist component to clarify terminology for open centers/areas
Add download attachments. Update workflows (Staging -> Master)
Fix for master workflow (staging -> master)
Update node version for various cloud functions (master <- staging)
Restrict Leader access in Reports and User pages (master <- staging)
fix(all-users): read legacy programId formats
- Add getUsersLastAction() method with optimized batch queries
- Query 5 collections in parallel (observations, knowledgeChecks,
  conferencePlans, actionPlans, emails)
- Build Map<userId, lastDate> in memory for O(1) lookups
- Add lastAction to User interface and getAllUsers() result
- Add sortable "Last Action" column to AllUsersTable
- Include Last Action in CSV export

Performance: 5 queries total instead of 2,995 (599 users × 5 collections)

Closes CHALK-090
Closes CHALK-091
Closes CHALK-092
- Display action type (Observation, Training, Conference Plan, etc.) alongside date
- Add lastActionType field to User interface
- Update CSV export with Action Type column
- Fix potential undefined email issue in Edit dialog

Closes CHALK-090
- Add edit dialog to UsersPage for All Users tab
- Change Last Action format to "Action - Date" (action first)
- Add archive confirmation dialog
- Fix handleAllUserClick which was only logging

Closes CHALK-090
Release: Last Action column and Edit dialog fixes
Archived users can no longer log into the system. When an archived user
attempts to sign in, they are immediately signed out and shown an error
message asking them to contact an administrator.

Closes CHALK-095
fix(auth): block archived users from logging in
@ismaeldosil ismaeldosil merged commit 4e72b25 into staging Jan 28, 2026
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.

5 participants