rstudio / shinyuieditor

A GUI for laying out a Shiny application that generates clean and human-readable UI code
https://rstudio.github.io/shinyuieditor/
MIT License
216 stars 29 forks source link

Error rendering shiny::navbarPage #158

Open sanjmeh opened 1 year ago

sanjmeh commented 1 year ago

This is what I was going when this error happened...

Ui-Tree at error:

{
  "uiName": "shiny::navbarPage",
  "uiArguments": {
    "title": {
      "uiName": "unknownUiFunction",
      "uiArguments": {
        "text": "div(\n  img(\n    src = \"JSWLogo.png\",\n    style = \"margin-top: -14px;\n                                 padding-right:10px;\n                                 padding-bottom:10px\",\n    height = 60\n  )\n)"
      }
    },
    "id": "tablet",
    "theme": "journal",
    "windowTitle": "JSW Barbil: Fuel Dispatch App"
  },
  "uiChildren": [
    {
      "uiName": "shiny::tabPanel",
      "uiArguments": {
        "title": "Select Bowser",
        "icon": {
          "uiName": "unknownUiFunction",
          "uiArguments": {
            "text": "icon(name = \"truck\")"
          }
        }
      },
      "uiChildren": [
        {
          "uiName": "unknownUiFunction",
          "uiArguments": {
            "text": "useSweetAlert()"
          }
        },
        {
          "uiName": "unknownUiFunction",
          "uiArguments": {
            "text": "fluidRow(\n  column(\n    width = 9,\n    uiOutput(outputId = \"selectbowser\")\n  ),\n  column(\n    width = 3,\n    uiOutput(outputId = \"livebowser\")\n  )\n)"
          }
        }
      ]
    },
    {
      "uiName": "shiny::tabPanel",
      "uiArguments": {
        "title": "Start Navigating",
        "value": "livepanel",
        "icon": {
          "uiName": "unknownUiFunction",
          "uiArguments": {
            "text": "icon(name = \"turn-up\")"
          }
        }
      },
      "uiChildren": [
        {
          "uiName": "unknownUiFunction",
          "uiArguments": {
            "text": "fluidRow(\n  column(\n    width = 3,\n    textOutput(outputId = \"nameOperator\")\n  ),\n  column(\n    width = 1,\n    awesomeCheckbox(\n      inputId = \"showcrit\",\n      label = \"Show Critical only\",\n      value = FALSE,\n      status = \"danger\"\n    )\n  ),\n  column(\n    width = 4,\n    uiOutput(outputId = \"livebowser2\"),\n    offset = 4\n  )\n)"
          }
        },
        {
          "uiName": "unknownUiFunction",
          "uiArguments": {
            "text": "fluidRow(\n  column(\n    width = 12,\n    h2(textOutput(outputId = \"dtheader\")),\n    DTOutput(outputId = \"x1\")\n  )\n)"
          }
        }
      ]
    },
    {
      "uiName": "shiny::tabPanel",
      "uiArguments": {
        "title": "No Communication",
        "icon": {
          "uiName": "unknownUiFunction",
          "uiArguments": {
            "text": "icon(name = \"arrow-down-up-across-line\")"
          }
        }
      },
      "uiChildren": [
        {
          "uiName": "unknownUiFunction",
          "uiArguments": {
            "text": "fluidRow(\n  column(\n    width = 12,\n    DTOutput(outputId = \"stopped_today\")\n  )\n)"
          }
        }
      ]
    }
  ]
}

Selection path: __Path to node at error:__