Skip to content

Conversation

@landomen
Copy link
Contributor

@landomen landomen commented Jan 9, 2026

Task/Issue URL: https://app.asana.com/1/137249556945/project/492600419927320/task/1212697400140246?focus=true

Description

Adds debug scan option that runs broker scan steps on a visible WebView

Steps to test this PR

  • Ensure you have at least one profile query added
  • Go to PIR Dev Settings -> Scan
  • Select a broker from the new dropdown menu
  • Click Debug Scan and confirm that a WebView is visible and steps are executed (note that sometimes the scan is so fast the screen closes immediately)

UI changes

UI changes in the PIR Dev settings screen


Note

Adds a developer-facing debug scan flow that runs broker scan steps in a visible WebView and a minimal UI to trigger it.

  • PirScan: introduces debugExecute(brokers, WebView) to execute parsed scan steps sequentially on a provided WebView; integrates with existing runner lifecycle and logging
  • New PirDevWebViewActivity with DebugType to route between SCAN (PirScan) and OPT_OUT (PirOptOut), and stops the correct component on destroy
  • Dev Scan screen: adds broker dropdown and "Debug Scan" button; loads active brokers and launches the WebView activity with selected broker
  • Adds supporting strings and layout changes

Written by Cursor Bugbot for commit 165a3d0. This will update automatically on new commits. Configure here.

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