Skip to content

Fixed Progress bar script throws - #801

Open
lakshaydevoo-arch wants to merge 1 commit into
CircuitVerse:masterfrom
lakshaydevoo-arch:fixing
Open

Fixed Progress bar script throws#801
lakshaydevoo-arch wants to merge 1 commit into
CircuitVerse:masterfrom
lakshaydevoo-arch:fixing

Conversation

@lakshaydevoo-arch

@lakshaydevoo-arch lakshaydevoo-arch commented Aug 3, 2026

Copy link
Copy Markdown

Fixes #800 Fix progress bar TypeError by selecting .main-content-wrap correctly

Changes done:

  • Task 1: Updated the do query which was causing the issue by adding class selector '.' instead of id selector '#'

Screenshots

image

Preview Link(s): N/A (No preview deployment generated)

✅️ By submitting this PR, I have verified the following

  • [x ] Checked to see if a similar PR has already been opened 🤔️
  • [ x] Reviewed the contributing guidelines 🔍️
  • Sample preview link added (add the link(s) for all the pages changed/updated from the checks tab after checks complete)
  • [x ] Tried Squashing the commits into one

Summary by CodeRabbit

  • Bug Fixes
    • Improved progress-bar tracking by targeting the correct main content area, ensuring more accurate progress updates.

@coderabbitai

coderabbitai Bot commented Aug 3, 2026

Copy link
Copy Markdown

Review Change Stack

Walkthrough

The progress-bar script now measures .main-content-wrap instead of #main-content-wrap.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Linked Issues check ✅ Passed The selector change from #main-content-wrap to .main-content-wrap directly fixes issue #800.
Out of Scope Changes check ✅ Passed The pull request contains only the selector change required to fix the progress bar error.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly identifies the progress bar script error fixed by the pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

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.

Progress bar script throws "Cannot read properties of null" on every page (invalid selector in general_scripts.html)

1 participant