Navigating from "data Simulator" view back to code view restarts the program
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 641
- Avg merge
- 12h 4m
- Merged PRs (30d)
- 57
Description
Bug Template
Describe the bug
Navigating from "data Simulator" view back to the code view restarts the program
To Reproduce
Steps to reproduce the behavior:
- Create a one-line program to print "Hello World!" using the console log/print function
- Run the program
- Click "Show data Simulator" button to view the printed output
- Click the "go back" button to return to the code view.
At this point, the program restarts.
Expected behavior
Application should not restart when the "go back" button is clicked. Scenario demonstrating why this would be useful:
- Developer writes code that interacts with the user via IO and sets up the program state.
- The developer switches to the "data Simulator" view to check the state of the application.
- At this point, the developer should be able to view the code without that triggering a restart of the program.
Ideally, "data Simulator" and code views can be viewed side-by-side. But at a minimum, the program shouldn't restart just because of a view change.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with a one-line Hello World program: run it, open the "data Simulator" view, then use the "go back" button. Trace the navigation and program lifecycle for the data Simulator and code views. Done means switching views preserves the running program state without restarting it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100