Phase 4: Authenticated dashboard with tool grid #5
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Type
Feature
Lineage
Decomposed from #1 — Phase 4 of 4. Depends on #4 (Keycloak auth).
Repo
forgejo_admin/pal-enterprisesUser Story
As an authenticated user, I want to see a dashboard of all platform tools after login, so that I can navigate to any service without re-authenticating.
Context
Create the authenticated dashboard at
/dashboard— a grid of tool cards linking to every pal-e platform service. This mirrors the current pal-e-hub surfaces list but in Rails. The dashboard is session-gated: unauthenticated users are redirected to the landing page.The tool list (sourced from the current pal-e-hub
+page.server.js):File Targets
Files to create:
app/controllers/dashboard_controller.rb— index action, before_action auth checkapp/views/dashboard/index.html.erb— tool cards grid with Tailwindapp/controllers/concerns/authentication.rb— sharedrequire_authconcernFiles to modify:
config/routes.rb— add/dashboardapp/controllers/sessions_controller.rb— redirect to/dashboardafter loginAcceptance Criteria
/dashboardwith tool card grid/dashboardredirects to//dashboardTest Expectations
bin/rails testConstraints
before_actionusing the Authentication concern from Phase 3Checklist
Related
pal-enterprises— projectScope Review: NEEDS_REFINEMENT
Review note:
review-1181-2026-05-09File targets are partially stale -- most plumbing already exists from Phase 3. Main remaining work is the tool card grid view.
dashboard_controller.rb,routes.rb,sessions_controller.rbalready exist and are wired up.concerns/authentication.rbdoes not exist -- auth lives inApplicationController.forgejo_admin/pal-enterprises->ldraney/pal-enterprises(repo was transferred)./" but code redirects to/login. Clarify intended behavior.arch-rails-app-- no backing note exists in pal-e-docs.