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
+2 -2
View File
@@ -96,7 +96,7 @@
<div class="profile-info-row">
<span class="profile-info-label">Bio</span>
<div class="flex-center-gap">
<span class="profile-info-value bio-display rendered-title" id="display-bio">{{ render_title(profile_user.get('bio', '')) or 'Not set' }}</span>
<div class="profile-info-value bio-display rendered-content" id="display-bio">{{ render_content(profile_user.get('bio', '')) or 'Not set' }}</div>
<button type="button" class="profile-info-edit" data-edit-field="bio" aria-label="Edit bio">&#x270E;</button>
</div>
</div>
@@ -144,7 +144,7 @@
<div class="profile-info">
<div class="profile-info-row">
<span class="profile-info-label">Bio</span>
<span class="profile-info-value rendered-title">{{ render_title(profile_user.get('bio', '')) or 'Not set' }}</span>
<div class="profile-info-value rendered-content">{{ render_content(profile_user.get('bio', '')) or 'Not set' }}</div>
</div>
<div class="profile-info-row">
<span class="profile-info-label">Location</span>