Frontend Issue 3: Add Admin Forgejo Connection UI #19

Closed
opened 2026-05-19 02:28:02 -05:00 by null · 0 comments
Owner

Goal

Let admins configure Forgejo connections.

Suggested Files

  • frontend/src/app/git-projects/connections/page.tsx
  • frontend/src/app/git-projects/connections/new/page.tsx
  • frontend/src/app/git-projects/connections/[connectionId]/edit/page.tsx
  • frontend/src/components/git/ForgejoConnectionsTable.tsx
  • frontend/src/components/git/ForgejoConnectionForm.tsx

Acceptance Criteria

  • Admins can add and edit Forgejo base URL and token.
  • Token is write-only and never displayed after save.
  • Safe token metadata such as token_last_eight may be shown if returned by the API.
  • Non-admin users do not see admin actions.
  • Empty/loading/error states are present.
  • npm run lint and npx tsc --noEmit pass.

Out Of Scope

  • Repository management, Issue list, Close issue action.
## Goal Let admins configure Forgejo connections. ## Suggested Files - `frontend/src/app/git-projects/connections/page.tsx` - `frontend/src/app/git-projects/connections/new/page.tsx` - `frontend/src/app/git-projects/connections/[connectionId]/edit/page.tsx` - `frontend/src/components/git/ForgejoConnectionsTable.tsx` - `frontend/src/components/git/ForgejoConnectionForm.tsx` ## Acceptance Criteria - Admins can add and edit Forgejo base URL and token. - Token is write-only and never displayed after save. - Safe token metadata such as `token_last_eight` may be shown if returned by the API. - Non-admin users do not see admin actions. - Empty/loading/error states are present. - `npm run lint` and `npx tsc --noEmit` pass. ## Out Of Scope - Repository management, Issue list, Close issue action.
null closed this issue 2026-05-19 03:17:09 -05:00
null added the
admin
forgejo
frontend
labels 2026-05-19 03:32:02 -05:00
Sign in to join this conversation.
No description provided.