-
Notifications
You must be signed in to change notification settings - Fork 114
Add support for Shiny Express in Quarto Dashboards, take 2 #1217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 tasks
|
jcheng5
reviewed
Mar 14, 2024
jcheng5
reviewed
Mar 14, 2024
jcheng5
reviewed
Mar 14, 2024
jcheng5
reviewed
Mar 14, 2024
jcheng5
reviewed
Mar 14, 2024
jcheng5
approved these changes
Mar 14, 2024
5 tasks
schloerke
added a commit
that referenced
this pull request
Mar 15, 2024
* main: Add support for Shiny Express in Quarto Dashboards, take 2 (#1217) Force UTF-8 for Shiny Express on Windows (#1203) Typing fixes feat(card): Report full screen state as a Shiny input (#1215) Use TypeScript strict mode (#1208) Update author email test: Resolve testing comments (#1206) Fix URL Update badges Bump dev version to 0.8.1.9000 (#1202) chore(deps): Update bslib css (#1200) chore: no new features v0.8.1
schloerke
added a commit
to joesho112358/py-shiny
that referenced
this pull request
Mar 23, 2024
* main: (24 commits) chore: Disable broken test on CI; Fix broken docs entries (posit-dev#1241) Add back missing session methods (posit-dev#1239) Add kitchensink tests for valuebox (posit-dev#1229) For Express, emit message if need to upgrade rsconnect-python (posit-dev#1233) feat: Editable data frame (posit-dev#1198) Add tests for shiny_mode comment detection fix(input_dark_mode): Allow users to customize `style` attribute (posit-dev#1207) chore(get_current_session): Return default session if current is explicitly None (posit-dev#1086) chore: use dev htmtlools (posit-dev#1228) feat(layout_columns): Use `sm` as the default `col_widths` breakpoint (posit-dev#1222) feat: ensure min/max height args on `value_box()` and column layouts (posit-dev#1223) fix(static_assets): Need the directory containing the `app.py`, not the file itself (posit-dev#1219) Update bslib and shiny dependencies (posit-dev#1221) Update docstring and give hint for mypy Add support for Shiny Express in Quarto Dashboards, take 2 (posit-dev#1217) Force UTF-8 for Shiny Express on Windows (posit-dev#1203) Typing fixes feat(card): Report full screen state as a Shiny input (posit-dev#1215) Use TypeScript strict mode (posit-dev#1208) Update author email ...
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR supersedes #1212. It adds support for Shiny Express apps in Quarto Dashboards. Prior to this PR, it would throw an error if a Quarto document had an import from
shiny.express
.For example:
This is what it looks like:
The generated
app.py
looks like this.A few things to note about this:
# shiny_mode: express
or# shiny_mode: core
will force the app to be run as an Express or Core app. This comment must be in the first 1000 characters of the app file.is_express_app()
function has changed. There are other places where we use copies of this code, (Shiny Server and rsconnect-python), and the function will need to be updated in those places.