Commit Graph

300 Commits

Author SHA1 Message Date
fedb7b0fbe Restyle admin tables and remove retired type and legacy archive views 2026-11-03 12:32:21 +03:00
7ae57b93f4 Separate retired learning fixtures from the makeup academy catalog 2026-11-03 12:17:17 +03:00
b08ab8fc4d Match password recovery styling to shared academy login layout 2026-11-02 13:28:46 +03:00
9d5099284a Redesign admin login and update Sirkul browser branding 2026-11-02 13:23:04 +03:00
2daf20288a Redesign makeup academy admin and align content and analytics workflows 2026-11-02 13:09:40 +03:00
15e7e96fee Remove customer catalog from staff admin panel 2026-11-01 14:09:46 +03:00
b9d221024e Integrate chapter learning management and public course discovery 2026-11-01 13:38:28 +03:00
3106c85e50 Use admin-prefixed API endpoints throughout the panel 2026-10-28 22:56:40 +03:00
dfd8ec50c0 Add admin referral commission settings 2026-10-28 17:52:07 +03:00
9e8b20aaa6 dashboard page and icons adjustment 2026-10-22 14:29:39 +03:00
aca7efc1ff Refresh login and dashboard layouts 2026-10-22 14:27:09 +03:00
61c0b1c276 Align admin panel with unified LMS hierarchy 2026-10-22 13:47:25 +03:00
a9ee56cfa7 Refresh admin UI styling and shared components 2026-10-20 15:33:55 +03:00
d063a82e2c Rebrand admin app for Rezina LMS 2026-10-20 14:55:43 +03:00
07c651fd17 Support free subscription plans and unique billing periods in admin.
Add is_free toggles with paid price validation, client-side period conflict checks, and Free price display aligned with backend subscription rules.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-23 21:35:53 +03:00
1799488127 Fix scheduled notification actions and speed up payments loading.
Add row actions with view details on scheduled jobs and replace client-side payment fetch-all with server-side pagination and parallel stats queries.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 11:33:26 +03:00
7b22d6d54c Require exam category when creating exam prep catalog courses.
Add IELTS/Duolingo selection to the admin form so catalog course creation satisfies backend validation.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-07 11:03:08 +03:00
687eb964cc Enable skill-based course creation on the courses page.
Wire the skill-based catalog to LMS program/course APIs so admins can create, edit, and manage courses without the proficiency-only guard.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-04 15:41:56 +03:00
564fbf47a8 Disable Add Practice on Learn English detail pages when a direct practice exists.
Prefetch parent-scoped practices on course and module load and use has_practice from list APIs so the header button disables before opening the Practice tab.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 17:05:47 +03:00
8649348120 Always show practice story fields on step 1 and add rich text editors.
Remove lesson-only field hiding from ContextStep and use TipTap for story description and quick tips in create/edit practice flows.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 15:08:26 +03:00
1f25ff9e4e Show title and description fields when creating Learn English lesson practices.
Stop auto-filling lesson title and require story fields in the create/edit flow so lesson practices match module and course practice authoring.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-20 14:58:47 +03:00
bc0fc8e3e5 Fix attach-practice success back navigation for lesson context.
Show Back to Lessons and return to the lesson practices page when backTo=lesson.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 19:19:12 +03:00
c98efdc6c9 Fix practice unlink to remove only direct parent links across Learn English and Exam Prep.
Use server-side pagination and search for activity logs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-19 18:23:06 +03:00
620670cf0c back button fix 2026-08-19 13:12:51 +03:00
7052173287 multiple practice unlink and delete 2026-08-19 12:04:14 +03:00
483ec8c15e Add practice unlink/delete on course and module tabs and disable Add Practice when full.
Show disabled Add Practice controls with tooltips when a parent already has a practice, and wire course/module practice cards to unlink or permanently delete from the overflow menu.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:48:19 +03:00
2fd5a96ea5 Fix module practice unlink and enforce one practice per parent in admin UI.
Resolve lesson vs module parent when unlinking from the module tab, suppress duplicate unlink error toasts, and hide add-practice actions when a parent already has a practice.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:09:25 +03:00
941a453592 Add platform audience targeting filters to notification send flow.
Admins can segment recipients by profile, subscription, engagement, and device fields, load the full matching user list without pagination, and treat Unsubscribed as all non-active subscription states.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 19:44:32 +03:00
9caf9dfc30 Improve notifications, EAT timezone defaults, and bulk send UX.
Add in-app notification pop-ups with a toggle, polish the realtime toast, use EAT for scheduling and datetime display, simplify bulk audience targeting with search highlighting, fix team-only send validation, and keep compose state after send.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-16 18:57:41 +03:00
8fa47328d4 Make client search cover the full dataset, restyle lesson practices, and unify admin button corners.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 16:26:50 +03:00
4abc20d166 Keep practice parent links on edit and load full exam-prep practice lists.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-13 12:03:04 +03:00
c886802cd6 Make the subscriptions card expandable and collapsible.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:05:28 +03:00
9720daea05 Unify active subscriptions into one card with plan pickers for grant and extend.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 14:01:57 +03:00
990c92c78a Allow granting more plans and picking which active subscription to extend.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-10 13:46:23 +03:00
9f658f9cf6 Restrict Add Team Member to Super Admins only.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 12:00:48 +03:00
283ef1ee40 Enable admin team invites, hide practice points/difficulty UI, and improve mobile layout.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-08 11:50:48 +03:00
72384a5980 Fix IELTS shared-stimulus practice edit and add question-bank attach.
Restore the missing stimulus hydration import so Listening/Reading MC practices load, and allow attaching existing bank questions while surfacing clearer edit-load errors.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 22:14:48 +03:00
776f7a2872 Move role management into Settings Security with Super Admin edit access.
Embed roles under Settings, remove the sidebar Roles entry, and limit role edits to Super Admins.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 15:06:55 +03:00
4f0190f301 Remove FAQ management and the Settings initial assessment tab.
Drop FAQ routes, sidebar entry, and related admin UI; keep assessment thresholds under Content only.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 14:54:48 +03:00
2b880f0386 Improve admin content search, role filters, and profile demographics display.
Harden list/search paths that white-screened, tighten role management to team vs user roles, and show profile analytics/labels with field defaults instead of Other.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-06 13:59:32 +03:00
d16cb84006 Refine analytics KPIs and charts, and relabel exam prep as Duolingo/IELTS.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:02:59 +03:00
ef170e7fbd Map gender analytics from API and show gender and education breakdowns.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 13:09:09 +03:00
feea83a588 Fix admin white screen from circular imports and route guards.
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>
2026-08-05 12:14:42 +03:00
cd490c3dd9 Restrict admin panel access to three staff team roles.
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>
2026-08-05 12:05:10 +03:00
13217ae6b5 Remove issue reports and refine users list and detail UX.
Drop the issues feature from admin, simplify user status/region filters, and tighten user detail field layout.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 16:52:05 +03:00
992ca85690 Align admin dates with EAT and refine analytics, payments, and toasts.
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>
2026-08-04 15:23:15 +03:00
47893a7838 Add client-side search and filtering on the payments page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 11:21:37 -07:00
8e7226b370 Manage one initial assessment question set per CEFR level.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 11:09:51 -07:00
de9766be7b Add optional payment choice for admin grant and extend subscriptions.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-03 10:34:02 -07:00
d73e928de6 Default payments pagination to 10 rows per page.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-01 01:49:48 -07:00