Giter Club home page Giter Club logo

shinyinvoer's People

Contributors

brazadas avatar camilaachuri avatar dadelgadol avatar ddazal avatar dependabot[bot] avatar jpmarindiaz avatar lenafm avatar marianaviro avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

shinyinvoer's Issues

Add a readme

Show people what it is that you can do with this package.
It can be as simple as adding screenshots of the latin-r conference

Selector of independent buttons within the same class

Selector de botones independientes dentro de una misma clase
Por ejemplo:

buttonSelector(id = list("pregunta_1", pregunta_2"", "pregunta_3'), 
                         label = list("label pregunta 1", label pregunta 2"", "label pregunta 3"),
                         active = "pregunta_1", class = "style_button", style = "font_size = 0.85rem;")

image

Al seleccionar en shiny debería salir el id del botón activado

create radioButton input with HTML

crear un input donde se puedan ingresar listas de paletas de colores y cuya respuesta en Shiny sea el nombre de la lista de color.
Eg:
image
Entonces, supongamos que el id de la primer selecciones es "List_color_1", al seleccionar esta el print en Shiny debería ser "List_color_1" o la paleta de colores de esa lista.

buttonImageInput active button should be handled in the frontend with JS

This shoud be done in JS not in R

  actual_but <- reactiveValues(active = 'bar')

  observe({
    viz_rec <-  c("bar", "line", "pie", "donut", "treemap", "bubbles")
    if (is.null(viz_rec)) return()
    if (is.null(input$viz_selection)) return()
    if (!( input$viz_selection %in% viz_rec)) {
      actual_but$active <- viz_rec[1]  
    } else {
      actual_but$active <- input$viz_selection
    }
  })

add dateInput

Añadir input de fechas con opción para rango

image

o valor unico

Al poner la manita en una caja que salga el calendario, donde el input tenga la opción de ver por años, por mes, por días.

dias:
image

meses:
image

años, igual que el de meses, pero en las cajitas con los años.

TextInput with active button

es importante hacer un textInput acompañado de un botón de activación, con la finalidad de que solo se renderize el texto cuando
se de click en el botón

colorPaletteInput: Hide close (x) and add (+) buttons when not needed

If n_max color is reached remove or disable (+) button.

When the number of colors is fixed (need to add a new parameter for this) remove (x) and (+) buttons.
Do we need a min_colors too? If so, make sure to remove the remove color button (x) when the minimum number of colors is reached.

Problem with dateRangeInput binding when there is more than one dateRangeInput in an app

If there is more than one dateRangeInput in an app, the registered value --the value stored in the input list-- is the value of the latest input rendered for every one of these inputs.

Minimal example:

library(shiny)
library(shinyinvoer)

ui <- fluidPage(dateRangeInput("fechas_a", "Fechas a", "2020-02-02", "2021-02-02", "2020-02-02", "2021-02-02", "", ""),
                dateRangeInput("fechas_b", "Fechas b", "2000-12-02", "2001-12-02", "2000-12-02", "2001-12-02", "", ""),
                verbatimTextOutput("f"))

server <- function (input, output) {
  
  output$f <- renderPrint(list("Fechas a" = input$fechas_a, "Fechas b" = input$fechas_b))
  
}

shinyApp(ui, server)

Make sure all input work with empty/NULL inputs

For instance:

Need to check that choices_list is not accessing a selected=NULL element

  if(is.null(placeholder) & !is.null(selected)){
    x <- choices_list[[selected]]
    placeholder <- shiny::div(class = "selectImage", shiny::img(src=x$image), x$label)
  }

data range format

En el widget dateRangeInput poder cambiar de formato de anio-mes-dia a aneo-mes

Asi esta actualmente
image

Que haya un nuevo argumento "format" donde se pueda visualizar asi:
image

Improve buttonImageInput arguments

Remove format argument, to be extracted from file extension.
path = NULL, if not paste to output
create image path with file.path, not paste

agregar menu de botones con selectores

Personalización de Botones:
Cada botón puede tener un id, un label y un icono.

Opción de Dropdown:
Se puede añadir un dropdown a todos o a algunos botones, especificando id y label.

Personalización de Estilo:
Los botones son personalizables, permitiendo agregar clases CSS.

Las Opciones de estilo predeterminadas incluyen:
Color del botón
Color del botón cuando está activo
Radio de borde
Color del borde
Ancho Predeterminado:

Por defecto, los botones ocupan el ancho completo de la pantalla.

Ejemplo del Widget:

image

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.