Skip to content
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

Voila mode #340

Merged
merged 33 commits into from
Mar 7, 2023
Merged

Voila mode #340

merged 33 commits into from
Mar 7, 2023

Conversation

mmarchetti
Copy link
Contributor

Description

This PR implements a 3rd mode button to publish in Voila mode.

Connected to #https://github.com/rstudio/connect/issues/22745

@mmarchetti mmarchetti requested a review from bcwu February 6, 2023 21:35
@mmarchetti mmarchetti force-pushed the mm-voila branch 4 times, most recently from 766888c to 71c45e4 Compare February 13, 2023 21:50
@mmarchetti
Copy link
Contributor Author

This should not be merged until Voila support lands in an rsconnect-python release on PyPI and the dependency here is updated with the correct minimum version.

@@ -1033,6 +1033,11 @@ define([
$subdirsBox.prop('checked', false);
}
$subdirsBox.parent().toggleClass('rsc-text-light', !canIncludeSubdirs);

// Disable hide code cells options in Voila mode, since Voila always hides them.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The code cell boxes are already greyed out when Voila mode is selected. Is there more that should be done to complete #348 ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should review the docs on hiding code cells to see if any updates are needed.

@mmarchetti mmarchetti marked this pull request as ready for review March 7, 2023 16:28
@mmarchetti mmarchetti merged commit 5a41249 into master Mar 7, 2023
@mmarchetti mmarchetti deleted the mm-voila branch March 7, 2023 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants