mirror of
https://github.com/mw00/project-maya.git
synced 2026-12-03 21:08:26 +07:00
[PR #538] [CLOSED] Web UI redesign: new chat, Settings, Monitor, Models page and Saved #587
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
mw00/project-maya#587
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?
📋 Pull Request Information
Original PR: https://github.com/mw00/project-maya/pull/538
Author: @needmorevram
Created: 10/27/2026
Status: ❌ Closed
Base:
main← Head:ui-redesign-v1.1.29📝 Commits (10+)
ac749f6Web UI redesign, phase 1: v2 tokens, Lucide icons, Preact + htm38041a8Web UI redesign, phase 2: the new shell, sidebar and chat5323da9Web UI redesign, phase 3: the Settings dialoga2844d2Web UI redesign, phase 4: the Monitorcd6c942Web UI redesign, phase 5: review fixes, focus and docs3ab0eb1Web UI: a Models page - switch models and edit their engine settings3e4fabaWeb UI: "Saved" in the sidebar - what the model's own API would have charged690d44dSettings > Savings: change the API prices the Saved line counts withd1a68e4Monitor: a Context card - how much of the context the conversation usese3eed90Web UI on v1.1.29: MiniMax-M3.1 in the new pages, and fixes from a run against the DeepSeek engine📊 Changes
34 files changed (+6599 additions, -3740 deletions)
View changed files
📝
.gitignore(+3 -0)📝
CHANGELOG.md(+1 -1)📝
README.md(+12 -5)📝
maya.py(+20 -4)➕
serve/models.py(+458 -0)➕
serve/savings.py(+224 -0)📝
serve/server.py(+178 -6)📝
serve/test_dashboard.py(+16 -0)➕
serve/test_models.py(+340 -0)➕
serve/test_savings.py(+179 -0)📝
serve/test_server.py(+2 -2)📝
serve/web/app.css(+321 -505)📝
serve/web/app.js(+73 -2587)➕
serve/web/chat-view.js(+425 -0)➕
serve/web/chats.js(+627 -0)📝
serve/web/components.css(+219 -136)📝
serve/web/index.html(+13 -380)➕
serve/web/lib.js(+148 -0)📝
serve/web/manifest.webmanifest(+2 -2)➕
serve/web/md.js(+253 -0)...and 14 more files
📄 Description
What
This is the web UI redesign, rebased on v1.1.29 and with v1.1.30 merged in. The redesign itself is nine commits, unchanged apart from the rebase:
Two commits and a merge sit on top:
maya-ds4), and main's MiniMax-M3.1 support rebuilt in the new pages.The rebase
Main's MiniMax changes to the old dashboard (
app.js,index.html,app.css) conflicted with the redesign, which replaces those files. I took the redesign's files and rebuilt those features in the new modules (next section).server.pywas merged by hand: the imports from both sides, and/api/contextkeeps main'skv_ram_gbnext to the redesign'sload_s.v1.1.30, merged in
v1.1.30 came out after the rebase, so it is merged rather than rebased onto. As in the rebase,
app.jsstays the redesign's, and main's changes to the old dashboard are rebuilt in the new pages:model_label, e.g. "MiniMax M3.1 · Maya-XS") in the sidebar and the model menu.tools/maya_quants.py, so MiniMax's new GGUF quants show as Maya-XS and Maya-S.test_servernow checks the model label in the sidebar's code instead of the oldapp.js.MiniMax-M3.1 in the new UI
sampling_minimax).maya-mm3's expert tiles and its tip, and DSpark with the share of drafts kept. The engine reportsdspark=0/1as text, and"0"was truthy in JS.kv_ram, with a warning against the free RAM.--mmap-experts/--prefill-chunk/--reserve-mib.maya-mm3stops at a flag it doesn't know, so the model would not have started. The editor now offers onlymaya-mm3's own flags: drafting, tensor parallel (Off, 1, 2, 4), KV cache format, KV streaming and its VRAM window, and CPU threads.Fixes from a run against
maya-ds4Models page
--tp 8config couldn't be saved at all. It now goes up to every GPU picked; with no--tp, the default is the engine's own 2.installer.as_set_up, the page's Reset) are recorded before the first change, including a context reload from Settings.Chat
Monitor and About
layers=a-b); they were off by one.Sidebar and Settings
maya.ui-theme) isn't read any more, and the choice is nowmaya.theme.Phones
Tested
Unit tests, after the merge:
python -m unittest discover -s serve -t . -p 'test_*.py'gives 449 tests, 9 skipped. The one failure in the full run was main's test that read the oldapp.js; after its fix, its module and the related ones pass (190 OK). That count includes main's loop-guard and MiniMax tests and a new MiniMax Models-page test.tools.test_maya_modelsandtools.test_setup_mm3give 57 OK.serve/test_responses_schema.pyneedsjsonschemainstalled.Live DeepSeek (on the v1.1.29 base, before the merge): DeepSeek-V4.1-Flash abliterated (Mix-256G GGUF) on
maya-ds4 --tp 8, on an RTX 3090 + 8 × RTX 5060 Ti. Headless Chromium (Playwright) from a fresh profile:/metrics.maya.py. One added an environment variable, which reached the restarted engine; the other removed it.MiniMax: tested against the mock engine with a MiniMax config and
maya-mm3-shaped/metricsand/api/context;maya-mm3itself was not run.reasoning_effort: "medium".maya-mm3's flags, andmmapis refused.v1.1.30's UI pieces: checked against the mock on the merged code, with a broken loop and two answers at once faked in
/metrics. The model label reads "MiniMax M3.1 · Maya-XS", the totals line ends "loop guard: 1 loop broken", the chip's details show on hover, and the decode speed reads "2 writing 61.2 tok/s".Not done
serve/savings.py. Its Saved line counts nothing until prices are entered in Settings › Savings.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.