Session Ready
Exercise

Create task menus

A third type of drop down menu is the tasks menu. In addition to providing text, these items show progress on a task using the value parameter. For example, if you wanted to indicate that the task "Alert users to the International Space Station" was 80% complete, you would indicate it in a taskItem() in the following manner.

taskItem(
  text = "Alert users to the International Space Station",
  value = 80
    )

Add a tasks drop down menu to the header that indicates the task "Mission Learn Shiny Dashboard" is 10% complete.

We've already defined an empty server function for you.

Instructions
100 XP
  • Create a drop down menu of type tasks and create a task item.
  • Add text to your task item: "Mission Learn Shiny Dashboard" and indicate that the task item is 10% complete.
  • Set the new header in the dashboardPage().
  • Rerun the shiny app with these updates.