Skip to content

feat(webui): persist crawler configuration and expose crawl limits - #947

Open
yaoziqin2020 wants to merge 1 commit into
NanmiCoder:mainfrom
yaoziqin2020:agent/webui-config-persistence
Open

feat(webui): persist crawler configuration and expose crawl limits#947
yaoziqin2020 wants to merge 1 commit into
NanmiCoder:mainfrom
yaoziqin2020:agent/webui-config-persistence

Conversation

@yaoziqin2020

Copy link
Copy Markdown

Summary

  • expose post and per-post comment limits in the WebUI and pass them to crawler start requests
  • add explicit persistence for the current safe WebUI configuration while excluding cookies
  • split login and crawl settings into aligned cards and move the save action into the header
  • prevent header control labels from being truncated and keep the original terminal banner frame closed

Why

The WebUI previously restored default values after reopening and did not expose the crawler's post and comment limits. This made repeated local research runs require the same setup each time and forced limit changes to be made outside the UI.

Behavior

  • edits affect the current crawler configuration immediately
  • clicking Save all configuration controls what is restored on the next page load
  • unsaved edits do not overwrite the last saved configuration
  • cookies are intentionally excluded from local persistence
  • the default limits remain 20 posts and 10 comments per post

Validation

  • npm run build
  • git diff --check
  • browser QA for card alignment, input editing, save feedback, saved-value restoration, unsaved-value restoration, header labels, and terminal banner rendering

The WebUI package does not currently define an automated test script.

@yaoziqin2020
yaoziqin2020 force-pushed the agent/webui-config-persistence branch from df838f2 to b7c4090 Compare July 28, 2026 06:01
@yaoziqin2020
yaoziqin2020 force-pushed the agent/webui-config-persistence branch from b7c4090 to ea352fa Compare July 28, 2026 06:06
@yaoziqin2020
yaoziqin2020 marked this pull request as ready for review July 28, 2026 06:08
@yaoziqin2020
yaoziqin2020 requested a review from NanmiCoder as a code owner July 28, 2026 06:08
@dosubot dosubot Bot added size:L This PR changes 100-499 lines, ignoring generated files. enhancement New feature or request labels Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size:L This PR changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant