997 show console in notebook as it is running#1120
Conversation
…ow-console-in-notebook-as-it-is-running
|
@CodiumAI-Agent /describe |
Title997 show console in notebook as it is running User descriptionDescriptionWhen we have multiple print statements in a cell, now we can see the output one after the other. Changes MadeAdded a condition for the code cell to display the output one after the other. How to TestThe code given in the ticket is small to display the output one after the other, so we have to use a delay to see the changes in the output. NotesTo add delay use "import time" in the first line and use "time.sleep(1)" in between the print statements. This will create 1 second delay. PR TypeEnhancement Description
Changes walkthrough 📝
|
|
@CodiumAI-Agent /review |
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
|
@CodiumAI-Agent /improve |
PR Code Suggestions ✨Latest suggestions up to a9dfd6a
Previous suggestionsSuggestions up to commit a9dfd6a
Suggestions up to commit a9dfd6a
|
|
@johbaxter ping me when you do this one and i have test code for you but it is pasting wrong here |
| <StyledCardInput>{rendered}</StyledCardInput> | ||
| </StyledCardContent> | ||
| {cell.isExecuted && ( | ||
| {cell.widget === 'code' ? ( |
There was a problem hiding this comment.
Think about other widgets other than notebook cells. We need to be able to pull the logs for things other than python code cells
johbaxter
left a comment
There was a problem hiding this comment.
Please make sure this works for all notebook widgets. not just code.. Take a look at my comment in the code
|
Sure @johbaxter , will take a look on it. |
|
@CodiumAI-Agent /update_changelog |
|
Changelog updates: 🔄 2025-05-15 *Changed
|
In the ticket it was mentioned for a long Python code @johbaxter, so the condition made sense in that manner. Without that condition it would have affected the ability to show the output for other widget cells because in some cases the output would come through console and in other case the complete output would come only after the cell is executed. |
|
Changelog updates: 🔄 2025-05-16 #1120Changed
|
* feat(enhancement-data-tab): updated the data tab with new style * build(toolspage): echart tools page refactor and bug fixes * feat(enhancement-data-tab): updated the data tab with chart rendering * feat(enhancement-data-tab): updated the data tab with chart rendering * feat(enhancement-data-tab): updated the data tab by fixing the issues * feat(enhancement-data-tab): updated the data tab by fixing the issues * feat(enhancement-data-tab): code clean up * feat(enhancement-data-tab): code clean up * feat(enhancement-data-tab): code clean up * feat(enhancement-data-tab): code clean up * feat(enhancement-data-tab): code clean up * feat(enhancement-data-tab): code refactor * build(toolstab): code refactor with update from dev branch * feat(enhancement-data-tab): change the asset path * feat(enhancement-data-tab): solve the merge conflict * feat(enhancement-data-tab): lint changes * fix(renderer): fix asset loading for dendrogram * [#1120] feat(notebook): add live console in notebook as it runs * feat(enhancement-data-tab): lint changes --------- Co-authored-by: Bannaarisamy Shanmugham <bannaarisamy.shanmugham@kanini.com> Co-authored-by: Baxter <johbaxter@deloitte.com> Co-authored-by: Jagan Somanna <jagansomanna.bharath@kanini.com>


Description
When we have multiple print statements in a cell, now we can see the output one after the other.
Changes Made
Added a condition for the code cell to display the output one after the other.
How to Test
The code given in the ticket is small to display the output one after the other, so we have to use a delay to see the changes in the output.
Notes
To add delay use "import time" in the first line and use "time.sleep(1)" in between the print statements. This will create 1 second delay.