Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On Dashboard Development with Shiny

You're reading from   Hands-On Dashboard Development with Shiny A practical guide to building effective web applications and dashboards

Arrow left icon
Product type Paperback
Published in Aug 2018
Publisher Packt
ISBN-13 9781789611557
Length 76 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Chris Beeley Chris Beeley
Author Profile Icon Chris Beeley
Chris Beeley
Arrow right icon
View More author details
Toc

Adding notifications, messages, and tasks

In this section, we will talk about adding notifications, messages, and tasks, and then how to make the content of them dynamic.

Let's look at the example application. As you can see in the following screenshot, this is a dashboard where we've added icons to the header to allow us access to some menus, tasks, notifications, and messages:

Let's look at the code. In the case where the messages within the menu are static, the code is very simple. The dropdownMenu function is used, to which is added the type, that is, notification message or task, and optionally the status, which affects the color of the little number next to each icon, which gives the number of entries within it. The statuses are the same as the Bootstrap statuses we came across earlier in this chapter. A list is available by typing ?validstatuses in the...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at £16.99/month. Cancel anytime