From 84050fc0b69383082ed1cdf38588cf89742d5260 Mon Sep 17 00:00:00 2001 From: inmanturbo Date: Thu, 22 Feb 2024 05:43:31 +0000 Subject: [PATCH 1/4] Update CHANGELOG --- CHANGELOG.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 55a1722..34096ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ All notable changes to `platform` will be documented in this file. +## v1.3.9 - 2024-02-22 + +### What's Changed + +* add select component by @inmanturbo in https://github.com/envor/platform/pull/14 + +**Full Changelog**: https://github.com/envor/platform/compare/v1.3.8...v1.3.9 + ## v1.3.8 - 2024-02-21 ### What's Changed From 9e15d8dff44416b228322a3f04c8f4c0ec7a5770 Mon Sep 17 00:00:00 2001 From: inmanturbo <47095624+inmanturbo@users.noreply.github.com> Date: Thu, 22 Feb 2024 16:25:04 -0500 Subject: [PATCH 2/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 509dc07..88ba102 100644 --- a/README.md +++ b/README.md @@ -184,7 +184,7 @@ php artisan vendor:publish --tag='platform-migrations' ``` ```bash -php artisan migrate +php artisan migrate --path=database/migrations/platform ``` 2. Add `\Envor\Platform\HasLandingPage` trait to your model. From 2ce7a095c1a3314ac3eec02b8c8705658036621f Mon Sep 17 00:00:00 2001 From: = Date: Thu, 22 Feb 2024 18:08:47 -0500 Subject: [PATCH 3/4] use attributes in accessor --- resources/views/livewire/update-contact-info-form.blade.php | 5 ----- src/Concerns/HasContactData.php | 6 +++--- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/resources/views/livewire/update-contact-info-form.blade.php b/resources/views/livewire/update-contact-info-form.blade.php index a17ea26..eceb1ec 100644 --- a/resources/views/livewire/update-contact-info-form.blade.php +++ b/resources/views/livewire/update-contact-info-form.blade.php @@ -1,10 +1,5 @@ name, + name: $companyData['name'] ?? $attributes['name'] ?? null, landingPage: $companyData['landingPage'] ?? null, address: $address, - logoUrl: $this->profile_photo_url ?? config('platform.logo_path'), - logoPath: $this->profile_photo_path ?? config('platform.empty_logo_path'), + logoUrl: null, + logoPath: null, phone: $companyData['phone'] ?? config('platform.empty_phone'), fax: $companyData['fax'] ?? config('platform.empty_phone'), email: $companyData['email'] ?? null, From 9fc0dbb1a1ddbc7c27167b36624e737f6d0f00c1 Mon Sep 17 00:00:00 2001 From: = Date: Thu, 22 Feb 2024 18:09:49 -0500 Subject: [PATCH 4/4] work in progress --- phpstan-baseline.neon | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index 4a72d44..2cbc78a 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -17,7 +17,7 @@ parameters: - message: "#^Access to an undefined property Envor\\\\Platform\\\\Tests\\\\Fixtures\\\\TestModel\\:\\:\\$name\\.$#" - count: 2 + count: 1 path: tests/Fixtures/TestModel.php -