feat(batch-1): multi-role sidebar, video display, certificate layout, upload progress, counselor access #1

Merged
madresebanoo merged 1 commits from deploy/batch-1-low-risk into master 2026-09-02 08:06:22 +00:00
Contributor
  • roleMenuItems.js: merged menu builder that unions items from all user roles
    (student + missionary, student + counselor, etc.) additively
  • auth store: expose roles array in addition to singular role; wire in
    WordPress auth-status cookie sync so the public site can show/hide the
    account button
  • router guards: use roles.includes() instead of role === for multi-role access
  • layouts (Student/Counselor/Missionary): delegate menuItems to
    buildMergedMenuItems so dual-role users see sections from both roles
  • StudentSessionDetailsPage: contentKind now returns 'video' (not 'link')
    when session.videoUrl is set; adds embed iframe branch for online sessions
  • CertificateItem.vue: fix CSS order/alignment for desktop + mobile layout
  • StudentCertificatesPage.vue: map backend payload fields to component props
    with Jalaali date formatting
  • SessionFormPage: upload progress bar (%) during video uploads; embed_code
    textarea for online sessions (frontend-only; dormant until batch-2 backend
    migration is deployed)
  • wp-sync/auth-status-cookie.js: cookie helper for WordPress login-state sync

[batch-1-low-risk]

- roleMenuItems.js: merged menu builder that unions items from all user roles (student + missionary, student + counselor, etc.) additively - auth store: expose `roles` array in addition to singular `role`; wire in WordPress auth-status cookie sync so the public site can show/hide the account button - router guards: use roles.includes() instead of role === for multi-role access - layouts (Student/Counselor/Missionary): delegate menuItems to buildMergedMenuItems so dual-role users see sections from both roles - StudentSessionDetailsPage: contentKind now returns 'video' (not 'link') when session.videoUrl is set; adds embed iframe branch for online sessions - CertificateItem.vue: fix CSS order/alignment for desktop + mobile layout - StudentCertificatesPage.vue: map backend payload fields to component props with Jalaali date formatting - SessionFormPage: upload progress bar (%) during video uploads; embed_code textarea for online sessions (frontend-only; dormant until batch-2 backend migration is deployed) - wp-sync/auth-status-cookie.js: cookie helper for WordPress login-state sync [batch-1-low-risk]
madresebanoo added 1 commit 2026-09-02 08:04:34 +00:00
- roleMenuItems.js: merged menu builder that unions items from all user roles
  (student + missionary, student + counselor, etc.) additively
- auth store: expose `roles` array in addition to singular `role`; wire in
  WordPress auth-status cookie sync so the public site can show/hide the
  account button
- router guards: use roles.includes() instead of role === for multi-role access
- layouts (Student/Counselor/Missionary): delegate menuItems to
  buildMergedMenuItems so dual-role users see sections from both roles
- StudentSessionDetailsPage: contentKind now returns 'video' (not 'link')
  when session.videoUrl is set; adds embed iframe branch for online sessions
- CertificateItem.vue: fix CSS order/alignment for desktop + mobile layout
- StudentCertificatesPage.vue: map backend payload fields to component props
  with Jalaali date formatting
- SessionFormPage: upload progress bar (%) during video uploads; embed_code
  textarea for online sessions (frontend-only; dormant until batch-2 backend
  migration is deployed)
- wp-sync/auth-status-cookie.js: cookie helper for WordPress login-state sync

[batch-1-low-risk]
madresebanoo merged commit fc1c249033 into master 2026-09-02 08:06:22 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: front-end/banu-front#1