You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Use `pluginId.propertyName` as key for form renderers
Rename to use _renderer_ instead of _component_ as it is a more common wording in Lumino/Lab code base.
* Update migration guide
* Fix computing default for metadataform
* Fix rst syntax
* Remove `settings` from `FormContext`
Co-authored-by: Nicolas Brichet <[email protected]>
* Rename `customComponent` in `customRenderer`
* Drop `MetadataForm.ISettings`
Co-authored-by: Nicolas Brichet <[email protected]>
* The ``FormComponentRegistry`` registers ``FormComponent`` instead of field renderers.
182
-
The methods have been renamed from ``...renderer`` to ``...component``. For example, ``addRenderer`` is now ``addComponent``.
183
-
A ``FormComponent`` defines a ``fieldRenderer`` or a ``widgetRenderer``.
179
+
* Form component registry changes:
180
+
- Rename the plugin ``'@jupyterlab/ui-components-extension:form-component-registry'`` to ``'@jupyterlab/ui-components-extension:form-renderer-registry'``
181
+
- Rename the ``IFormComponentRegistry`` token to ``IFormRendererRegistry``, from ``@jupyterlab/ui-components:ISettingEditorRegistry``
182
+
to ``@jupyterlab/ui-components:IFormRendererRegistry``.
183
+
- The ``FormRendererRegistry`` registers ``IFormRenderer`` instead of ``Field`` renderers.
184
+
A ``IFormRenderer`` defines a ``fieldRenderer`` (this is the renderer to set for backward compatibility)
185
+
or a ``widgetRenderer``.
186
+
The renderer id must follow the convention ``<ISettingRegistry.IPlugin.id>.<propertyName>``. This is to
187
+
ensure a custom renderer is not used for property with the same name but different schema.
184
188
- ``@jupyterlab/translation`` from 3.x to 4.x
185
189
Renamed the method ``locale`` into the property ``languageCode`` in the ``NullTranslator``
186
-
187
190
- ``jupyter.extensions.hub-extension`` from 3.x to 4.x
188
191
* Renamed ``jupyter.extensions.hub-extension`` to ``@jupyterlab/hub-extension:plugin``.
189
192
* Renamed ``jupyter.extensions.hub-extension:plugin`` to ``@jupyterlab/hub-extension:menu``.
0 commit comments