Coder Social home page Coder Social logo

appsilon / semantic.dashboard Goto Github PK

View Code? Open in Web Editor NEW
251.0 36.0 45.0 5.41 MB

Quick, beautiful and customizable dashboard template for Shiny based on shiny.semantic and Fomantic UI.

Home Page: https://appsilon.github.io/semantic.dashboard/

License: Other

R 78.87% JavaScript 5.83% CSS 9.37% SCSS 5.92%
dashboard fomantic-ui r rhinoverse semantic-ui shiny

semantic.dashboard's Introduction

semantic.dashboard semantic.dashboard logo

Quick, beautiful and customizable dashboard template for Shiny based on shiny.semantic and Fomantic UI.

R-CMD-check codecov cranlogs total

Are you fed up with ordinary shinydashboard look?

Give your app a new fresh look with Fomantic UI support.

library(shiny)
library(shinydashboard) # <-- Change this line to: library(semantic.dashboard)

ui <- dashboardPage(
  dashboardHeader(title = "Basic dashboard"),
  dashboardSidebar(sidebarMenu(
      menuItem(tabName = "home", text = "Home", icon = icon("home")),
      menuItem(tabName = "another", text = "Another Tab", icon = icon("heart"))
  )),
  dashboardBody(
    fluidRow(
      box(plotOutput("plot1", height = 250)),
      box(
        title = "Controls",
        sliderInput("slider", "Number of observations:", 1, 100, 50)
      )
    )
  )
)

server <- function(input, output) {
  set.seed(122)
  histdata <- rnorm(500)
  output$plot1 <- renderPlot({
    data <- histdata[seq_len(input$slider)]
    hist(data)
  })
}

shinyApp(ui, server)

Semantic dashboards comparison

semantic.dashboard offers basic functions for creating dashboard with Fomantic UI.

How to install?

Install shiny.semantic library first. Here you can find how.

You can install a stable version semantic.dashboard from CRAN repository:

install.packages("semantic.dashboard")

The development version can be installed from GitHub using remotes.

remotes::install_github("Appsilon/semantic.dashboard")

To install previous version you can run:

remotes::install_github("Appsilon/semantic.dashboard", ref = "0.1.0")

Example

You can find examples in the examples/ folder of the GitHub repository.

You can check documentation for tutorials.

How to contribute?

If you want to contribute to this project please submit a regular PR, once you're done with new feature or bug fix. Please check development/README.md first! It contains useful information that will help you run your dev environment for semantic.dashboard.

Troubleshooting

We used the latest versions of dependencies for this library, so please update your R environment before installation.

However, if you encounter any problems, try the following:

  1. Up-to-date R language environment
  2. Installing specific dependent libraries versions
    • shiny.semantic

Future enhacements

  • Release of a stable 1.0.0 version
  • Closer integration with shinydashboard

Appsilon

Appsilon is a Posit (formerly RStudio) Full Service Certified Partner.
Learn more at appsilon.com.

Get in touch [email protected]

Explore the Rhinoverse - a family of R packages built around Rhino!

We are hiring!

semantic.dashboard's People

Contributors

andrie avatar averissimo avatar damianrodziewicz avatar dependabot[bot] avatar dokato avatar drzamich avatar galachad avatar jakubnowicki avatar jakubsob avatar krystian8207 avatar maju116 avatar marekrogala avatar osenan avatar pawelchabros avatar przytu1 avatar sankhadeepdutta avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

semantic.dashboard's Issues

Create a list of unimplemented functions from ShinyDashboard and differences in sygnatures

Add unit tests for checking functions in sematcic.dashboard and shinydashboard.

Implemented from shinydashboard:

box
sidebarMenu
dashboardBody
dashboardHeader
dashboardPage
dashboardSidebar
menuItem
menuSubItem
renderValueBox
tabItem
tabItems
valueBox
valueBoxOutput
dropdownMenu
dropdownMenuOutput
infoBox
infoBoxOutput
messageItem
notificationItem
renderDropdownMenu
renderInfoBox
tabBox
taskItem

Not implemented from shinydashboard:

menuItemOutput
renderMenu
sidebarMenuOutput
sidebarSearchForm
sidebarUserPanel
updateTabItems

Arguments:

fun common only_shiny only_semantic
box ..., title, width, collapsible footer, status, solidHeader, background, height, collapsed color, ribbon, title_side
dashboardBody ...
dashboardHeader ..., disable title, titleWidth, .list color
dashboardPage header, sidebar, body, title skin suppress_bootstrap
dashboardSidebar ..., disable width, collapsed side, size, color, center, visible
dropdownMenu ..., type, icon badgeStatus, headerText, .list
dropdownMenuOutput outputId
infoBox value, subtitle, icon, color, width title, href, fill
infoBoxOutput outputId, width
menuItem text, ..., icon, tabName, href, newtab badgeLabel, badgeColor, selected, expandedName, startExpanded
menuSubItem text, tabName, href, newtab, icon selected ...
messageItem from, message, icon time, href color
notificationItem text, icon status, href color
renderDropdownMenu expr, env, quoted
renderInfoBox expr, env, quoted
renderValueBox expr, env, quoted
sidebarMenu ... id, .list
tabBox title, width ..., id, selected, height, side tabs, color, ribbon, title_side, collapsible
tabItem tabName, ...
tabItems ... selected
taskItem text, value, color href
valueBox value, subtitle, icon, color, width href
valueBoxOutput outputId, width

Create basic dashboardPage()

Create something similar to dashboardPage from shinydashboard package:

dashboardPage(
  dashboardHeader(),
  dashboardSidebar(),
  dashboardBody()
)

Header and Sidebar should be optional

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.