Skip to content

Angular updates todo list #573

@colemanw

Description

@colemanw
  • Use one-time-binding for static content or the output of deterministic functions, e.g. Fix ts() in angular templates to use one-time binding #570
  • Move server-side module definition into an .ang.php file and out of hook_civicrm_angularModules() - revert that function to delegate to _volunteer_civix_civicrm_angularModules() .
  • Break up monolithic "volunteer" Angular module into smaller bite-sized modules.
  • Break up CRM_Volunteer_Page_Angular into front-end and back-end pages, and only load the modules needed for each.
  • Use components instead of directives when possible.
  • Break up monolithic js files into one file per component/directive.
  • Pre-load backbone code on the back-end angular pages instead of depending on the clientside script loading done by angularprofiles (which is broken on some CMS configurations, see civicrm/org.civicrm.contactlayout@24f9a1f)
  • Stop using AJAX to load Angular tab content - core now supports loading it directly

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions