[IP-85]: import export options all data - #716
Draft
nielsdrost7 wants to merge 31 commits into
Draft
nielsdrost7 wants to merge 31 commits into
nielsdrost7 wants to merge 31 commits into
Conversation
Contributor
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks 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 |
nielsdrost7
force-pushed
the
feature/85-import-export-options-all-data
branch
from
August 15, 2026 17:35
19b7ca7 to
45538ee
Compare
Collaborator
Author
|
@coderabbitai full review |
Contributor
|
Add all Export classes, Filament Exporters, ExportServices and ExportImportTests for every module. Add ExportAction groups to all ListRecords pages. Add InvoicePlane V1 import command, services, models, and tests. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Documents the correct procedure for extracting files from develop into a feature branch so the branch is ahead of develop and a PR can be opened. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…e for PHPUnit discovery
PHPUnit only scans Modules/*/Tests/{Unit,Feature}; the nine suites under
Modules/*/Feature/Modules were never discovered. Moves them to the correct
path, fixes namespaces, and replaces the stale Queue::fake()/Bus::assertChained
pattern with Bus::assertDispatched(ChainedBatch::class), matching the corrected
InvoicesExportImportTest already on develop (whose stale duplicate is removed).
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Resource pages gate on Spatie permissions since the role-permissions feature (InvoicePlane#500), but the test base classes never seeded them, so every company/admin panel Livewire test aborted with 403. Seed permissions and roles in setUp and assign client_admin / super_admin to the test users. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
…e is reachable The setUp/tearDown of the import service tests dropped tables on a MySQL connection unconditionally; without one they errored and leaked an open transaction that cascaded 'already an active transaction' into 265 later tests. They now skip cleanly on unavailable connections. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
relations.company_name, products.product_name, expenses.expense_amount and payments.payment_amount/notes replace invented column names, and payments get the invoice their NOT NULL invoice_id requires. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
nielsdrost7
force-pushed
the
feature/85-import-export-options-all-data
branch
from
August 16, 2026 04:25
d5e56d0 to
1b05b6f
Compare
nielsdrost7
force-pushed
the
feature/85-import-export-options-all-data
branch
from
August 17, 2026 05:28
881adf0 to
067372a
Compare
…ort-options-all-data
…ort-options-all-data
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.
Summary
Import/export options for all data (#85):
Exports (CSV + Excel, v2 and v1-legacy formats): ships for all nine modules (Clients/Contacts, Invoices, Quotes, Payments, Products, Projects/Tasks, Expenses) with list-page actions.
V1 database migration (
import:dbcommand): ships in develop via PR #708 (feat/678-v1-migration), providing theV1MigrationManagerorchestrator with 15 per-entity migrators (TaxRate, Products, CustomField, Users, Clients, Numbering, Invoices, Quotes, Payments, Projects, RecurringInvoices, Uploads, EmailTemplates, Settings, Notes).Filament ImportAction UI: not part of this PR — remains with follow-up issues (#139, #140, #141, #80).
Features
Test plan
php artisan test— full suite, 0 failuresphp artisan import:db --dry-runagainst a real v1 backup (if available)Related PRs
Follow-up issues (not resolved here)
Addresses #139 — Import options (catalog, pricelists) — Filament ImportAction UI not built
Addresses #140 — Import products from external sources — no Filament ImportAction wizard
Addresses #141 — Import clients in bulk — no Filament ImportAction wizard
Addresses #80 — Finish Excel import — per-module ImportAction UI remains unbuilt
Files Removed During Cleanup
The following infrastructure and automation files were removed from this branch: