posit-dev / publisher

MIT License
3 stars 0 forks source link

Publishing Log Updates #1767

Closed sagerb closed 1 month ago

sagerb commented 1 month ago

Intent

This PR will consolidate the Restoring R Environment and Restoring Python Environment phases for the Publishing log into one single stage.

It also:

Resolves #586

Type of Change

Approach

The two sets of messages for Python and R environment restoration now will also produce a new generic environment restoration set. This is done as the Python and R messages are received. To the rest of the UX code, these new events might as well have been sent from the backend. This allows for registration as expected as well as valid typing (where we are using it).

Additional strings were added to display in the tree as labels while the stage was considered active vs. inactive. This provides for the correct tense.

This results in the following interfaces:

For R Content https://github.com/posit-dev/publisher/assets/17675905/f2f7edcf-2967-40d2-aa78-d578ad1c5733

For Python Content https://github.com/posit-dev/publisher/assets/17675905/1efe3b8a-7185-4731-a6a8-5d8fa5521341

Showing skipped step (this is for Quarto Content as an example) 2024-05-31 at 11 57 AM

Automated Tests

Directions for Reviewers

Deploy R, Python and Quarto content and confirm that the publisher log shows realtime output as expected as well as the static view when deployment has finished (with either success or failure).

Checklist