Skip to content

Add logging for simulator actions #1021

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

Merged
merged 6 commits into from
Oct 12, 2022
Merged

Add logging for simulator actions #1021

merged 6 commits into from
Oct 12, 2022

Conversation

microbit-robert
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Oct 7, 2022

Preview build will be at
https://review-python-editor-v3.microbit.org/sim-logging/

@microbit-robert
Copy link
Collaborator Author

Is there a neater way of dealing with session storage in simulator.ts?

@microbit-robert
Copy link
Collaborator Author

We always call stop() on loading the page due to an effect running in SimulatorActionBar.tsx where we always start "out of sync".

Copy link
Collaborator

@microbit-matt-hillsdon microbit-matt-hillsdon left a comment

Choose a reason for hiding this comment

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

Minor tweaks.

@microbit-matt-hillsdon
Copy link
Collaborator

We always call stop() on loading the page due to an effect running in SimulatorActionBar.tsx where we always start "out of sync".

Let's discuss this one. I'm not sure we want to log it anyway as it's not a user action.

@microbit-robert
Copy link
Collaborator Author

We always call stop() on loading the page due to an effect running in SimulatorActionBar.tsx where we always start "out of sync".

Let's discuss this one. I'm not sure we want to log it anyway as it's not a user action.

Changes as discussed -> 12f7262.

Copy link
Collaborator

@microbit-matt-hillsdon microbit-matt-hillsdon left a comment

Choose a reason for hiding this comment

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

Looks good, thanks.

@microbit-matt-hillsdon microbit-matt-hillsdon merged commit e4e2154 into main Oct 12, 2022
@microbit-matt-hillsdon microbit-matt-hillsdon deleted the sim-logging branch October 12, 2022 07:56
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.

2 participants