Skip to content

Conversation

jeffhwang-sq
Copy link
Collaborator

@jeffhwang-sq jeffhwang-sq commented May 21, 2025

Fix misleading progress bar behavior in new UI

Issue

The new UI's progress bar implementation has a bug where it shows misleading progress during precomputing:

  • Shows 100% initially when denominator is 0
  • Then jumps to actual progress (e.g., 1%) as computation proceeds
  • Doesn't match old UI's behavior of showing indeterminate state during precomputing

Changes

Updated ProgressBar component to match old UI's behavior:

446211206-34dd7a28-bd6a-4f18-afe3-9ba0bf64208d.mov

@jeffhwang-sq jeffhwang-sq force-pushed the jhwang/fix-progress-bar-new-ui branch from 0ca80fa to 570ff49 Compare May 21, 2025 17:37
@jeffhwang-sq jeffhwang-sq marked this pull request as ready for review May 22, 2025 15:16
@jeffhwang-sq jeffhwang-sq requested review from adrw and mpawliszyn May 22, 2025 15:16
@jeffhwang-sq jeffhwang-sq changed the title Fix progress bar Fix progress bar to match the old ui May 22, 2025
Copy link
Collaborator

@adrw adrw left a comment

Choose a reason for hiding this comment

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

LG

@jeffhwang-sq jeffhwang-sq enabled auto-merge (squash) May 22, 2025 22:06
@jeffhwang-sq jeffhwang-sq merged commit ac52989 into master May 22, 2025
4 checks passed
jeffhwang-sq added a commit that referenced this pull request May 28, 2025
# By jeffhwang-sq
# Via GitHub
* master:
  Adjust rate logic to render even in precomputing stage (#463)
  Fix progress bar to match the old ui (#464)

# Conflicts:
#	client-dynamodb-v2/src/main/kotlin/app/cash/backfila/client/dynamodbv2/UpdateInPlaceDynamoDbBackfill.kt
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