feat: Add grant source management with CRUD operations (Phase 2.2)#23
feat: Add grant source management with CRUD operations (Phase 2.2)#23Datakult0r wants to merge 9 commits into
Conversation
- Added Dockerfile for containerized deployment - Added fly.toml with Fly.io configuration - Added .dockerignore to exclude unnecessary files - Added comprehensive DEPLOYMENT.md guide
- Enhanced backend admin sources API with PATCH, DELETE, and stats endpoints - Added scrape_frequency configuration (hourly/daily/weekly/monthly) - Enhanced AdminGrantSources component with: - Stats cards showing total/active/inactive sources - Enable/disable toggle for each source - Scrape frequency dropdown - Delete source functionality - Loading states and visual feedback - Updated database schema with scrape_frequency column - Improved admin sources page styling
Original prompt from Datakult |
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…s-data feat: Session 9 - Remaining Pages Data Integration
…vements docs: Add PRD, deployment config, and fix README merge conflict
Summary
This PR implements Phase 2.2 of the PRD - Grant Source Management. It adds full CRUD functionality for managing grant discovery sources, allowing users to configure which sources to scrape and at what frequency.
Backend changes:
/statsendpoint returning total/active/inactive counts and last crawled dateDatabase schema:
scrape_frequencycolumn (hourly/daily/weekly/monthly, defaults to 'daily')created_attimestamp columnFrontend changes:
Review & Testing Checklist for Human
/admin/sources, add a new source, toggle its status, change frequency, then delete itgrid-cols-4which may not work well on smaller screensRecommended test plan:
/admin/sourceshttps://grants.gov/search)Notes
$state) - ensure the project is on Svelte 5Link to Devin run: https://app.devin.ai/sessions/9573820f0f6d41dab1cff8a61c26c981
Requested by: @Datakult0r