#1476 as-a-shop-owner-i-can-manually-trigger-a-backfill-of-transac#1477
Merged
chrisjsimpson merged 2 commits intomasterfrom Nov 8, 2025
Merged
Conversation
8e99354 to
6243a66
Compare
Add a user-friendly admin dashboard interface that allows shop owners to manually backfill data from Stripe without using CLI commands. Features: - Multi-type selection: backfill transactions, subscriptions, persons, and invoices - All data types selected by default for convenience - Background task processing with @background_task decorator - Loading spinner and disabled button during submission - User-friendly language throughout (no technical jargon) - Immediate feedback with flash messages - Safe and idempotent - can be run multiple times Changes: - Added `do_backfill_data()` background task in `subscribie/blueprints/admin/__init__.py` - Added `admin_backfill_form()` route at `/admin/backfill` in `subscribie/blueprints/admin/__init__.py` - Created new template `subscribie/blueprints/admin/templates/admin/backfill_data.html` - Updated dashboard with "Backfill Data from Stripe" link in `subscribie/blueprints/admin/templates/admin/dashboard.html` - Preserved legacy API endpoint `/admin/backfill/transactions/<days>` The backfill process runs asynchronously, allowing shop owners to continue using the dashboard while synchronisation completes. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
6243a66 to
cdc1902
Compare
Author
|
🚀 PR was released in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull request related issue: #1476. Please pull these awesome changes in!