Appsilon / shiny.semantic

Shiny support for powerful Fomantic UI library.
http://appsilon.github.io/shiny.semantic
Other
498 stars 96 forks source link

make showcase mode working [nice to have] #202

Open dokato opened 4 years ago

dokato commented 4 years ago

Create our own showcase mode working with semantic css.

====== OLD VERSION OF THE TASK

Currently when running apps in showcase mode, one gets sth like this:

runApp("examples/calendar/", display.mode = "showcase")
Screenshot 2020-06-25 at 10 17 42

This problem occures probably due to fomatnic / boostrap incompatibility. Maybe some wrapper is required?

krystian8207 commented 4 years ago

@dokato I've checked what's the reason for this behavior. Suppressing bootstrap is not the problem, but generally loading fomantic css breaks the original styling used in the showcase. One of my ideas for solving this would be to create our custom showcase mode, properly styled with fomantic framework. wdyt?

esraay commented 1 year ago

I guess we all agree on writing our own showcase system that would be based on the semantic library. We need to find a way for shiny::runApp() to use the new showcase system. The only plausible solution we can think of would have been to trace shiny::showcaseUI() or shiny::renderPage(), just like bspm::enable() does. However, as neither of them is being exported by shiny, we don't think tracing would work.

Does anyone with an idea on how to integrate a custom-made showcase into the shiny::runApp() workflow?