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>
Reuse ModulePracticeCard across catalog course, unit, and lesson practice views with optional delete in the card menu.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire dedicated create/list APIs, Units/Practices tabs, attach flows, and routes so practices attach at catalog course and unit levels instead of program or module.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add global and profile-scoped activity log views with server-side actor enrichment, admin sidebar access for ADMIN/Super Admin roles, collapsible user detail sections, and horizontally scrollable account activity tables.
Co-authored-by: Cursor <cursoragent@cursor.com>
Fetch the full payment dataset for analytics so successful count and revenue reflect every matching transaction, not just the current table page.
Co-authored-by: Cursor <cursoragent@cursor.com>
Support many-to-many group_ids in the API client and admin UI, and let admins save definition edits from the header with unsaved-change detection and redirect back to the library.
Co-authored-by: Cursor <cursoragent@cursor.com>
Support No input stimulus/response slots in dynamic question type definitions, allow saving unmappable types on review, and load full datasets before client-side search so filters work across paginated lists.
Co-authored-by: Cursor <cursoragent@cursor.com>
Support linking existing practices from course/module/lesson pages with client-side search, a full-page attach wizard, and titled parent summaries on review. Extend practice creation for question-type shells, multi-parent APIs, and layout fixes across admin flows.
Co-authored-by: Cursor <cursoragent@cursor.com>
Replace EXAM_PREP and SKILLS with IELTS and DUOLINGO, and centralize category labels across payments and user subscriptions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add full practice edit via GET/PUT .../full endpoints with question reorder and collapsible cards. Integrate bulk and scheduled SMS, email, push, and in-app notifications with a scheduled jobs page and improved recipient picker search.
Co-authored-by: Cursor <cursoragent@cursor.com>
Re-add description inputs to course create/edit and module create/edit dialogs so descriptions are sent to the API instead of empty strings.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire exam-prep and Learn English publish-status PUT helpers, load real catalog metadata on detail pages, and make lesson card publish chips interactive via ContentPublishStatusChip.
Co-authored-by: Cursor <cursoragent@cursor.com>
Wire publish status and access tier toggles, list search/filtering, and hierarchy reorder APIs across content pages; switch team member adds to email invites and collapse long page descriptions.
Co-authored-by: Cursor <cursoragent@cursor.com>
Add currency and reference query params plus full status chips on the payments page so filtering aligns with GET /admin/payments.
Co-authored-by: Cursor <cursoragent@cursor.com>