From 9b062ce787cdccaeab6ce2c0bb8068fc2a951975 Mon Sep 17 00:00:00 2001 From: stephenjude Date: Thu, 20 Jun 2024 09:20:26 +0000 Subject: [PATCH 1/3] Fix styling --- src/Commands/FilamentJetstreamCommand.php | 1 - stubs/App/Providers/Filament/AppPanelProvider.php | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Commands/FilamentJetstreamCommand.php b/src/Commands/FilamentJetstreamCommand.php index e96f4bd..54d749f 100644 --- a/src/Commands/FilamentJetstreamCommand.php +++ b/src/Commands/FilamentJetstreamCommand.php @@ -26,7 +26,6 @@ public function handle(): int return self::FAILURE; } - $this->info('Installing Jetstream components started'); $this->call('jetstream:install', [ 'stack' => 'livewire', diff --git a/stubs/App/Providers/Filament/AppPanelProvider.php b/stubs/App/Providers/Filament/AppPanelProvider.php index ed2e781..7105355 100644 --- a/stubs/App/Providers/Filament/AppPanelProvider.php +++ b/stubs/App/Providers/Filament/AppPanelProvider.php @@ -53,7 +53,7 @@ public function panel(Panel $panel): Panel MenuItem::make() ->label('Profile') ->icon('heroicon-o-user-circle') - ->url(fn() => $this->shouldRegisterMenuItem() + ->url(fn () => $this->shouldRegisterMenuItem() ? url(EditProfile::getUrl()) : url($panel->getPath())), ]) @@ -89,7 +89,7 @@ public function panel(Panel $panel): Panel MenuItem::make() ->label('API Tokens') ->icon('heroicon-o-key') - ->url(fn() => $this->shouldRegisterMenuItem() + ->url(fn () => $this->shouldRegisterMenuItem() ? url(ApiTokens::getUrl()) : url($panel->getPath())), ]); @@ -104,7 +104,7 @@ public function panel(Panel $panel): Panel MenuItem::make() ->label('Team Settings') ->icon('heroicon-o-cog-6-tooth') - ->url(fn() => $this->shouldRegisterMenuItem() + ->url(fn () => $this->shouldRegisterMenuItem() ? url(EditTeam::getUrl()) : url($panel->getPath())), ]); From e256091a4b32a59f92c8273e88929fa8d95e9773 Mon Sep 17 00:00:00 2001 From: stephenjude Date: Thu, 20 Jun 2024 09:20:54 +0000 Subject: [PATCH 2/3] Update CHANGELOG --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f0cb57f..177ed35 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ All notable changes to `filament-jetstream` will be documented in this file. +## 0.0.12 - 2024-06-20 + +- Fixed user profile URL bug + ## 0.0.11 - 2024-06-12 - Fixed Laravel 11 User model scaffold bug From 3a6e1dcbe9a379b798a4543bfe21afcdde221e51 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 14:42:50 +0000 Subject: [PATCH 3/3] Bump dependabot/fetch-metadata from 2.1.0 to 2.2.0 Bumps [dependabot/fetch-metadata](https://github.com/dependabot/fetch-metadata) from 2.1.0 to 2.2.0. - [Release notes](https://github.com/dependabot/fetch-metadata/releases) - [Commits](https://github.com/dependabot/fetch-metadata/compare/v2.1.0...v2.2.0) --- updated-dependencies: - dependency-name: dependabot/fetch-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/dependabot-auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dependabot-auto-merge.yml b/.github/workflows/dependabot-auto-merge.yml index 8d50fb2..dfb3bd2 100644 --- a/.github/workflows/dependabot-auto-merge.yml +++ b/.github/workflows/dependabot-auto-merge.yml @@ -14,7 +14,7 @@ jobs: - name: Dependabot metadata id: metadata - uses: dependabot/fetch-metadata@v2.1.0 + uses: dependabot/fetch-metadata@v2.2.0 with: github-token: "${{ secrets.GITHUB_TOKEN }}"