Skip to content

Just develop to master#282

Draft
nielsdrost7 wants to merge 72 commits into
masterfrom
develop
Draft

Just develop to master#282
nielsdrost7 wants to merge 72 commits into
masterfrom
develop

Conversation

@nielsdrost7

@nielsdrost7 nielsdrost7 commented Dec 29, 2025

Copy link
Copy Markdown
Collaborator

┌─────┬─────────────────────────────────────────────────────────────────────┬──────────────────────┐
│ # │ Issue │ Fix │
├─────┼─────────────────────────────────────────────────────────────────────┼──────────────────────┤
│ │ database/migrations/2025_06_03_142408_create_sessions_table.php │ Deleted the │
│ 1 │ duplicated Modules/Core's sessions migration — crashed │ duplicate │
│ │ RefreshDatabase and cascaded 300 failures │ │
├─────┼─────────────────────────────────────────────────────────────────────┼──────────────────────┤
│ │ UserService::updateUser(array $validatedInput, $userToUpdate) — │ Swapped to │
│ 2 │ parameter order was reversed from every caller (updateUser($record, │ updateUser(User │
│ │ $data)). Would throw "call to fill() on array" at runtime │ $user, array $data) │
├─────┼─────────────────────────────────────────────────────────────────────┼──────────────────────┤
│ 3 │ Invoice::mailQueue() declared return type Builder but returns │ Fixed to HasMany │
│ │ HasMany │ │
├─────┼─────────────────────────────────────────────────────────────────────┼──────────────────────┤
│ │ Invoice::activities(), attachments(), clientAttachments() all │ Removed all three │
│ 4 │ returned null. clientAttachments() also referenced non-existent │ dead methods │
│ │ $this->status_text and unqualified 'Attachment' string │ │
├─────┼─────────────────────────────────────────────────────────────────────┼──────────────────────┤
│ 5 │ Same dead methods in Quote │ Removed │
├─────┼─────────────────────────────────────────────────────────────────────┼──────────────────────┤
│ │ DeleteBulkAction on UsersTable had no super_admin guard — bulk │ Added │
│ 6 │ delete could wipe all super admins │ reject(super_admin) │
│ │ │ before delete │
├─────┼─────────────────────────────────────────────────────────────────────┼──────────────────────┤
│ 7 │ Modules/Quotes/Listeners/QuoteWasUpdatedListenerTest.php — test │ Moved to │
│ │ file in wrong directory, PHPUnit never found it │ Tests/Feature/ │
└─────┴─────────────────────────────────────────────────────────────────────┴──────────────────────┘

What was extracted to branches

┌─────────────────────────────────────────────────────────────┬────────────────────────────────────┐
│ Orphan │ Branch │
├─────────────────────────────────────────────────────────────┼────────────────────────────────────┤
│ app/Mason/Bricks/ + app/Mason/Collections/ (17 files, │ feature/130-report-builder │
│ survived a "remove" commit) │ (already existed) │
├─────────────────────────────────────────────────────────────┼────────────────────────────────────┤
│ Entire DocumentGroup subsystem (model, resource, service, │ │
│ factory, seeder, migration, observer, tests — 14 files, │ feature/document-groups-cleanup │
│ unregistered dead code, Numbering is the canonical │ (new) │
│ replacement) │ │
└─────────────────────────────────────────────────────────────┴────────────────────────────────────┘

Remaining known issues (not blocking tests, need dedicated work)

  • 44 tests tagged #[Group('failing')] — most are markTestSkipped(). Legitimate tracking, but several
    should now actually pass (duplicate-number tests) and need un-tagging. SettingsTest (9 tests) is
    all-skipped due to a Filament 5 blade rendering issue.
  • FileUpload::make('attachments') in InvoiceForm — bound to a field with no backing relation. Won't
    crash at render time, but upload would silently do nothing.
  • QuoteService::createQuote — $quoteTotal is computed but ignored; 'quote_total' =>
    $data['quote_total'] ?? 0 uses raw i Jump to bottom (ctrl+End) ↓ correctly uses the computed value.

@InvoicePlane InvoicePlane deleted a comment from coderabbitai Bot Dec 29, 2025
@InvoicePlane InvoicePlane deleted a comment from coderabbitai Bot Dec 29, 2025
@nielsdrost7

This comment was marked as outdated.

This comment was marked as outdated.

Copilot AI added a commit that referenced this pull request Dec 29, 2025
Co-authored-by: nielsdrost7 <47660417+nielsdrost7@users.noreply.github.com>
nielsdrost7 added a commit that referenced this pull request Dec 29, 2025
…ts (#287)

* Initial plan

* Apply code review fixes from PR #282

Co-authored-by: nielsdrost7 <47660417+nielsdrost7@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: nielsdrost7 <47660417+nielsdrost7@users.noreply.github.com>
@InvoicePlane InvoicePlane deleted a comment from coderabbitai Bot Dec 29, 2025
nielsdrost7

This comment was marked as outdated.

nielsdrost7

This comment was marked as outdated.

This comment was marked as outdated.

@InvoicePlane InvoicePlane deleted a comment from coderabbitai Bot Dec 30, 2025
@InvoicePlane InvoicePlane deleted a comment from coderabbitai Bot Dec 30, 2025
@coderabbitai

coderabbitai Bot commented Dec 30, 2025

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 8cdabbce-4627-4190-baa3-e2c55e9a46cf

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch develop

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Copilot AI commented Dec 30, 2025

Copy link
Copy Markdown
Contributor

@nielsdrost7 I've opened a new pull request, #296, to work on those changes. Once the pull request is ready, I'll request review from you.

coderabbitai Bot and others added 30 commits June 18, 2026 18:48
Fixed 1 file(s) based on 1 unresolved review comment.

Co-authored-by: CodeRabbit <noreply@coderabbit.ai>
- Add missing /* Arrange */ comment to it_creates_a_quote_through_a_modal
- Add missing /* Act */ and /* Assert */ comments to same method
- Add missing /* Arrange */ comment to it_creates_a_quote
- Remove duplicate /* Assert */ comment in it_only_lists_quotes_for_the_current_tenant
- Rename widget_shows_only_current_tenant_quotes → it_shows_only_current_tenant_quotes_in_the_widget (noun-before-verb naming violation)
- Split forbidden /* Act & Assert */ into separate /* Act */ and /* Assert */ in QuoteDuplicateNumberPreventionTest

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DqwRdtVHYbBGYkENv1D78R
Filament v5 extracted the auth pages into the filament/auth package and
moved the login translations from `filament-panels::pages/auth/login.*`
to `filament-panels::auth/pages/login.*`. The custom Login page still
referenced the old keys, so the login form rendered raw translation keys
(e.g. `filament-panels::pages/auth/login.form.email.label`).

- Drop the explicit email/password `->label()` overrides so the fields
  fall back to Filament's translated labels.
- Repoint the rate-limit throttle notification title/body to the new
  `auth/pages/login` namespace path.

Restores the repair originally made on fix/repair-stale-filament-translations
(commits 4e69878, 6f3b944), which was never merged into develop, and also
fixes the throttle body key that the original repair left on the old path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011MrHa717dy6aoU6Z67iWG2
Instead of hand-building the rate-limit notification with hardcoded
`filament-panels::...login.notifications.throttled.*` translation keys —
the very keys that broke on the v4 -> v5 upgrade — delegate to the base
Login page's getRateLimitedNotification(). Filament resolves the correct
keys for whatever version is installed, so this notification no longer
breaks when Filament reshuffles its translation namespaces.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011MrHa717dy6aoU6Z67iWG2
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.

6 participants