Fix focus issues, clarify documentation #10
No reviewers
Labels
No labels
Compat/Breaking
Compat/Deprecation
Kind
Bug
Kind
Chore
Kind
Documentation
Kind
Enhancement
Kind
Feature
Kind
Investigation
Kind
Question
Kind
Security
Kind
Testing
Meta/Good First Issue
Meta/Help Wanted
Meta/Stale
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
Status/Needs Triage
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
XeplosionGames/minecraft-provider-analysis!10
Loading…
Reference in a new issue
No description provided.
Delete branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What changed and why
Two unrelated fixes, bundled together since both are small:
Focus loss while typing (capture-form) — every text/number/textarea
field's
inputevent triggered a fullrender(), which doesroot.innerHTML = ""and rebuilds the whole DOM tree. That destroyed thefocused input on every single keystroke, making sustained typing in any
field unusable. Fixed by having
render()record the focused element'sposition (child-index path from
#app) and cursor selection before therebuild, then restoring focus to the equivalent element afterward — the
rebuild itself is unchanged, so the dirty indicator, step-completion
badges, and promote-button validity still update live on every keystroke
as before.
Compliance field wording —
complies_with_guidelinesand itsdescription/label were worded as generic "scraping guidelines" compliance.
It's actually specifically about compliance with Trustpilot's Terms of
Service (this is the
reviewssection —trustpilot_url,review_count,scrapesare all Trustpilot-scoped). Updated the schema description,compliance_notesdescription, the capture-form UI label, and both docsto say so explicitly. The JSON key itself, the sheet column name, and the
115 existing provider files' field names are deliberately unchanged —
this is wording-only, to avoid a coordinated rename across the sheet,
bootstrap.py, and every provider file.Related issues
Closes #
Closes #
How to test
pausing — confirm focus and cursor stay in the field the whole time and
no characters get lost or reordered.
confirm it's not just top-level fields that work.
completion badges still update live as you type (i.e. this didn't
silently stop re-rendering, it just stopped losing focus).
"Complies with Trustpilot's Terms of Service?"
pytest— all existing tests should still pass unmodified (no fieldnames or schema validity rules changed, wording/behavior only).
Checklist
Release notes
Fix a bug where typing in any capture-form field lost focus on every keystroke; clarify that the compliance field refers to Trustpilot's ToS specifically.