Skip to content
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

Initial Code Simulation Support: WebSocket Client #1031

Merged
merged 19 commits into from
Jul 19, 2024
Merged

Conversation

HunterBarclay
Copy link
Member

Description

This is very bare bones and not meant to be user facing. This is simply getting the core technology into the project, so @PepperLola and @Ewie21 get on with their tasks.

JIRA Issue

@HunterBarclay HunterBarclay self-assigned this Jul 17, 2024
@HunterBarclay HunterBarclay marked this pull request as ready for review July 17, 2024 18:27
@HunterBarclay HunterBarclay requested review from a team as code owners July 17, 2024 18:27
@HunterBarclay HunterBarclay requested review from a-crowell, Dhruv-0-Arora, azaleacolburn and LucaHaverty and removed request for a team July 17, 2024 18:27
Copy link
Collaborator

Choose a reason for hiding this comment

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

Note: If you click WS test twice you run into a warning (the connection is not being closed I believe)
Also localhost connection is hardcoded (mine is 3000 not 3300) so it can't be in production

Copy link
Collaborator

@Dhruv-0-Arora Dhruv-0-Arora left a comment

Choose a reason for hiding this comment

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

Everything else looks good 👍
I think its more important that @Ewie21 and @PepperLola approve though

@BrandonPacewic BrandonPacewic added the codesim Code simulation related task. label Jul 18, 2024
Comment on lines +39 to +42
export const simMap = new Map<SimType, Map<string, any>>()

export class SimGeneric {
private constructor() {}
Copy link
Member

Choose a reason for hiding this comment

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

Should simMap be a static field on SimGeneric, since the latter encapsulates former?

Copy link
Member Author

Choose a reason for hiding this comment

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

@PepperLola How ever you two end up structuring everything will determine this.

@HunterBarclay HunterBarclay merged commit f7ca1c9 into dev Jul 19, 2024
13 checks passed
@HunterBarclay HunterBarclay deleted the barclah/code-sim branch July 19, 2024 18:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
codesim Code simulation related task.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants