Skip to content

#1183 [Bug] Auto Scan toggle state is not synchronized between Dashboard and Assets -> Nodes page#1184

Merged
xingzhang-suse merged 1 commit intoneuvector:mainfrom
rushk014:main
Apr 22, 2026
Merged

#1183 [Bug] Auto Scan toggle state is not synchronized between Dashboard and Assets -> Nodes page#1184
xingzhang-suse merged 1 commit intoneuvector:mainfrom
rushk014:main

Conversation

@rushk014
Copy link
Copy Markdown
Contributor

Description

See #1183

The ScanConfig Scala case class was missing the auto_scan field, causing the dashboard's PATCH to /v1/scan/config to silently drop the field. The dashboard auto scan toggle appeared to work but the state never
persisted on refresh.

Test

  1. Navigate to the Dashboard and toggle Auto Scan OFF (or ON)
  2. Refresh the page
  3. Verify the toggle reflects the state you set

…een Dashboard and Assets -> Nodes page

adds auto_scan field to ScanConfig to persist dashboard toggle
@rushk014 rushk014 requested a review from a team as a code owner April 22, 2026 20:40
@rushk014 rushk014 requested a review from xingzhang-suse April 22, 2026 20:40
Copy link
Copy Markdown
Collaborator

@xingzhang-suse xingzhang-suse left a comment

Choose a reason for hiding this comment

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

LGTM

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