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

Adjust Progress Processorss #637

Merged
merged 2 commits into from
Oct 18, 2024
Merged

Conversation

filip131311
Copy link
Collaborator

This PR changes the maximum progress for iOS and android build from 1 to 0.999 to avoid situations in which users are send 100% for prolonged periods of time.

How Has This Been Tested:

  • run clean build in any test app

Copy link

vercel bot commented Oct 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
radon-ide ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 18, 2024 8:57am

@@ -10,7 +10,7 @@ export class BuildAndroidProgressProcessor implements BuildProgressProcessor {
if (!this.tasksToComplete) {
return;
}
this.progressListener(Math.min(1, this.completedTasks / this.tasksToComplete));
this.progressListener(Math.min(0.999, this.completedTasks / this.tasksToComplete));
Copy link
Member

Choose a reason for hiding this comment

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

This just looks very weird and should be explained in the comment

@@ -65,7 +65,7 @@ export class BuildIOSProgressProcessor implements BuildProgressProcessor {
if (!this.tasksToComplete) {
return;
}
this.progressListener(Math.min(1, this.completedTasks / this.tasksToComplete));
this.progressListener(Math.min(0.999, this.completedTasks / this.tasksToComplete));
Copy link
Member

Choose a reason for hiding this comment

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

same here

@filip131311 filip131311 merged commit cf7a896 into main Oct 18, 2024
3 checks passed
@filip131311 filip131311 deleted the @Filip131311/AjustProgressIndicatoor branch October 18, 2024 08:58
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