Skip to content

Phase 2 frontend source shell scaffold#60

Draft
wochenlong wants to merge 64 commits into
editorfrom
codex/frontend-source
Draft

Phase 2 frontend source shell scaffold#60
wochenlong wants to merge 64 commits into
editorfrom
codex/frontend-source

Conversation

@wochenlong
Copy link
Copy Markdown
Owner

@wochenlong wochenlong commented May 29, 2026

Summary

  • add frontend/source, a minimal Vite + Vue 3 + TypeScript source-owned trainer shell
  • declare compatibility routes in frontend/source/src/routes.json
  • build static output to build/frontend-source-dist with route HTML aliases
  • add scripts/verify_frontend_source.py and tests/test_frontend_source.py
  • start incremental migration with a source-owned /other/settings.html page for native tag editor API settings and legacy-entry visibility settings

Verification

  • cd frontend/source && npm install
  • cd frontend/source && npm run check
  • cd frontend/source && npm run build
  • python scripts/verify_frontend_source.py --require-built-output
  • python -m pytest tests/test_frontend_source.py tests/test_dataset_editor_api.py tests/test_tagger_progress_api.py tests/test_portable_packaging_scripts.py -q → 55 passed, 3 warnings
  • FastAPI smoke with MIKAZUKI_FRONTEND_DIST=build/frontend-source-dist served /, /other/settings.html, /native-tageditor.html, and fallback /missing-route

Notes

This is still a Draft PR. It proves the source-owned frontend build path and migrates the first settings/utility page, but it does not replace production frontend/dist/ or migrate mature trainer forms yet.

wochenlong added 30 commits May 30, 2026 03:07
wochenlong added 30 commits May 30, 2026 09:24
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.

1 participant