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

OCV: add web config flag client side #10386

Merged
merged 3 commits into from
Feb 14, 2025
Merged

OCV: add web config flag client side #10386

merged 3 commits into from
Feb 14, 2025

Conversation

srietkerk
Copy link
Contributor

This makes it so we can only get feedback for targets that we serve.

@srietkerk srietkerk requested a review from a team February 13, 2025 23:10
Copy link
Contributor

@thsparks thsparks left a comment

Choose a reason for hiding this comment

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

For my own education, is the idea that this is now a field we control from the backend?

Change itself looks good! (one nit)

pxtlib/main.ts Outdated
@@ -395,6 +395,7 @@ namespace pxt {
teachertoolUrl?: string; // "/beta---eval"
isStatic?: boolean;
verprefix?: string; // "v1"
ocvEnabled: boolean;
Copy link
Contributor

Choose a reason for hiding this comment

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

I think if you define this as an optional field (ocvEnabled?) then you won't need to go in and add it to all those other files (like test.spec.ts)

Copy link
Member

Choose a reason for hiding this comment

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

+1

@srietkerk srietkerk merged commit 1747bd9 into master Feb 14, 2025
6 checks passed
@srietkerk srietkerk deleted the srietkerk/ocv-limiting branch February 14, 2025 22:29
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.

3 participants