Skip to content

feat: scaffold search category scraping and wire up DB migrations#20

Merged
astar-development-jb merged 1 commit into
mainfrom
feature/search-categories-scrape-scaffold
Jul 14, 2026
Merged

feat: scaffold search category scraping and wire up DB migrations#20
astar-development-jb merged 1 commit into
mainfrom
feature/search-categories-scrape-scaffold

Conversation

@jbarden

@jbarden jbarden commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Scaffold IScrapeAction / SearchCategoryScrapeAction / ICategoryPageExtractor / CategoryPageExtractor to extract search categories from the scraped page
  • MainWindowViewModel's search-category scrape command now dispatches to SearchCategoryScrapeAction instead of a stub navigation
  • Add FileClassificationCategoryQueries for persisting scraped tags to FileClassificationCategories under "Unclassified"
  • Run EF Core Database.MigrateAsync() on app startup, logging failures instead of crashing
  • DI wiring for IDbContextFactory<AppDbContext> and new scraping services

Test plan

  • dotnet build — 0 warnings, 0 errors
  • dotnet test — 411 passed, 0 failed

Adds IScrapeAction/SearchCategoryScrapeAction/CategoryPageExtractor to
extract search categories from the scraped page, plumbs FileClassification
category persistence through AppDb, and runs EF Core migrations on app
startup. MainWindowViewModel's scrape command now dispatches to the
category scrape action instead of a stub navigation.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@jbarden
jbarden requested a review from a team July 14, 2026 20:00
@astar-development-jb
astar-development-jb merged commit 73555f9 into main Jul 14, 2026
4 of 5 checks passed
@astar-development-jb
astar-development-jb deleted the feature/search-categories-scrape-scaffold branch July 14, 2026 20:08
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