feat: Page Editor UX Phase 2 - unsaved changes panel, property search, reset property, empty states
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
Some checks failed
Architecture Governance / architecture (push) Has been cancelled
- ProjectEditorFacade.resetField(key): field-level revert-to-original, reusing getByPath + a new immutable setByPath (write-side counterpart, scalar/object dot-paths only). - app-form-field gains showReset/resetLabel/(resetClicked) - a reusable per-field reset affordance, wired on branding logo/title and theme primary/background color. - Save bar: unsaved-changes count is now clickable, expanding a field-level diff list (reuses facade.changeSummary(), already built for the Preview tab) with jump-to-section links. - BuilderPropertySearchComponent: filters EditorSchemaService.all() by translated label/hint, jumps to the owning section - no new registry, reuses the existing schema. - navigation-section: app-empty-state (existing component) added for empty header/footer link lists. - Reset Section and Draft/Published badge were already implemented; not touched. - New copy added as translation keys (en/ru/hy).
This commit is contained in:
@@ -880,6 +880,16 @@ export const hy: Translations = {
|
||||
usedByLinks: 'Հղումներ',
|
||||
usedByBadges: 'Կրծքանշաններ',
|
||||
usedByPageBackground: 'Էջի ֆոն',
|
||||
resetField: 'Վերականգնել',
|
||||
propertySearchLabel: 'Որոնել կարգավորումներ',
|
||||
propertySearchPlaceholder: 'Որոնել կարգավորումներ…',
|
||||
propertySearchResultsLabel: 'Որոնման արդյունքներ',
|
||||
propertySearchNoResults: 'Համընկնումներ չեն գտնվել։',
|
||||
unsavedChangesPanelTitle: 'Չպահպանված փոփոխություններ',
|
||||
navigationHeaderEmptyTitle: 'Վերնագրում հղումներ դեռ չկան',
|
||||
navigationHeaderEmptyDesc: 'Ավելացրեք հղում, որպեսզի գնորդները կարողանան նավարկել վերնագրից։',
|
||||
navigationFooterEmptyTitle: 'Ստորագրում հղումներ դեռ չկան',
|
||||
navigationFooterEmptyDesc: 'Ավելացրեք հղում, որպեսզի գնորդները կարողանան նավարկել ստորագրից։',
|
||||
addBlockHint: 'Ավելացնել բլոկ գլխավոր էջում.',
|
||||
dragToReorder: 'Քաշեք՝ կարգը փոխելու համար',
|
||||
blockRemoveConfirm: 'Հեռացնե՞լ այս բլոկը գլխավոր էջից։',
|
||||
|
||||
Reference in New Issue
Block a user