Collective.z3cform.datagridfield

Latest version: v3.0.2

Safety actively analyzes 629232 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 6

2.0.1

------------------

- Amend fix for `110 <https://github.com/collective/collective.z3cform.datagridfield/issues/110>`_ in registry.
[agitator]

- Fix documentation. `110 <https://github.com/collective/collective.z3cform.datagridfield/issues/110>`_.
[petschki]

2.0

----------------

- 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 Boostrap 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]

- Accesibility fixes.
[erral]

1.5.3

------------------

- Bug fix for multiple datagridfields per form.
Multiple lines were auto added when more than one datagrid was present.
Fixes `issue 96 <https://github.com/collective/collective.z3cform.datagridfield/issues/96>`_.
[maurits]

1.5.2

------------------

- Fix "Unknown directive widgetTemplate"
[agitator]

- Bug fix: auto appending row.
[ksuess]

1.5.1

------------------

- Add missing upgrade profile to_2
[agitator]

1.5.0

------------------

- Add support for Python 3 and Plone 5.2.
[pbauer, agitator]

Page 2 of 6

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.