Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
atmonshi committed Feb 9, 2024
1 parent e8f6d84 commit 5da3470
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 123 deletions.
12 changes: 11 additions & 1 deletion app/Filament/Pages/QrCode.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
namespace App\Filament\Pages;

use App\Filament\Clusters\ComponentsDemo;
use Filament\Forms\Components\Placeholder;
use Filament\Forms\Components\Section;
use Filament\Forms\Form;
use Filament\Pages\Page;
Expand All @@ -18,10 +19,15 @@ class QrCode extends Page

protected static ?int $navigationSort = 2;

public array $data;
public ?array $data;

public string $qrcode;

public function mount(): void
{
$this->form->fill();
}

public static function getNavigationLabel(): string
{
return 'QR maker';
Expand All @@ -39,6 +45,10 @@ public function form(Form $form): Form
->schema([
Section::make()
->schema([
Placeholder::make('')->content('Use it as a direct form'),
...\LaraZeus\Qr\Facades\Qr::getFormSchema('text', 'text-options'),

Placeholder::make('')->content('Use it as an action'),
Qr::make('qr-code')
->actionIcon('heroicon-o-adjustments-vertical')
->asSlideOver()
Expand Down
5 changes: 0 additions & 5 deletions app/Providers/Filament/AdminPanelProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
use Archilex\AdvancedTables\Plugin\AdvancedTablesPlugin;
use Archilex\AdvancedTables\Resources\UserViewResource;
use Awcodes\Curator\CuratorPlugin;
use Awcodes\FilamentGravatar\GravatarPlugin;
use Awcodes\FilamentGravatar\GravatarProvider;
use Awcodes\FilamentQuickCreate\QuickCreatePlugin;
use Awcodes\FilamentVersions\VersionsPlugin;
use Awcodes\FilamentVersions\VersionsWidget;
Expand Down Expand Up @@ -80,7 +78,6 @@ public function panel(Panel $panel): Panel
->profile(isSimple: false)
->font('Karla')
->plugins($this->getPlugins())
->defaultAvatarProvider(GravatarProvider::class)
->brandLogo(fn () => view('filament.logo'))
->colors([
...collect(Color::all())->forget(['slate', 'gray', 'zinc', 'neutral', 'stone'])->toArray(),
Expand Down Expand Up @@ -240,8 +237,6 @@ public function getPlugins(): array
->navigationGroup(fn (): string => __('Hermes'))
->navigationSort(99)
->navigationCountBadge(),

GravatarPlugin::make(),
SpotlightPlugin::make(),
LightSwitchPlugin::make(),
OverlookPlugin::make()
Expand Down
1 change: 0 additions & 1 deletion composer-prod.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"andreiio/blade-remix-icon": "^2.3",
"archilex/filament-filter-sets": "^3.1",
"archtechx/laravel-seo": "^0.7",
"awcodes/filament-gravatar": "^2.0",
"awcodes/filament-quick-create": "^3.0",
"awcodes/filament-versions": "^2.0",
"awcodes/light-switch": "^1.0",
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"andreiio/blade-remix-icon": "^2.3",
"archilex/filament-filter-sets": "^3.5",
"archtechx/laravel-seo": "^0.7",
"awcodes/filament-gravatar": "^2.0",
"awcodes/filament-quick-create": "^3.0",
"awcodes/filament-versions": "^2.0",
"awcodes/light-switch": "^1.0",
Expand All @@ -35,6 +34,7 @@
"jaocero/radio-deck": "^1.1",
"jeremykenedy/laravel-packagist": "^1.0",
"lara-zeus/accordion": "^1.0",
"filament/filament": "3.2.27",
"lara-zeus/artemis": "^1.0",
"lara-zeus/bolt": "^3.0",
"lara-zeus/bolt-pro": "^3.0",
Expand Down
139 changes: 40 additions & 99 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion public/js/filament/forms/components/file-upload.js

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions resources/views/filament/widgets/packages-overview.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,6 @@
⚡️ Filament Progressbar
</x-list.item>

<x-list.item url="https://github.com/awcodes/filament-gravatar">
⚡️ Filament Gravatar
</x-list.item>

<x-list.item url="https://github.com/ryangjchandler/filament-navigation">
⚡️ Filament Navigation
</x-list.item>
Expand Down
Loading

0 comments on commit 5da3470

Please sign in to comment.