Commit Graph

19 Commits

Author SHA1 Message Date
madresebanoo a967479c9f fix(sidebar): deduplicate menu items for multi-role users
Deploy banu-front / deploy (push) Successful in 1m50s
When a user has both student and missionary roles, common items
(dashboard, education, ticket) appeared twice. Added dedupeKey to
each item; buildMergedMenuItems now skips items whose key was already
added by an earlier role — the primary role's version always wins.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-05 16:08:59 +04:30
madresebanoo 259bc55c86 feat(admin): add certificates page to admin sidebar and router
Deploy banu-front / deploy (push) Successful in 1m29s
- AdminLayout: add گواهینامه‌ها menu item
- admin router: register /certificates route → AdminCertificatesPage
- endpoints: add getAdminCertificates, addAdminCertificate, deleteAdminCertificate

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-09-02 15:54:57 +04:30
madresebanoo 887eb2589d feat(services): add Service Types management UI
Admin CRUD page for service types, plus wiring the student "request
service" form's category select to the real list instead of a
hardcoded pair of options.
2026-09-02 15:54:53 +04:30
madresebanoo e10cfba09d feat(batch-1): multi-role sidebar, video display, certificate layout, upload progress, counselor access
- 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]
2026-09-02 15:54:52 +04:30
sajjadtalkhabi 20551fee63 fix: bugs 2026-08-17 16:59:24 +03:30
Server Migration d94a96b25e fix: resolve education dashboard interface issues 2026-08-15 13:06:49 +03:30
sajjadtalkhabi 8fefb4568b fix: bugs 2026-07-30 18:53:56 +03:30
sajjadtalkhabi 36b747d267 fix: bugs 2026-07-30 17:38:27 +03:30
sajjadtalkhabi e8b1e4add6 fix: missionary education
Deploy banu-front / deploy (push) Successful in 1m31s
2026-07-21 12:24:58 +03:30
sajjadtalkhabi b592f520ab fix: dashboard
Deploy banu-front / deploy (push) Successful in 1m34s
2026-07-12 12:03:26 +03:30
sajjadtalkhabi da34813b1d fix: bugs
Deploy banu-front / deploy (push) Successful in 1m28s
2026-07-09 13:25:59 +03:30
sajjadtalkhabi 38a396ba21 fix
Deploy banu-front / deploy (push) Successful in 1m27s
2026-07-07 17:36:43 +03:30
sajjadtalkhabi b9ef684b51 fix: bugs
Deploy banu-front / deploy (push) Successful in 1m22s
2026-07-02 19:09:13 +03:30
sajjadtalkhabi 130266b416 fix: layout 2026-06-11 15:00:02 +03:30
sajjadtalkhabi ea562aeefa fix: ticket 2026-06-05 18:43:02 +03:30
sajjadtalkhabi 74227d5021 fix 2026-05-21 15:51:32 +03:30
sajjadtalkhabi c82701888a fix 2026-05-15 17:12:51 +03:30
sajjadtalkhabi b8ced45375 Fix 2026-05-13 03:06:59 +03:30
sajjadtalkhabi d2a577f254 first commit 2026-05-13 01:43:05 +03:30