docs(project-editor): document new shared/ui primitives and fixed bugs
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,30 @@ don't fix inline unless asked.
|
||||
|
||||
## Fixed
|
||||
|
||||
1. **Quick Actions: 3 untranslated raw i18n keys.**
|
||||
1. **Project Editor footer: payment icons and social links had no validation.**
|
||||
`footer-section.component.ts` parsed both fields from pipe-delimited
|
||||
`<textarea>` strings (`icon.src|icon.alt`, `link.id|link.label|link.url`)
|
||||
with zero validation - malformed rows silently produced empty `src`/`alt`/
|
||||
`url` values instead of surfacing an error.
|
||||
- Fixed: 2026-07-16, replaced both textareas with `app-key-value-editor`
|
||||
rows (icon picked via `MediaPickerComponent`, label/URL via `app-input`),
|
||||
added inline URL-format validation on social links (same `HTTP_URL`
|
||||
pattern used in `project-validator.service.ts`) and a missing footer-logo
|
||||
media picker.
|
||||
|
||||
2. **Project Editor navigation: nav link labels only editable for the default locale.**
|
||||
`navigation-section.component.ts`'s `labelOf` helper (and the facade's
|
||||
`updateNavLinkLabel`) always read/wrote the default locale's key on a
|
||||
`NavigationLocalizedText` label map, so switching locales elsewhere in the
|
||||
editor had no effect on nav link text - other locales' translations could
|
||||
only be edited by hand-editing the exported JSON.
|
||||
- Fixed: 2026-07-16, added `app-locale-tabs` to the section; the label
|
||||
input now reads/writes the active tab's locale via a new
|
||||
`editableLabel()` helper, and `ProjectEditorFacade.updateNavLinkLabel()`
|
||||
gained an optional `locale` parameter (defaults to the current default
|
||||
locale, so existing callers are unaffected).
|
||||
|
||||
3. **Quick Actions: 3 untranslated raw i18n keys.**
|
||||
`dashboard.actionUsers`, `dashboard.actionMonitoring`,
|
||||
`dashboard.actionAnalytics` rendered as literal key strings instead of
|
||||
translated labels on the admin dashboard's Quick Actions section, because
|
||||
|
||||
Reference in New Issue
Block a user