Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in ShinyUiEditor at root #253

Open
miqueiast opened this issue Nov 22, 2023 · 0 comments
Open

Error in ShinyUiEditor at root #253

miqueiast opened this issue Nov 22, 2023 · 0 comments

Comments

@miqueiast
Copy link

Error at root of editor:

Ui-Tree at error:

{
  "id": "grid_page",
  "namedArgs": {
    "layout": [
      "header  header header",
      "sidebar              ",
      "table   table  plotly",
      "table   table  plotly"
    ],
    "row_sizes": [
      "100px",
      "1fr",
      "1fr",
      "1fr"
    ],
    "col_sizes": [
      "250px",
      "0.59fr",
      "1.41fr"
    ],
    "gap_size": "1rem"
  },
  "children": [
    {
      "id": "grid_card",
      "namedArgs": {
        "area": "sidebar"
      },
      "children": [
        {
          "id": "card_header",
          "namedArgs": {},
          "children": [
            {
              "id": "textNode",
              "namedArgs": {
                "contents": "Settings"
              }
            }
          ]
        },
        {
          "id": "card_body",
          "namedArgs": {},
          "children": [
            {
              "id": "sliderInput",
              "namedArgs": {
                "inputId": "bins",
                "label": "Number of Bins",
                "min": 12,
                "max": 100,
                "value": 30,
                "width": "100%"
              }
            },
            {
              "id": "numericInput",
              "namedArgs": {
                "inputId": "numRows",
                "label": "Number of table rows",
                "value": 10,
                "min": 1,
                "step": 1,
                "width": "100%"
              }
            }
          ]
        }
      ]
    },
    {
      "id": "grid_card_text",
      "namedArgs": {
        "area": "header",
        "content": "Amazon Avaliação de Produtos",
        "alignment": "start",
        "is_title": false
      }
    },
    {
      "id": "grid_card",
      "namedArgs": {
        "area": "table"
      },
      "children": [
        {
          "id": "card_header",
          "namedArgs": {},
          "children": [
            {
              "id": "textNode",
              "namedArgs": {
                "contents": "Table"
              }
            }
          ]
        },
        {
          "id": "card_body",
          "namedArgs": {},
          "children": [
            {
              "id": "DTOutput",
              "namedArgs": {
                "outputId": "myTable",
                "width": "100%"
              }
            }
          ]
        }
      ]
    },
    {
      "id": "grid_card_plot",
      "namedArgs": {
        "area": ""
      }
    },
    {
      "id": "grid_card",
      "namedArgs": {
        "area": "plotly"
      },
      "children": [
        {
          "id": "card_header",
          "namedArgs": {},
          "children": [
            {
              "id": "textNode",
              "namedArgs": {
                "contents": "Interactive Plot"
              }
            }
          ]
        },
        {
          "id": "card_body",
          "namedArgs": {},
          "children": [
            {
              "id": "plotlyOutput",
              "namedArgs": {
                "outputId": "distPlot",
                "width": "100%",
                "height": "100%"
              }
            }
          ]
        }
      ]
    }
  ]
}

Selection path: 3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant