Skip to content

Admin Verify Dual-Running Setup #945

@americac

Description

@americac

!!! Blocked By: #944 !!!

Description:
Verify that both Administrate and new admin implementations are running successfully side-by-side. Do NOT remove Administrate routes yet.

Tasks:

  • Verify all admin_v2 routes are properly configured
  • Ensure custom member actions work:
    • admin_v2/classrooms#toggle_archive
    • admin_v2/students#import, #template, #add_transaction, #restore
  • Set admin_v2 root to admin_v2/classrooms#index
  • Verify portfolio_transactions#index route excluded (except: [:index])
  • Test all new admin pages are accessible at /admin-new/*
  • Verify all old Administrate pages still work at /admin/*
  • Document any differences between implementations

Acceptance Criteria:

  • All new admin routes work at /admin-new/*
  • All Administrate routes work at /admin/*
  • Custom member actions accessible in new admin
  • No route conflicts or errors
  • rails routes | grep admin shows both namespaces
  • Can navigate between both implementations

Files to Update:

  • config/routes.rb (verify both namespaces configured)

Reference:

  • config/routes.rb (current routes block)

Route Structure:

# Administrate (keep for now)
namespace :admin do
  root to: 'classrooms#index'
  resources :announcements
  # ... all other resources
end

# New in-house (admin_v2)
namespace :admin_v2, path: 'admin-new' do
  root to: 'classrooms#index'
  resources :announcements
  # ... all other resources with custom actions
end

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions