refactor: Update dashboard layout to a 2-column grid and adjust widget column spans accordingly.

This commit is contained in:
Yoga Pangestu 2026-03-12 11:48:37 +07:00
parent e54eaafccc
commit 427805ebd1
9 changed files with 13 additions and 8 deletions

View File

@ -16,6 +16,11 @@ class Dashboard extends BaseDashboard
{
use HasFiltersForm, HasPageShield;
public function getColumns(): int|array
{
return 2;
}
public function filtersForm(Schema $schema): Schema
{
return $schema

View File

@ -17,7 +17,7 @@ class IssueLocationChart extends ChartWidget
protected static ?int $sort = 15;
protected int|string|array $columnSpan = 'full';
protected int|string|array $columnSpan = 1;
protected function getData(): array
{

View File

@ -17,7 +17,7 @@ class JournalistRegistrationChart extends ChartWidget
protected static ?int $sort = 8;
protected int|string|array $columnSpan = 'full';
protected int|string|array $columnSpan = 1;
protected function getData(): array
{

View File

@ -17,7 +17,7 @@ class MediaCooperationRankingChart extends ChartWidget
protected static ?int $sort = 11;
protected int|string|array $columnSpan = 'full';
protected int|string|array $columnSpan = 1;
protected function getData(): array
{

View File

@ -17,7 +17,7 @@ class MediaRegistrationChart extends ChartWidget
protected static ?int $sort = 4;
protected int|string|array $columnSpan = 'full';
protected int|string|array $columnSpan = 1;
protected function getData(): array
{

View File

@ -15,7 +15,7 @@ class PopularNewsChart extends ChartWidget
protected static ?int $sort = 13;
protected int|string|array $columnSpan = 'full';
protected int|string|array $columnSpan = 1;
protected function getData(): array
{

View File

@ -15,7 +15,7 @@ class TopMediaJournalistChart extends ChartWidget
protected static ?int $sort = 5;
protected int|string|array $columnSpan = 'full';
protected int|string|array $columnSpan = 1;
protected function getData(): array
{

View File

@ -18,7 +18,7 @@ class VerificationPerformanceChart extends ChartWidget
protected static ?int $sort = 14;
protected int|string|array $columnSpan = 'full';
protected int|string|array $columnSpan = 1;
protected function getData(): array
{

View File

@ -17,7 +17,7 @@ class VisitorTrafficChart extends ChartWidget
protected static ?int $sort = 12;
protected int|string|array $columnSpan = 'full';
protected int|string|array $columnSpan = 1;
protected function getData(): array
{