rstudio / connectwidgets

The {connectwidgets} package allows you to curate your content on RStudio Connect, helping to create organized groups of content within an RMarkdown document or Shiny app.
https://rstudio.github.io/connectwidgets/
Other
21 stars 7 forks source link

search box/filter applied to cards #54

Open oude-gao opened 3 years ago

oude-gao commented 3 years ago

Hi, awesome package, literally solved our problems of building a page from scratch to showcase our work within the business! Now that I'm starting to build up pages with it, I found out the search boxes and filters do not really apply to the cards view. Am I doing anything wrong?

rsc_cols(
  rsc_search(sample_content),
  rsc_filter(sample_content),
  widths = c(6, 6),
  device = "md")

sample_content %>%
  rsc_card()

Is this by design?

Thanks!

Lytol commented 3 years ago

This is by design. Cards were most typically displayed individually so it felt odd to have them disappear if a separate table or grid was being filtered. I'm going to leave this open as a feature request though, especially if others are expecting the behavior.

oude-gao commented 3 years ago

Thank you!