----------------
- Register new pat-datagridfield bundle.
Breaking change:
The JavaScript resources have changed a lot.
Please run the provided upgrade steps!
If you were customizing templates which loaded these JavaScript resources
or customized the JavaScript functionality itself, take special care.
The bundle is loaded only for logged-in users.
- Rework JavaScript as a Pattern for better initialization.
- Row UI buttons optimizations
Change row UI elements from anchor to buttons for better semantics.
Fix Bootstrap classes, remove unused attributes, add a title to buttons.
[thet]
- Change UI element classes
Remove non-unique id attributes from UI buttons and add classes instead.
Let the button functionality be initialized by the pattern.
Breaking change:
In this version a pattern handles all the JavaScript functionality to ensure best possible encapsulation between different instances of the datagridfield widget.
If you have customized templates, make sure you do the following:
- Add the class ``pat-datagridfield`` to the ``datagridwidget-table-view`` nodes (datagridfield_input.pt, datagridfield_input_block.pt).
- Add the following classes instead of ids to the ui buttons as shown in this map (datagridfieldobject_input.pt, datagridfieldobject_input_block.pt):
- btn-addrow -> .dgf--row-add
- btn-deleterow -> .dgf--row-delete
- btn-moveup -> .dgf--row-moveup
- btn-movedown -> .dgf--row-movedown
[thet]
- Use pat-datagridfield in templates.
[thet]
- Remove extra parameter for datagridfield widget as it was unused and untested.
[thet]
- Clean up upgrade profile definitions and align to Plone standards.
[thet]
- Use Github actions instead Travis CI.
[thet]
- Test setup using bobtemplate.plone config.
[thet]
- Code formatting - black, zpretty, prettier.
[thet]
- Import with module name.
[ksuess]
- Register translations in locales directory.
[erral]
- Add es and eu translations.
[erral]
- Accessibility fixes.
[erral]