File tree 5 files changed +17
-4
lines changed
5 files changed +17
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Changelog
2
2
3
3
All notable changes to this project will be documented in this file.
4
+
5
+ ## v1.0.0 - 2025-03-02
6
+
7
+ ** Full Changelog** : https://github.com/jeffersongoncalves/filament-whatsapp-widget/commits/v1.0.0
Original file line number Diff line number Diff line change @@ -20,14 +20,21 @@ Publish config file.
20
20
21
21
``` bash
22
22
php artisan vendor:publish --tag=whatsapp-widget-config
23
+ php artisan vendor:publish --tag=filament-whatsapp-widget-config
23
24
```
24
25
25
- Publish config file.
26
+ Publish migration file.
26
27
27
28
``` bash
28
29
php artisan vendor:publish --tag=whatsapp-widget-migrations
29
30
```
30
31
32
+ Publish assets file.
33
+
34
+ ``` bash
35
+ php artisan vendor:publish --tag=whatsapp-widget-assets
36
+ ```
37
+
31
38
Add head template.
32
39
33
40
``` php
Original file line number Diff line number Diff line change @@ -155,6 +155,7 @@ public static function getNavigationGroup(): ?string
155
155
if (Utils::isResourceNavigationGroupEnabled ()) {
156
156
return __ ('filament-whatsapp-widget::filament-whatsapp-widget.nav.group ' );
157
157
}
158
+
158
159
return '' ;
159
160
}
160
161
@@ -183,6 +184,7 @@ public static function getNavigationBadge(): ?string
183
184
if (Utils::isResourceNavigationBadgeEnabled ()) {
184
185
return strval (static ::getEloquentQuery ()->count ());
185
186
}
187
+
186
188
return null ;
187
189
}
188
190
}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ public static function getResourceNavigationSort(): ?int
40
40
41
41
public static function getResourceSlug (): string
42
42
{
43
- return (string )config ('filament-whatsapp-widget.whatsapp_agent_resource.slug ' );
43
+ return (string ) config ('filament-whatsapp-widget.whatsapp_agent_resource.slug ' );
44
44
}
45
45
46
46
public static function isResourceNavigationBadgeEnabled (): bool
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public function configurePackage(Package $package): void
20
20
21
21
public function packageRegistered (): void
22
22
{
23
- FilamentView::registerRenderHook (PanelsRenderHook::HEAD_START , fn (): View => view ('whatsapp-widget::whatsapp-widget-head ' ));
24
- FilamentView::registerRenderHook (PanelsRenderHook::BODY_END , fn (): View => view ('whatsapp-widget::whatsapp-widget-body ' ));
23
+ FilamentView::registerRenderHook (PanelsRenderHook::HEAD_START , fn (): View => view ('whatsapp-widget::whatsapp-widget-head ' ));
24
+ FilamentView::registerRenderHook (PanelsRenderHook::BODY_END , fn (): View => view ('whatsapp-widget::whatsapp-widget-body ' ));
25
25
}
26
26
}
You can’t perform that action at this time.
0 commit comments