shiny.semantic icon indicating copy to clipboard operation
shiny.semantic copied to clipboard

make showcase mode working [nice to have]

Open dokato opened this issue 4 years ago • 2 comments

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?

dokato avatar Jun 25 '20 09:06 dokato

@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?

krystian8207 avatar Jul 03 '20 15:07 krystian8207

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?

esraay avatar Nov 07 '22 10:11 esraay