nuxeo-web-ui icon indicating copy to clipboard operation
nuxeo-web-ui copied to clipboard

Lit poc

Open Gabez0r opened this issue 3 years ago • 6 comments

Depends on https://github.com/nuxeo/nuxeo-elements/pull/505.

Gabez0r avatar Jan 13 '22 14:01 Gabez0r

Build broke initially because of incompatible versions of @lit/reactive-element between mwc-snackbar (which used an old one) and elements. This PR landed and a new release of mwc-snackbar was done, which fixed the issue. This points again to the first limitation reported in https://github.com/nuxeo/nuxeo-elements/pull/505: combining different major versions of lit, even if these come via transitive dependencies, might prevent Web UI from being built successfully.

Gabez0r avatar Jan 13 '22 14:01 Gabez0r

Please ignore 8b68ad0f09ef60c4842ade12363d73159ec7bcf4, a3beb615a2bff62b769686e8ad5588f3f4bccf83 and 0127b757e95cc41fb6c4f49333fc31bf7554bb3d.

Gabez0r avatar Jun 07 '22 17:06 Gabez0r

Requirements:

  • Update vaadin-date-picker, which is already planned (see WEBUI-799).
  • Update nodejs version, which is already planned (see WEBUI-792).
  • Update mwc-snackbar (4e4e1ce17af37bf92607ca7a3f3d49df4a5d5648). The API of the element seems to have changed, so we will have to do some changes to our integration of the element with Web UI (see 4e4e1ce17af37bf92607ca7a3f3d49df4a5d5648).

Gabez0r avatar Jun 08 '22 13:06 Gabez0r

Beyond the requirements, no further effort is needed on the Web UI side to make sure an element that was converted on nuxeo-elements can be safely used.

Gabez0r avatar Jun 08 '22 14:06 Gabez0r

:star: PR built and available here

github-actions[bot] avatar Jun 08 '22 14:06 github-actions[bot]

really excited for this :) if you need help or would like contributions from end-developers, let me know. i'd love to contribute.

sgammon avatar Aug 02 '22 20:08 sgammon