Skip to content

feat: Integrate admin module with new backend and fix admin flow issues - #204

Merged
MohamedAmrSafwat merged 1 commit into
devfrom
feat/admin-stateful-ui
May 2, 2026
Merged

feat: Integrate admin module with new backend and fix admin flow issues#204
MohamedAmrSafwat merged 1 commit into
devfrom
feat/admin-stateful-ui

Conversation

@MohamedAmrSafwat

Copy link
Copy Markdown
Contributor

Summary

This PR integrates the admin module with the new backend and resolves a set of admin-side issues across authentication, analytics, reports, and user management.

What Changed

  • Connected admin authentication to the backend login flow.
  • Wired admin analytics, reports, and banned users pages to backend-powered data.
  • Updated admin API service/contracts/types to match backend responses.
  • Fixed admin report status handling and moderation actions.
  • Corrected admin dashboard/report counts and related UI behavior.
  • Improved admin auth token handling so admin requests use the correct session context.

Fixes Included

  • Fixed admin login/session issues that caused redirects back to the login page.
  • Fixed report status flows for dismiss, resolve, and moderation actions.
  • Fixed report totals/resolved counts to better reflect backend state.
  • Fixed admin user management integration with banned users endpoints.
  • Added/updated tests covering admin services, hooks, types, and dashboard flows.

Scope

This PR is focused on the admin module and its backend integration.

@MohamedAmrSafwat
MohamedAmrSafwat merged commit dbff0c9 into dev May 2, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant