Releases: acantepie/umbrella
Releases · acantepie/umbrella
v6.1
v5.0
- Menu :
- Add
url()
andtarget()
methods on MenuBuilder
- Add
- DataTable :
- Remove
load_url
option, useload_route
andload_route_params
option instead - Remove
toolbar_class
option, usetoolbar_template
to override class of toolbar template instead - Rename
DetailsHandleColumnType
column byDetailsColumnType
- Remove
CheckboxColumnType
column andRadioColumnType
column, useselect
option instead (can bemulti
,single
orfalse
). Set optionselect
will automatically add an internal column with checkbox or radio. - Add
setRowSelectable
method for builder to determine if a row can be selected or not. - Remove
ManyColumnType
column (hard to use / customize). - Remove
tree_state
option, usetree_expanded
option instead (can betrue
orfalse
) - Add suffix
Type
to adapter type class. - Add
DataTableActionState
utils, to retrieve datatable state from an action (i.e : filter used, rows selected, columns order, ...) - option
table_class
replaced byclass
(revert) - option
class
replaced bycontainer_class
(revert) - Add option
stripe_class
to define stripe class of rows (ex : odd, even). Classtable-striped
is not used any more by default (cause glitch if datatable has extra rows).
- Remove
- DataTable (removed feature) :
- Remove
DragHandleColumnType
,RowReorder
helper,rowreorder_route
androwreorder_route_params
options and removerowReorder
js datatable plugin.
- Remove
- Remove Widget component => Replaced by lightweight but more configurable
Datatable\Action
component:- Method
addWidget
/removeWidget
/hasWidget
doesn't exist anymore on Datatable builder. UseaddAction
/removeAction
/hasAction
instead - Remove
WidgetColumnType
column, useActionColumnType
column instead.
- Method
- Fix
- prevent open multiple confirm modal
- Routing : Replace route annotation on vendor by config file (bundle best practice)
- To load admin routes, you have to import:
@UmbrellaAdminBundle/config/routes/profile.php
instead of@UmbrellaAdminBundle/config/routes/user_profile.yaml
@UmbrellaAdminBundle/config/routes/user.php
+@UmbrellaAdminBundle/config/routes/security.php
instead of@UmbrellaAdminBundle/config/routes/user.yaml
@UmbrellaAdminBundle/config/routes/notification.php
instead of@UmbrellaAdminBundle/config/routes/notification.yaml
- To load admin routes, you have to import:
Symfony 5.3 / Bootstrap 5
- [UI] Update admin theme
- [UI] Use bootstrap 5
- [UI] Upgrade profile view
- [UI] Use toastify instead of toastr (abandonned lib)
- [UI] Add menu search
- [Symfony] Update symfony 5.3
- [Form] Remove AsyncEntity2Type to AutoCompletType, rework Autocomplete (inspired by EasyAdmin)
- [Security] Clean User managment, use Symfony 5.3 password hasher and user identifier
- [Twig] Remove poor logic twig extension used to format html attribute
- [DataTable] Add DataTable selection mode
- [DataTable] Add DataTable row expander