microsoft / microsoft/pxt-microbit
returning to code editor from serial view should not refresh simulator
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 721
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 2
Description
Describe the bug
currently if you return to the code editor (e.g. blocks) after pressing show console simulator we refresh the simulator. We have already skipped that for going to serial view, should make it skip refresh when going from serial view -> any other.
Not a regression
To Reproduce
Steps to reproduce the behavior:
- Go to https://makecode.microbit.org/_F0gd0uicv2kw
- open in editor
- click on 'show console simulator'
- click `go back'
Expected behavior
should just go back without affecting the simulator at all
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 using the linked MakeCode project: open the editor, show the console simulator, then go back to the code editor. Trace the serial-view navigation and verify that returning to any other editor view leaves the simulator unchanged.
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