Break teamRoles/adminAccess cycle and restrict reduced navigation to Content Manager only so legacy team roles no longer redirect-loop on dashboard.
Co-authored-by: Cursor <cursoragent@cursor.com>
Content managers see content routes only; Super Admin alone can send team invites. Align team role pickers and analytics layout with staff role model.
Co-authored-by: Cursor <cursoragent@cursor.com>
Drop the issues feature from admin, simplify user status/region filters, and tighten user detail field layout.
Co-authored-by: Cursor <cursoragent@cursor.com>
Use Africa/Addis_Ababa for display and filters, add payment method and date range controls, and restyle Sonner notifications to match the admin UI.
Co-authored-by: Cursor <cursoragent@cursor.com>
Send SUPER_ADMIN-style keys instead of display labels, and validate invite emails against existing team members before send.
Co-authored-by: Cursor <cursoragent@cursor.com>
Bootstrap browser session before first render to avoid spurious 401 toasts; add exam prep reorder tab and APIs; use rejected instead of closed for issue PATCH.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add an is_lifetime toggle for all subscription categories and stop hardcoding IELTS/Duolingo as lifetime-only.
Co-authored-by: Cursor <cursoragent@cursor.com>
Hide duration editing for those categories, show never-expires in user subscriptions, and disable extend for lifetime plans.
Co-authored-by: Cursor <cursoragent@cursor.com>
Carry the original API payload through the form so slot kinds and timer values are resolved correctly when saving edited dynamic questions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Keep seconds as plain digits in the form and emit { seconds: N } on save, while leaving text/media slots as strings and structuring TABLE values.
Co-authored-by: Cursor <cursoragent@cursor.com>
Call GET /team/verifyResetCode on load and surface used, expired, or invalid link states with a path to request a new link.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add /reset-password page, connect forgot-password to sendResetCode, and treat team reset endpoints as public auth routes.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire user-detail subscription actions with searchable plan picker and type-to-confirm modals, and mask sensitive revenue values on the dashboard.
Co-authored-by: Cursor <cursoragent@cursor.com>
Fetch inactive packages with active_only=false, add in-table status toggles, and replace the default favicon with the Yimaru mascot.
Co-authored-by: Cursor <cursoragent@cursor.com>
Upload local videos directly to Vimeo with phase progress, cancel support, PascalCase API normalization, and privacy-hash player URLs.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add edit-practice dirty-state save gating, back navigation helpers, realistic persona avatars with circular cropping, global API error toasts, team invite role fixes, user/team block-unblock on detail pages, and related content-management polish.
Co-authored-by: Cursor <cursoragent@cursor.com>
Load all active email templates for the send composer, fix API parsing/pagination, and add template preview with scheduled-job template labels.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add IELTS shared stimulus authoring, per-parent unlink APIs and UI, and fix question-type practice modal to show LMS/exam-prep locations and edit routes correctly.
Co-authored-by: Cursor <cursoragent@cursor.com>
Sync team_role from the API into session storage and resolve export permissions using canonical role keys so production sessions match localhost behavior.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add blob download helpers, permission-gated export buttons that mirror list filters, role-based export access, and client-side filenames using resource name plus timestamp.
Co-authored-by: Cursor <cursoragent@cursor.com>