chore: remove legacy web app (jQuery/Bootstrap templates)#171
Merged
Conversation
公開ページ(LP・使い方・ロビー)は frontend へ移行済みで、唯一残っていた admin/chart も frontend の /stats(StatsDashboard)が同じ /api/v1/statistics/* を消費する形で代替済み。web アプリ一式(jQuery・Bootstrap・flickity・slick・ simplebar・テンプレート)を削除する。 - web/ アプリを削除(views/urls/templates/static/tests/apps) - INSTALLED_APPS から "web" を除去、d_party/urls.py の include も削除 - Jazzmin topmenu の "Chart" を /admin/chart → /stats へ向け直し - 管理画面ロゴ dp-mini.png を web/static → assets/branding へ移設し、 STATICFILES_DIRS=[assets] を追加(site_logo を branding/dp-mini.png に更新) Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
公開ページ(LP・使い方・ロビー)は frontend へ移行済みで、唯一残っていた
admin/chartも frontend の/stats(StatsDashboard)が同じ/api/v1/statistics/*を消費する形で代替済み。レガシーなweb/アプリ一式(jQuery・Bootstrap・flickity・slick・simplebar・テンプレート、計 ~13,555 行)を削除する。変更点
web/アプリを削除(views / urls / templates / static / tests / apps)INSTALLED_APPSから"web"を除去、d_party/urls.pyのinclude("web.urls")も削除Chartを/admin/chart→/stats(frontend)へ向け直しdp-mini.pngをweb/static→assets/brandingへ移設し、STATICFILES_DIRS=[assets]を追加(site_logoをbranding/dp-mini.pngに更新)補足
api/views.pyの/api/v1/statistics/*、いずれもAllowAny)はそのまま残存。frontend/statsと shields バッジが引き続き利用する。admin/chart(ログイン必須)→ frontend/stats(公開)へ可視性は変わるが、データ元 API が元々公開のため新たな露出はない。検証
manage.py check通過(残る axes 警告は既存・無関係)collectstatic --dry-runでロゴが新経路assets/branding/dp-mini.pngで解決。Jazzmin は自前 bootstrap 同梱のため管理画面は無傷pytest11 passedruff format --check/ruff checkクリーン🤖 Generated with Claude Code