vaadin / starters

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

Problem creating new starter #133

Closed 1waytocode closed 1 year ago

1waytocode commented 1 year ago

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

This was the configuration used:

Please paste configuration here. It was automatically added to your clipboard.
{
  "applicationConfiguration": {
    "projectName": "Berserk Online",
    "groupId": "ru.berserkonline.application",
    "vaadinVersion": "v24",
    "codeGeneration": "JAVA",
    "dockerConfiguration": false,
    "kubernetesConfiguration": false,
    "alwaysGenerateBackend": false,
    "javaVersion": 17,
    "access": "PUBLIC",
    "experimentalFeatures": [],
    "git": true,
    "runOnRandomPort": false,
    "generatedProjectId": "3d411f28-98be-4051-ac8f-ee0cc62b1539"
  },
  "theme": {
    "componentStyles": {},
    "variant": "dark",
    "styles": "    html {\n      --lumo-font-size: 1rem;\n      --lumo-font-size-xxxl: 3rem;\n      --lumo-font-size-xxl: 2.25rem;\n      --lumo-font-size-xl: 1.75rem;\n      --lumo-font-size-l: 1.375rem;\n      --lumo-font-size-m: 1.125rem;\n      --lumo-font-size-s: 1rem;\n      --lumo-font-size-xs: 0.875rem;\n      --lumo-font-size-xxs: 0.8125rem;\n      --lumo-line-height-m: 1.8;\n      --lumo-line-height-s: 1.5;\n      --lumo-line-height-xs: 1.3;\n      --lumo-border-radius-s: calc(var(--lumo-size-m) / 6);\n      --lumo-border-radius-m: calc(var(--lumo-size-m) / 2);\n      --lumo-border-radius-l: var(--lumo-size-m);\n--lumo-font-family: Inter;\n\n    }\n",
    "fontFamily": "Inter"
  },
  "views": [
    {
      "name": "Main",
      "type": "menu-on-left-layout",
      "route": "",
      "entityId": -1,
      "children": [
        {
          "id": 13,
          "name": "Create New Game",
          "type": "empty-view",
          "route": "create-new-game",
          "icon": "firstdraft",
          "entityId": -1,
          "access": "PUBLIC",
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false
        },
        {
          "id": 8,
          "name": "Games List",
          "type": "custom-view",
          "route": "Games-List",
          "icon": "gamepad-solid",
          "entityId": 1,
          "access": "PUBLIC",
          "children": [],
          "generateTestData": true,
          "generateUrlTemplate": false,
          "componentModel": {
            "type": "layout-column",
            "parameters": {
              "gap": "m",
              "padding": "m",
              "crossLength": "100%",
              "mainLength": "100%"
            },
            "children": [
              {
                "parameters": {
                  "gap": "m",
                  "mainLength": "100%",
                  "crossLength": "100%",
                  "padding": ""
                },
                "type": "layout-row",
                "children": [
                  {
                    "parameters": {
                      "label": "Radio Group"
                    },
                    "type": "radio-group"
                  },
                  {
                    "type": "hr"
                  },
                  {
                    "type": "details",
                    "parameters": {
                      "mainLength": "100%",
                      "crossLength": "100%"
                    }
                  },
                  {
                    "parameters": {
                      "text": "Create New Game",
                      "route": "CustomView.class",
                      "href": "custom"
                    },
                    "type": "router-link"
                  },
                  {
                    "parameters": {
                      "text": "Connect",
                      "crossLength": "100%"
                    },
                    "type": "button-primary"
                  }
                ]
              }
            ]
          }
        },
        {
          "id": 14,
          "name": "Game",
          "type": "empty-view",
          "route": "Game",
          "icon": "dungeon-solid",
          "entityId": -1,
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false
        },
        {
          "id": 3,
          "name": "All Cards",
          "type": "image-list-view",
          "route": "all-cards",
          "icon": "th-list-solid",
          "entityId": -1,
          "access": "PUBLIC",
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false
        },
        {
          "id": 4,
          "name": "Game Chat",
          "type": "chat-view",
          "route": "game-chat",
          "icon": "comments",
          "entityId": -1,
          "access": "PUBLIC",
          "children": [],
          "generateTestData": false,
          "generateUrlTemplate": false
        }
      ],
      "generateTestData": false,
      "generateUrlTemplate": false,
      "id": 0
    }
  ],
  "entities": [
    {
      "id": 1,
      "name": "SamplePerson",
      "fields": [
        {
          "name": "id",
          "dataType": "ID",
          "editorType": "vaadin-text-field",
          "fieldType": "Integer",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "firstName",
          "dataType": "FIRST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "lastName",
          "dataType": "LAST_NAME",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "email",
          "dataType": "EMAIL",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "jakarta.validation.constraints.Email",
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "phone",
          "dataType": "PHONE_NUMBER",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "dateOfBirth",
          "dataType": "DATE_OF_BIRTH",
          "editorType": "vaadin-date-picker",
          "fieldType": "LocalDate",
          "uiType": "Text",
          "validators": [
            "jakarta.annotation.Nullable"
          ]
        },
        {
          "name": "occupation",
          "dataType": "OCCUPATION",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "role",
          "dataType": "WORK_ROLE",
          "editorType": "vaadin-text-field",
          "fieldType": "String",
          "uiType": "Text",
          "validators": [
            "dev.hilla.Nonnull"
          ]
        },
        {
          "name": "important",
          "dataType": "BOOLEAN_10_90",
          "editorType": "vaadin-checkbox",
          "fieldType": "boolean",
          "uiType": "Checkbox",
          "validators": []
        }
      ]
    }
  ]
}
Artur- commented 1 year ago

This seems to have been some kind of network problem, I get this application when trying to mentioned configuration berserk-online.zip