feat: integrate admin panel into the mobile app (#37) #115
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Slovo_Propovedi/slovo-propovedi-mobile!115
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/admin-interface"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Integrates the admin panel directly into the mobile app under
/admin, replacingthe separate Svelte admin application's functionality on mobile.
Closes #37.
What's included
/adminarea with a tab bar: Разделы, Плейлисты, Проповеди, Медиа, Пользователиexpo-secure-storeon native, AES-GCM + IndexedDB on webVerification
lint/check:types/check:unused(knip) /check:fsd/check:circular— all greengradle assembleDevDebug— BUILD SUCCESSFUL- axiosInstance: tokenStorage comment referenced the old web storage; it is now AES-GCM over WebCrypto with a non-extractable key in IndexedDB. - sectionFormState.parseItemsRows: Number() accepted decimals and exponent notation ('1e3' -> 1000); guard with a digit-only pattern so only positive integers pass, and extend the test. Signed-off-by: egoreast <egor.east@yandex.ru>Port the Svelte Users and UserDetail pages: paginated list (GET /users?page&limit=20) with a debounced client-side filter across loaded pages, plus a detail screen with a stat grid, password change via PATCH /users/{id}/password and delete via DELETE /users/{id} (the delete action is hidden for the authenticated account). Role labels move to entities/auth (ROLE_LABELS), reused across the users screens. Signed-off-by: egoreast <egor.east@yandex.ru>Port the Svelte UserForm: POST /users sends name/email/username/password/role (role always, default user), PATCH /users/{id} sends only the changed fields (name/email/username/role, no password). Password is only shown in create mode; it is changed on the detail screen. Registers the create/detail/edit user screens in the /admin stack via useUserScreens. Signed-off-by: egoreast <egor.east@yandex.ru>