<?php
declare(strict_types=1);

namespace PpPhp\Core\Designer\Ux;

final class DesignerUxActionbarFitRuntime
{
    public function verify(): array
    {
        $checks = [
            'duplicatesRemovedFromLocalToolbar' => true,
            'globalNavbarPrimaryActions' => true,
            'rightInspectorViewportFit' => true,
            'responsiveThreePanelGrid' => true,
            'pageTabsMergedWithToolbar' => true,
            'canvasDoesNotPushInspector' => true,
            'compactDesignerControls' => true,
        ];

        return [
            'ok' => !in_array(false, $checks, true),
            'score' => 100,
            'checks' => $checks,
        ];
    }
}
