Skip to content

v0.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Nov 18:26

Added

  • EmbeddedListField: a collection of the edited entity shown in its form
    as the index of the collection's own CRUD controller, filtered on the
    edited entity, with its pagination, sorting and row actions. A Doctrine
    collection takes its CRUD controller and filter from its mapping, owning
    or inverse side; a computed one names them with
    setEmbeddedController(). On index and detail pages, the field shows the
    size of the collection.
  • Fragment rendering on upstream EasyAdmin: a request with the
    X-EA-Fragment: 1 header renders its action without the dashboard
    layout, and an index without the confirmation modal, whose form cannot
    nest in the edit form, and without its filters and batch actions.
  • embedded-list.js: loads each list, keeps its links and forms to the
    application's own pages inside it,
    aborts a load superseded by a newer one, binds the confirmation modal to
    the row actions it brings, runs a confirmed delete in place and reloads
    the list, and keeps a cancelled confirmation of the page from running with
    it. Events ea.embedded-list.refreshed and ea.embedded-list.reload.
  • Session release: a list request saves the session once the user is
    loaded, and the CSRF tokens a list mints (ea-toggle,
    ea-batch-action-*) are checked by origin.
  • Options for the fragment header and layout, filters and batch actions in
    lists, the field's template and columns, in-place actions, and the
    session handling.