feat: implement subscription export with multiple format support (#726)#803
Open
primexk5 wants to merge 1 commit into
Open
feat: implement subscription export with multiple format support (#726)#803primexk5 wants to merge 1 commit into
primexk5 wants to merge 1 commit into
Conversation
…rtdevs17#726) - Add zero-dependency ASCII PDF table generation to frontend and backend export services - Implement JSON Schema Draft-07 wrapping for export records (ACCOUNTING_EXPORT_JSON_SCHEMA) - Build schedule management lifecycle: create, read, update, delete, toggle, and on-demand run - Track export download counts and format usage breakdowns via ExportAnalytics - Create /v1/exports REST API endpoints in backend billing domain (exportApi.ts) - Enhance AccountingExportScreen with analytics dashboard, schema toggle, and schedule controls - Update ExportScreen with 5-format selection (CSV, JSON, PDF, QuickBooks, Xero) - Add comprehensive developer/user documentation (docs/export-guide.md, docs/API.md) - Add unit test suites in frontend and backend billing services
|
@primexk5 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
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.
Overview
Implements multi-format subscription data export, scheduled automation, download analytics, and REST API endpoints as requested in Issue #726.
Closes #726
Key Changes
src/services/accountingExport.ts): Implemented table PDF building, JSON schema wrapping (ACCOUNTING_EXPORT_JSON_SCHEMA), schedule management (delete, toggle, run now), and export download analytics.backend/services/billing/accountingExportService.ts): Rewritten streaming export service supporting PDF generation, custom column mappings, schedule lifecycle orchestration, and download tracking.backend/services/billing/exportApi.ts): Created 10 Express route handlers under/v1/exportsfor export creation, download streaming, schedule CRUD, and analytics retrieval.src/screens/): UpgradedAccountingExportScreen.tsxwith an analytics dashboard card, JSON schema toggle, and schedule controls. EnhancedExportScreen.tsxwith 5-format selection and service integration.docs/export-guide.md, added Export API section todocs/API.md, and added 28 new unit test cases covering frontend and backend export logic.Acceptance Criteria Verified