~/lightning

Leveraging CSS to Make Shiny Mobile-Responsive

Lightningat rstudio::conf 2019 · 2019-01-15..01-18· [css, pwa]
links:none on file
slides:none on file

A production Shiny app is converted to a mobile-friendly version in about two to three weeks by changing CSS only and minimal R edits, deploying the updated app and demo at bit.ly/mfano. Specifics include forcing the menu to collapse at 940 pixels, using media queries to swap styles below 480 pixels, hiding icons with display:none, swapping plot title sizes 18→14 via shinybrowser detection (note: width is read once so refresh is required), and reflowing layout with CSS Grid and Flexbox.

AI-written summary · about

  1. 0:00Introduction
  2. 0:33Mobile Responsiveness
  3. 2:17Graphs
  4. 3:13Inspect Browser
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.