Skip to content

Refactor web UI with Alpine.js and TailwindCSS, enhance task management#677

Merged
hasan7n merged 60 commits intomlcommons:mainfrom
mhmdk0:webui-new-design
Mar 22, 2026
Merged

Refactor web UI with Alpine.js and TailwindCSS, enhance task management#677
hasan7n merged 60 commits intomlcommons:mainfrom
mhmdk0:webui-new-design

Conversation

@mhmdk0
Copy link
Contributor

@mhmdk0 mhmdk0 commented Mar 14, 2026

Overview

This PR introduces a major refactor of the WebUI, replacing the previous Bootstrap-based implementation with Alpine.js and TailwindCSS to provide a more modern, lightweight, and maintainable frontend architecture.

In addition to the UI redesign, this PR introduces training support in the WebUI, improves task execution management, and refactors several backend routes to align with the new UI flow.

Main Changes

WebUI Refactor

  • Replaced Bootstrap with TailwindCSS for styling.
  • Introduced Alpine.js for frontend interactivity.
  • Refactored templates and static assets to follow the new UI architecture.
  • Improved overall layout, styling consistency, and maintainability.

Training Support in WebUI

  • Added training functionality to WebUI routes.
  • Implemented training templates and static components.
  • Fixed training submission flow to correctly return entity IDs for UI usage.

Task Execution Improvements

  • Allow multiple tasks to run simultaneously in the WebUI.
  • Improved task start/stop handling.
  • Updated task naming to match the new UI design.
  • Improved log handling and event processing.
  • Enabled interactive mode execution for better UI log streaming.

Aggregator Workflow Changes

  • Removed the previous aggregator association model.
  • Introduced "set aggregator" functionality to simplify workflow.

Backend & UI Fixes

  • Fixed UI logs behavior and event duplication issues.
  • Improved handling of logs when switching profiles.
  • Refactored JavaScript logic to match the new frontend flow.
  • Various UI fixes and consistency improvements.

@mhmdk0 mhmdk0 requested a review from a team as a code owner March 14, 2026 23:12
@mhmdk0 mhmdk0 requested a deployment to testing-external-code March 14, 2026 23:12 — with GitHub Actions Waiting
@github-actions
Copy link
Contributor

github-actions bot commented Mar 14, 2026

MLCommons CLA bot All contributors have signed the MLCommons CLA ✍️ ✅

@mhmdk0 mhmdk0 requested a deployment to testing-external-code March 14, 2026 23:29 — with GitHub Actions Waiting
@mhmdk0 mhmdk0 requested a deployment to testing-external-code March 14, 2026 23:50 — with GitHub Actions Waiting
@mhmdk0 mhmdk0 requested a deployment to testing-external-code March 15, 2026 18:13 — with GitHub Actions Waiting
@mhmdk0 mhmdk0 requested a deployment to testing-external-code March 15, 2026 18:20 — with GitHub Actions Waiting
@hasan7n hasan7n requested a deployment to testing-external-code March 20, 2026 05:02 — with GitHub Actions Waiting
@hasan7n hasan7n deployed to testing-external-code March 22, 2026 13:07 — with GitHub Actions Active
@hasan7n hasan7n merged commit c523108 into mlcommons:main Mar 22, 2026
11 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants