Skip to content

Latest commit

 

History

History
88 lines (58 loc) · 1.54 KB

edit-ui.md

File metadata and controls

88 lines (58 loc) · 1.54 KB

Edit-UI

Routes in EditRoutingModule

  • EditModule
  • RefreshEditModule
  • ItemHistoryModule

DialogEntryComponent is entry component. It will open dialog with screen based on route.

EditEntryComponent

Purpose:

  1. component will first prepare data for edit form using EditInitializerService
  2. than will show EditDialogMainComponent

EditDialogMainComponent

Purpose:

  • build form and form controls for Edit-UI in dialog
  • edit and validate form data
  • save form data

Components:

  • EditDialogHeaderComponent
  • FormBuilderComponent
  • EditDialogFooterComponent

EditDialogMainComponent

EditDialogHeaderComponent

Purpose:

  1. close dialog
  2. change publishing state

FormBuilderComponent

Build dynamic, reactive form to edit entity data.

Purpose:

  1. prepare field settings using FieldsSettingsService
  2. prepare field translations using FieldsTranslateService
  3. build and add form controls using FormBuilder
  4. handle form values (default, initial, changed)
  5. enable/disable controls
  6. handle form validation

Components:

  • EntityWrapperComponent

EntityWrapperComponent

Purpose:

  1. groups
  2. read-only
  3. languages
  4. tooltips
  5. headers
  6. settings
  7. saved state
  8. metadata
  9. template vars
  10. notes
  11. history
  12. refresh

Components:

EditDialogFooterComponent

Enable Debug mode to see this control with: [Shit]+[Ctrl]+[Alt]+(Mouse Click).

Purpose:

  • Data
  • Formulas
  • Logs