feat: add authenticated my-profile endpoint and clean breadcrumb markdown in SEO context

- Add GET /profile route returning own profile page with tab support, backed by new my_profile_page handler in profile/index.py and documented in docs_api.py
- Introduce _clean_breadcrumbs helper in seo.py that strips markdown from breadcrumb names before passing to schema generation
- Skip data-confirm modal for elements with data-auto-submit attribute in ModalManager.js
- Guard PushManager subscription against missing userUid and capture it from document body dataset
- Switch profile bio template from render_title to render_content and use div instead of span for proper block rendering
This commit is contained in:
2026-07-01 13:15:33 +00:00
parent 6f340a6818
commit 244a524b91
8 changed files with 55 additions and 7 deletions
+1 -5
View File
@@ -1,20 +1,16 @@
# retoor <retoor@molodetz.nl>
from fastapi import APIRouter
from devplacepy.routers.profile import (
ai_correction,
ai_modifier,
avatar,
customization,
index,
notifications,
telegram,
)
from devplacepy.routers.profile.index import router
from devplacepy.routers.profile.usage import _ai_quota
router = APIRouter()
router.include_router(index.router)
router.include_router(customization.router)
router.include_router(notifications.router)
router.include_router(ai_correction.router)