liberu-real-estate / real-estate-laravel

Estate agency application written in Laravel 11 / PHP 8.3 using Filament 3
https://www.facebook.com/liberusoftware
26 stars 7 forks source link

Branches #35

Closed curtisdelicata closed 4 months ago

curtisdelicata commented 1 year ago

Add branch (different office locations) management as a filament 3 resource under the admin panel

Checklist - [X] Create `app/Models/Branch.php` ✓ https://github.com/liberu-real-estate/real-estate-laravel/commit/4c7b08a230db9caba7d521a68c88d66555de69d5 [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Models/Branch.php) - [X] Running GitHub Actions for `app/Models/Branch.php` ✓ [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Models/Branch.php) - [X] Create `database/migrations/2023_04_01_000000_create_branches_table.php` ✓ https://github.com/liberu-real-estate/real-estate-laravel/commit/b4db46d2d277bc92f482f71c86326cdd11a7e274 [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/database/migrations/2023_04_01_000000_create_branches_table.php) - [X] Running GitHub Actions for `database/migrations/2023_04_01_000000_create_branches_table.php` ✓ [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/database/migrations/2023_04_01_000000_create_branches_table.php) - [X] Create `app/Filament/Resources/BranchResource.php` ✓ https://github.com/liberu-real-estate/real-estate-laravel/commit/7aaec9f008317dfeb514f02a89f19ea7351d33c1 [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Filament/Resources/BranchResource.php) - [X] Running GitHub Actions for `app/Filament/Resources/BranchResource.php` ✓ [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Filament/Resources/BranchResource.php) - [X] Create `app/Filament/Resources/BranchResource/Pages/CreateBranch.php` ✓ https://github.com/liberu-real-estate/real-estate-laravel/commit/7c6821eceb1b2d10415aa81ca3105dbe04cb7057 [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Filament/Resources/BranchResource/Pages/CreateBranch.php) - [X] Running GitHub Actions for `app/Filament/Resources/BranchResource/Pages/CreateBranch.php` ✓ [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Filament/Resources/BranchResource/Pages/CreateBranch.php) - [X] Create `app/Filament/Resources/BranchResource/Pages/EditBranch.php` ✓ https://github.com/liberu-real-estate/real-estate-laravel/commit/3e905f1dfeec491f603637de61f0a7e98ce840c7 [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Filament/Resources/BranchResource/Pages/EditBranch.php) - [X] Running GitHub Actions for `app/Filament/Resources/BranchResource/Pages/EditBranch.php` ✓ [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Filament/Resources/BranchResource/Pages/EditBranch.php) - [X] Create `app/Filament/Resources/BranchResource/Pages/ListBranches.php` ✓ https://github.com/liberu-real-estate/real-estate-laravel/commit/67e731379843decf9f18ff4a180075186247cdda [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Filament/Resources/BranchResource/Pages/ListBranches.php) - [X] Running GitHub Actions for `app/Filament/Resources/BranchResource/Pages/ListBranches.php` ✓ [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Filament/Resources/BranchResource/Pages/ListBranches.php) - [X] Modify `app/Providers/Filament/AdminPanelProvider.php` ✓ https://github.com/liberu-real-estate/real-estate-laravel/commit/efabf73301a5dd5a188a4e2b622ac49c48dcbcda [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Providers/Filament/AdminPanelProvider.php#L60-L61) - [X] Running GitHub Actions for `app/Providers/Filament/AdminPanelProvider.php` ✓ [Edit](https://github.com/liberu-real-estate/real-estate-laravel/edit/sweep/branches/app/Providers/Filament/AdminPanelProvider.php#L60-L61)
sweep-ai[bot] commented 4 months ago

🚀 Here's the PR! #106

See Sweep's progress at the progress dashboard!
💎 Sweep Pro: I'm using GPT-4. You have unlimited GPT-4 tickets. (tracking ID: feeb7062d1)

[!TIP] I'll email you at genealogysoftwareuk@gmail.com when I complete this pull request!


Actions (click)

GitHub Actions failed

The sandbox appears to be unavailable or down.


Step 1: 🔎 Searching

I found the following snippets in your repository. I will now analyze these snippets and come up with a plan.

Some code snippets I think are relevant in decreasing order of relevance (click to expand). If some file is missing from here, you can mention the path in the ticket description. https://github.com/liberu-real-estate/real-estate-laravel/blob/42ae5c3b26722c2105b5321c1c29e0a5df226046/app/Providers/Filament/AdminPanelProvider.php#L1-L62 https://github.com/liberu-real-estate/real-estate-laravel/blob/42ae5c3b26722c2105b5321c1c29e0a5df226046/config/app.php#L157-L190

Step 2: ⌨️ Coding

Ran GitHub Actions for 4c7b08a230db9caba7d521a68c88d66555de69d5:

Ran GitHub Actions for b4db46d2d277bc92f482f71c86326cdd11a7e274:

Ran GitHub Actions for 7aaec9f008317dfeb514f02a89f19ea7351d33c1:

Ran GitHub Actions for 7c6821eceb1b2d10415aa81ca3105dbe04cb7057:

Ran GitHub Actions for 3e905f1dfeec491f603637de61f0a7e98ce840c7:

Ran GitHub Actions for 67e731379843decf9f18ff4a180075186247cdda:

--- 
+++ 
@@ -61,3 +61,4 @@
             ->registerResource(\App\Filament\Resources\BuyerResource::class)
             ->registerResource(\App\Filament\Resources\DocumentTemplateResource::class)
             ->registerResource(\App\Filament\Resources\DigitalSignatureResource::class)
+            ->registerResource(\App\Filament\Resources\BranchResource::class)

Ran GitHub Actions for efabf73301a5dd5a188a4e2b622ac49c48dcbcda:


Step 3: 🔁 Code Review

I have finished reviewing the code for completeness. I did not find errors for sweep/branches.


🎉 Latest improvements to Sweep:
  • New dashboard launched for real-time tracking of Sweep issues, covering all stages from search to coding.
  • Integration of OpenAI's latest Assistant API for more efficient and reliable code planning and editing, improving speed by 3x.
  • Use the GitHub issues extension for creating Sweep issues directly from your editor.

💡 To recreate the pull request edit the issue title or description. To tweak the pull request, leave a comment on the pull request.Something wrong? Let us know.

This is an automated message generated by Sweep AI.