Skip to content

Integrate Django dashboard into maia-toolkit package#102

Draft
Copilot wants to merge 4 commits intomasterfrom
copilot/integrate-django-dashboard-app
Draft

Integrate Django dashboard into maia-toolkit package#102
Copilot wants to merge 4 commits intomasterfrom
copilot/integrate-django-dashboard-app

Conversation

Copy link
Contributor

Copilot AI commented Dec 30, 2025

The Django dashboard app (previously in dashboard/apps and dashboard/core) is now packaged within maia-toolkit for standalone deployment and testing.

Changes

Package Structure

  • Copied dashboard/apps/ and dashboard/core/ to MAIA/dashboard/
  • Added manage.py to dashboard package root
  • Created 19 Python packages for dashboard modules (authentication, gpu_scheduler, namespaces, user_management, resources, api, etc.)

Build Configuration

  • Updated setup.py with package_data directives for non-Python assets (HTML, CSS, JS, SCSS, PNG, fonts)
  • Updated MANIFEST.in with recursive includes for dashboard files
  • Added Django dependencies to setup.cfg (djangorestframework, django-allauth, mozilla-django-oidc, mysqlclient, etc.)

Setup Automation

  • Created MAIA_scripts/MAIA_setup_dashboard.py CLI tool
  • Automates: makemigrations (authentication, gpu_scheduler), migrate, runserver
  • Supports --host, --port, --no-server, --background options
  • Added MAIA_setup_dashboard console script entry point

Documentation

  • Added docs/dashboard_integration.md with installation, usage, and deployment guide
  • Updated README.md with dashboard toolkit section

Usage

pip install maia-toolkit
MAIA_setup_dashboard  # Runs migrations and starts server on 0.0.0.0:8000

Package Stats

  • 471 files, ~387k lines added
  • 528 dashboard files in distribution tarball
  • Includes 38 HTML templates, 40 PNG images, 168 SCSS files, 14 JS files
Original prompt

This section details on the original issue you should resolve

<issue_title>Integrate Django dashboard app into maia-toolkit Python package</issue_title>
<issue_description>## Summary
Integrate the Django dashboard app currently under dashboard/apps and dashboard/core into the maia-toolkit Python package.

Details

  • Package all contents of the dashboard app (including Python files, HTML templates, PNG files, Django templates, etc.) found in dashboard/apps and dashboard/core into the maia-toolkit package.

Related Script Requirement

A corresponding script should be added to the MAIA_scripts repository to automate dashboard setup operations:

python manage.py makemigrations authentication
python manage.py makemigrations gpu_scheduler
python manage.py makemigrations
python manage.py migrate
python manage.py runserver 0.0.0.0:8000 --insecure &

Acceptance Criteria

  • The dashboard app, including all relevant files (Python, HTML, PNG, templates), is packaged within maia-toolkit.
  • A setup script is available in MAIA_scripts automating migration and server startup for the dashboard.
  • Documentation on integration steps and usage.

Notes

  • Ensure supported file types and templates are included from both dashboard/apps and dashboard/core.
  • Coordinate changes between maia-toolkit and MAIA_scripts for seamless integration.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI and others added 2 commits December 30, 2025 14:53
Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
Co-authored-by: SimoneBendazzoli93 <25175838+SimoneBendazzoli93@users.noreply.github.com>
Copilot AI changed the title [WIP] Integrate Django dashboard app into maia-toolkit package Integrate Django dashboard into maia-toolkit package Dec 30, 2025
…A_Workspace_Complete.png and Workspace.png, delete outdated Shutterstock EPS file, and update Shutterstock JPG.
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.

Integrate Django dashboard app into maia-toolkit Python package

2 participants