vaadin / starters

Issue repository for all the starter projects in https://vaadin.com/start
3 stars 0 forks source link

Problem creating new starter #162

Closed diiogo91 closed 4 months ago

diiogo91 commented 4 months ago

I was unable to download my application from start.vaadin.com.

This was the configuration used:

{
  "applicationConfiguration": {
    "projectName": "REVFy",
    "groupId": "co.mz.revfy",
    "vaadinVersion": "v24.4",
    "codeGeneration": "REACT",
    "dockerConfiguration": true,
    "kubernetesConfiguration": true,
    "alwaysGenerateBackend": false,
    "javaVersion": 17,
    "access": "PUBLIC",
    "experimentalFeatures": [],
    "git": true,
    "runOnRandomPort": true,
    "artifactId": "revfy-mz",
    "sizingFeatureEnabled": true,
    "generatedProjectId": "51e70dab-c00b-47e4-ba18-dbd8e3a25372"
  },
  "theme": {
    "componentStyles": {
      "vaadin-button": [
        "\n:host(:not([theme~=\"tertiary\"])) {\n  background-image: linear-gradient(var(--lumo-tint-5pct), var(--lumo-shade-5pct));\n  box-shadow: inset 0 0 0 1px var(--lumo-contrast-20pct);\n}\n:host(:not([theme~=\"tertiary\"]):not([theme~=\"primary\"]):not([theme~=\"error\"]):not([theme~=\"success\"])) {\n  color: var(--lumo-body-text-color);\n}\n:host([focus-ring]:not([theme~=\"tertiary\"])) {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-color);\n}\n:host([focus-ring][theme~=\"primary\"]) {\n  box-shadow: 0 0 0 2px var(--lumo-primary-color-50pct), inset 0 0 0 1px var(--lumo-primary-contrast-color);\n}\n:host([theme~=\"primary\"]) {\n  text-shadow: 0 -1px 0 var(--lumo-shade-20pct);\n}"
      ]
    },
    "variant": "light",
    "styles": ""
  },
  "views": [
    {
      "name": "Main",
      "type": "menu-on-top-layout",
      "route": "",
      "entityId": -1,
      "children": [
        {
          "id": 4,
          "name": "REVFy",
          "type": "empty-view",
          "route": "rec-player",
          "icon": "file",
          "entityId": -1,
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false,
          "codeGeneration": "JAVA"
        },
        {
          "id": 6,
          "name": "REVFy Chat",
          "type": "chat-view",
          "route": "chat",
          "icon": "comments",
          "entityId": -1,
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false,
          "codeGeneration": "JAVA"
        },
        {
          "id": 5,
          "name": "Hilla",
          "type": "hello-world-view",
          "route": "hilla",
          "icon": "globe-solid",
          "entityId": -1,
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false,
          "codeGeneration": "REACT"
        }
      ],
      "generateTestData": false,
      "generateUrlTemplate": false,
      "id": 0
    }
  ],
  "entities": []
}
Artur- commented 4 months ago

The problem here seems to be that there is no top level menu for Hilla/React. Selecting "Drawer" instead of "Tabs" produces this project: revfy.zip

MarcinVaadin commented 4 months ago

New version with fix deployed. Please retest. Thank you for submitting issue!