vaadin / designer

Public repository for Vaadin Designer
https://vaadin.com/designer
16 stars 3 forks source link

Open child web components #2211

Open szolo opened 4 years ago

szolo commented 4 years ago

Steps to reproduce

  1. Create a web component in your project:
    import "@vaadin/vaadin-grid";
    import { GridElement } from "@vaadin/vaadin-grid/src/vaadin-grid";
    class PTable extends GridElement {
    connectedCallback() {
    super.connectedCallback();
    }
    }
    customElements.define("p-table", PTable);
  2. Map web component to the Java part:
    package org.vaadin.designerdxtest;
    import com.vaadin.flow.component.Tag;
    import com.vaadin.flow.component.grid.Grid;
    @Tag("p-table")
    public class PTable<T> extends Grid<T> {
    }
  3. Try to open web component with Designer.

    Actual behavior

Web component is not shown in palette.

Expected behavior

Web component should be shown in palette. Export to Java class should use correct mapping.

IDE, Designer and OS version

Designer 4.3.10, Windows 10, IntelliJ IDEA 2019.2

Additional information

Need to be implemented for Prevo customer. Case confirmed by @werwolfberlin.

stale[bot] commented 4 years ago

Hello there!

It looks like this issue hasn't progressed lately. There are so many issues that we just can't deal them all within a reasonable timeframe.

There are a few things you could help to get things rolling on this issue (this is an automated message, so expect that some of these are already in use):

Thanks again for your contributions! Even though we haven't been able to get this issue fixed, we hope you to report your findings and enhancement ideas in the future too!