diff --git a/resources/views/backlog/detail.blade.php b/resources/views/backlog/detail.blade.php
index 0349843..33128c6 100644
--- a/resources/views/backlog/detail.blade.php
+++ b/resources/views/backlog/detail.blade.php
@@ -1 +1,98 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'backlog_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-board')
+
+
+ @include('playground-matrix-resource::io/manage-epic')
+
+
+ @include('playground-matrix-resource::io/manage-flow')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-milestone')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-release')
+
+
+ @include('playground-matrix-resource::io/manage-roadmap')
+
+
+ @include('playground-matrix-resource::io/manage-source')
+
+
+ @include('playground-matrix-resource::io/manage-sprint')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+ @include('playground-matrix-resource::io/manage-version')
+
+
+@endsection
diff --git a/resources/views/backlog/index.blade.php b/resources/views/backlog/index.blade.php
index 0445b04..32227bf 100644
--- a/resources/views/backlog/index.blade.php
+++ b/resources/views/backlog/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -390,13 +385,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/board/detail.blade.php b/resources/views/board/detail.blade.php
index 0349843..e9603aa 100644
--- a/resources/views/board/detail.blade.php
+++ b/resources/views/board/detail.blade.php
@@ -1 +1,98 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'board_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-epic')
+
+
+ @include('playground-matrix-resource::io/manage-flow')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-milestone')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-release')
+
+
+ @include('playground-matrix-resource::io/manage-roadmap')
+
+
+ @include('playground-matrix-resource::io/manage-source')
+
+
+ @include('playground-matrix-resource::io/manage-sprint')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+ @include('playground-matrix-resource::io/manage-version')
+
+
+@endsection
diff --git a/resources/views/board/index.blade.php b/resources/views/board/index.blade.php
index 12e033a..d02b4cb 100644
--- a/resources/views/board/index.blade.php
+++ b/resources/views/board/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -390,13 +385,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/epic/detail.blade.php b/resources/views/epic/detail.blade.php
index 0349843..48483a4 100644
--- a/resources/views/epic/detail.blade.php
+++ b/resources/views/epic/detail.blade.php
@@ -1 +1,98 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'epic_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-board')
+
+
+ @include('playground-matrix-resource::io/manage-flow')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-milestone')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-release')
+
+
+ @include('playground-matrix-resource::io/manage-roadmap')
+
+
+ @include('playground-matrix-resource::io/manage-source')
+
+
+ @include('playground-matrix-resource::io/manage-sprint')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+ @include('playground-matrix-resource::io/manage-version')
+
+
+@endsection
diff --git a/resources/views/epic/index.blade.php b/resources/views/epic/index.blade.php
index 3922be2..685b6ed 100644
--- a/resources/views/epic/index.blade.php
+++ b/resources/views/epic/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -390,13 +385,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/flow/detail.blade.php b/resources/views/flow/detail.blade.php
index 0349843..4a482c9 100644
--- a/resources/views/flow/detail.blade.php
+++ b/resources/views/flow/detail.blade.php
@@ -1 +1,65 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'flow_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+@endsection
diff --git a/resources/views/flow/index.blade.php b/resources/views/flow/index.blade.php
index cc15979..637f4b9 100644
--- a/resources/views/flow/index.blade.php
+++ b/resources/views/flow/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -346,13 +341,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/io/manage-owner.blade.php b/resources/views/io/manage-owner.blade.php
new file mode 100644
index 0000000..1123031
--- /dev/null
+++ b/resources/views/io/manage-owner.blade.php
@@ -0,0 +1,43 @@
+
+
+
+
+ @if($data->owned_by_id)
+
+ @php $owner = $data->owner()->first() @endphp
+
+ @if($owner)
+
+ {{$owner->name}}
+
+ @endif
+
+ @elseif(!$data->locked && $routePatch)
+
+ @php $owners = [] @endphp
+
+
+
+ @endif
+
\ No newline at end of file
diff --git a/resources/views/io/manage-parent.blade.php b/resources/views/io/manage-parent.blade.php
new file mode 100644
index 0000000..ca88f06
--- /dev/null
+++ b/resources/views/io/manage-parent.blade.php
@@ -0,0 +1,43 @@
+
+
+
+
+ @if($data->parent_id)
+
+ @php $parent = $data->parent()->first() @endphp
+
+ @if($parent)
+
+ {{$parent->name}}
+
+ @endif
+
+ @elseif(!$data->locked && $routePatch)
+
+ @php $parents = [] @endphp
+
+
+
+ @endif
+
\ No newline at end of file
diff --git a/resources/views/matrix/detail.blade.php b/resources/views/matrix/detail.blade.php
index 0349843..361b022 100644
--- a/resources/views/matrix/detail.blade.php
+++ b/resources/views/matrix/detail.blade.php
@@ -1 +1,53 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'matrix_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+@endsection
diff --git a/resources/views/matrix/index.blade.php b/resources/views/matrix/index.blade.php
index 7df0b25..d43dc4d 100644
--- a/resources/views/matrix/index.blade.php
+++ b/resources/views/matrix/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -330,13 +325,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/milestone/detail.blade.php b/resources/views/milestone/detail.blade.php
index 0349843..82d29f6 100644
--- a/resources/views/milestone/detail.blade.php
+++ b/resources/views/milestone/detail.blade.php
@@ -1 +1,98 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'milestone_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-board')
+
+
+ @include('playground-matrix-resource::io/manage-epic')
+
+
+ @include('playground-matrix-resource::io/manage-flow')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-release')
+
+
+ @include('playground-matrix-resource::io/manage-roadmap')
+
+
+ @include('playground-matrix-resource::io/manage-source')
+
+
+ @include('playground-matrix-resource::io/manage-sprint')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+ @include('playground-matrix-resource::io/manage-version')
+
+
+@endsection
diff --git a/resources/views/milestone/index.blade.php b/resources/views/milestone/index.blade.php
index 6f6d5af..d68666c 100644
--- a/resources/views/milestone/index.blade.php
+++ b/resources/views/milestone/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -390,13 +385,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/note/detail.blade.php b/resources/views/note/detail.blade.php
index 0349843..20f7808 100644
--- a/resources/views/note/detail.blade.php
+++ b/resources/views/note/detail.blade.php
@@ -1 +1,59 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'note_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+@endsection
diff --git a/resources/views/note/index.blade.php b/resources/views/note/index.blade.php
index a75d154..0532ccf 100644
--- a/resources/views/note/index.blade.php
+++ b/resources/views/note/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -290,13 +285,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/project/detail.blade.php b/resources/views/project/detail.blade.php
index 257b855..909301a 100644
--- a/resources/views/project/detail.blade.php
+++ b/resources/views/project/detail.blade.php
@@ -8,27 +8,27 @@
$flags = [
'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
- 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning'],
- 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark'],
- 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check'],
- 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock'],
- 'duplicate' => ['column' => 'duplicate', 'label' => 'Duplicate', 'icon' => 'fa-solid fa-clone'],
- 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning'],
- 'fixed' => ['column' => 'fixed', 'label' => 'Fixed', 'icon' => 'fa-solid fa-wrench'],
- 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag'],
- 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server'],
- 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning'],
- 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning'],
- 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success'],
- 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success'],
- 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger'],
- 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book'],
- 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove'],
- 'resolved' => ['column' => 'resolved', 'label' => 'Resolved', 'icon' => 'fa-solid fa-check-double text-success'],
- 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success'],
- 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success'],
- 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger'],
- 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'duplicate' => ['column' => 'duplicate', 'label' => 'Duplicate', 'icon' => 'fa-solid fa-clone', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'fixed' => ['column' => 'fixed', 'label' => 'Fixed', 'icon' => 'fa-solid fa-wrench', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'resolved' => ['column' => 'resolved', 'label' => 'Resolved', 'icon' => 'fa-solid fa-check-double text-success', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
];
?>
@extends('playground::layouts.resource.detail', [
@@ -41,40 +41,49 @@
@include('playground::layouts.resource.detail-flags')
@endsection
+@section('detail-card-body-header')
+@endsection
+
@section('detail-accordion-body-header')
- @include('playground-matrix-resource::io/manage-sprint')
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-board')
@include('playground-matrix-resource::io/manage-epic')
- @include('playground-matrix-resource::io/manage-ticket')
+ @include('playground-matrix-resource::io/manage-flow')
- @include('playground-matrix-resource::io/manage-version')
+ @include('playground-matrix-resource::io/manage-matrix')
@include('playground-matrix-resource::io/manage-milestone')
- @include('playground-matrix-resource::io/manage-board')
+ @include('playground-matrix-resource::io/manage-note')
- @include('playground-matrix-resource::io/manage-backlog')
+ @include('playground-matrix-resource::io/manage-release')
@include('playground-matrix-resource::io/manage-roadmap')
- @include('playground-matrix-resource::io/manage-flow')
-
-
- @include('playground-matrix-resource::io/manage-matrix')
+ @include('playground-matrix-resource::io/manage-source')
- @include('playground-matrix-resource::io/manage-release')
+ @include('playground-matrix-resource::io/manage-sprint')
@include('playground-matrix-resource::io/manage-tag')
@@ -83,10 +92,10 @@
@include('playground-matrix-resource::io/manage-team')
- @include('playground-matrix-resource::io/manage-source')
+ @include('playground-matrix-resource::io/manage-ticket')
- @include('playground-matrix-resource::io/manage-note')
+ @include('playground-matrix-resource::io/manage-version')
@endsection
diff --git a/resources/views/project/index.blade.php b/resources/views/project/index.blade.php
index e386cd8..408f91e 100644
--- a/resources/views/project/index.blade.php
+++ b/resources/views/project/index.blade.php
@@ -1,7 +1,4 @@
[
@@ -10,192 +7,79 @@
],
'created_by_id' => [
'hide-sm' => true,
- 'label' => 'Creator',
- 'accessor' => 'creator',
- 'property' => 'name',
- 'with-image' => true,
- 'with-name' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Created by id',
],
'modified_by_id' => [
'hide-sm' => true,
- 'label' => 'Modifier',
- 'accessor' => 'modifier',
- 'property' => 'name',
- 'with-image' => true,
- 'with-name' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Modified by id',
],
'owned_by_id' => [
'hide-sm' => true,
- 'accessor' => 'owner',
- 'label' => 'Owner',
- 'property' => 'name',
- 'with-image' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Owned by id',
],
'parent_id' => [
'hide-sm' => true,
- 'label' => 'Parent',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.projects.show',
- 'accessor' => 'parent',
- 'property' => 'label_or_title',
- 'routeParameter' => 'project',
- 'routeParameterKey' => 'parent_id',
+ 'label' => 'Parent id',
],
'backlog_id' => [
'hide-sm' => true,
- 'label' => 'Backlog',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.backlogs.show',
- 'accessor' => 'backlog',
- 'property' => 'label_or_title',
- 'routeParameter' => 'backlog',
- 'routeParameterKey' => 'backlog_id',
+ 'label' => 'Backlog id',
],
'board_id' => [
'hide-sm' => true,
- 'label' => 'Board',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.boards.show',
- 'accessor' => 'board',
- 'property' => 'label_or_title',
- 'routeParameter' => 'board',
- 'routeParameterKey' => 'board_id',
+ 'label' => 'Board id',
],
'epic_id' => [
'hide-sm' => true,
- 'label' => 'Epic',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.epics.show',
- 'accessor' => 'epic',
- 'property' => 'label_or_title',
- 'routeParameter' => 'epic',
- 'routeParameterKey' => 'epic_id',
+ 'label' => 'Epic id',
],
'flow_id' => [
'hide-sm' => true,
- 'label' => 'Flow',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.flows.show',
- 'accessor' => 'flow',
- 'property' => 'label_or_title',
- 'routeParameter' => 'flow',
- 'routeParameterKey' => 'flow_id',
+ 'label' => 'Flow id',
],
'matrix_id' => [
'hide-sm' => true,
- 'label' => 'Matrix',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.matrices.show',
- 'accessor' => 'matrix',
- 'property' => 'label_or_title',
- 'routeParameter' => 'matrix',
- 'routeParameterKey' => 'matrix_id',
+ 'label' => 'Matrix id',
],
'milestone_id' => [
'hide-sm' => true,
- 'label' => 'Milestone',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.milestones.show',
- 'accessor' => 'milestone',
- 'property' => 'label_or_title',
- 'routeParameter' => 'milestone',
- 'routeParameterKey' => 'milestone_id',
+ 'label' => 'Milestone id',
],
'note_id' => [
'hide-sm' => true,
- 'label' => 'Note',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.notes.show',
- 'accessor' => 'note',
- 'property' => 'label_or_title',
- 'routeParameter' => 'note',
- 'routeParameterKey' => 'note_id',
+ 'label' => 'Note id',
],
'release_id' => [
'hide-sm' => true,
- 'label' => 'Release',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.releases.show',
- 'accessor' => 'release',
- 'property' => 'label_or_title',
- 'routeParameter' => 'release',
- 'routeParameterKey' => 'release_id',
+ 'label' => 'Release id',
],
'roadmap_id' => [
'hide-sm' => true,
- 'label' => 'Roadmap',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.roadmaps.show',
- 'accessor' => 'roadmap',
- 'property' => 'label_or_title',
- 'routeParameter' => 'roadmap',
- 'routeParameterKey' => 'roadmap_id',
+ 'label' => 'Roadmap id',
],
'source_id' => [
'hide-sm' => true,
- 'label' => 'Source',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.sources.show',
- 'accessor' => 'source',
- 'property' => 'label_or_title',
- 'routeParameter' => 'source',
- 'routeParameterKey' => 'source_id',
+ 'label' => 'Source id',
],
'sprint_id' => [
'hide-sm' => true,
- 'label' => 'Sprint',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.sprints.show',
- 'accessor' => 'sprint',
- 'property' => 'label_or_title',
- 'routeParameter' => 'sprint',
- 'routeParameterKey' => 'sprint_id',
+ 'label' => 'Sprint id',
],
'tag_id' => [
'hide-sm' => true,
- 'label' => 'Tag',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.tags.show',
- 'accessor' => 'tag',
- 'property' => 'label_or_title',
- 'routeParameter' => 'tag',
- 'routeParameterKey' => 'tag_id',
+ 'label' => 'Tag id',
],
'team_id' => [
'hide-sm' => true,
- 'label' => 'Team',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.teams.show',
- 'accessor' => 'team',
- 'property' => 'label_or_title',
- 'routeParameter' => 'team',
- 'routeParameterKey' => 'team_id',
+ 'label' => 'Team id',
],
'ticket_id' => [
'hide-sm' => true,
- 'label' => 'Ticket',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.tickets.show',
- 'accessor' => 'ticket',
- 'property' => 'label_or_title',
- 'routeParameter' => 'ticket',
- 'routeParameterKey' => 'ticket_id',
+ 'label' => 'Ticket id',
],
'version_id' => [
'hide-sm' => true,
- 'label' => 'Version',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.versions.show',
- 'accessor' => 'version',
- 'property' => 'label_or_title',
- 'routeParameter' => 'version',
- 'routeParameterKey' => 'version_id',
+ 'label' => 'Version id',
],
'locale' => [
'hide-sm' => true,
diff --git a/resources/views/release/detail.blade.php b/resources/views/release/detail.blade.php
index 0349843..feb60a7 100644
--- a/resources/views/release/detail.blade.php
+++ b/resources/views/release/detail.blade.php
@@ -1 +1,98 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'release_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-board')
+
+
+ @include('playground-matrix-resource::io/manage-epic')
+
+
+ @include('playground-matrix-resource::io/manage-flow')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-milestone')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-roadmap')
+
+
+ @include('playground-matrix-resource::io/manage-source')
+
+
+ @include('playground-matrix-resource::io/manage-sprint')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+ @include('playground-matrix-resource::io/manage-version')
+
+
+@endsection
diff --git a/resources/views/release/index.blade.php b/resources/views/release/index.blade.php
index 4a698e0..8962b85 100644
--- a/resources/views/release/index.blade.php
+++ b/resources/views/release/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -390,13 +385,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/roadmap/detail.blade.php b/resources/views/roadmap/detail.blade.php
index 0349843..44ef0d3 100644
--- a/resources/views/roadmap/detail.blade.php
+++ b/resources/views/roadmap/detail.blade.php
@@ -1 +1,98 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'roadmap_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-board')
+
+
+ @include('playground-matrix-resource::io/manage-epic')
+
+
+ @include('playground-matrix-resource::io/manage-flow')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-milestone')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-release')
+
+
+ @include('playground-matrix-resource::io/manage-source')
+
+
+ @include('playground-matrix-resource::io/manage-sprint')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+ @include('playground-matrix-resource::io/manage-version')
+
+
+@endsection
diff --git a/resources/views/roadmap/index.blade.php b/resources/views/roadmap/index.blade.php
index e74d80d..89933de 100644
--- a/resources/views/roadmap/index.blade.php
+++ b/resources/views/roadmap/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -390,13 +385,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/source/detail.blade.php b/resources/views/source/detail.blade.php
index 0349843..6b84422 100644
--- a/resources/views/source/detail.blade.php
+++ b/resources/views/source/detail.blade.php
@@ -1 +1,65 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'source_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+@endsection
diff --git a/resources/views/source/index.blade.php b/resources/views/source/index.blade.php
index 7e56923..5bc71ae 100644
--- a/resources/views/source/index.blade.php
+++ b/resources/views/source/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -346,13 +341,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/sprint/detail.blade.php b/resources/views/sprint/detail.blade.php
index 0349843..714a6d7 100644
--- a/resources/views/sprint/detail.blade.php
+++ b/resources/views/sprint/detail.blade.php
@@ -1 +1,98 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'sprint_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-board')
+
+
+ @include('playground-matrix-resource::io/manage-epic')
+
+
+ @include('playground-matrix-resource::io/manage-flow')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-milestone')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-release')
+
+
+ @include('playground-matrix-resource::io/manage-roadmap')
+
+
+ @include('playground-matrix-resource::io/manage-source')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+ @include('playground-matrix-resource::io/manage-version')
+
+
+@endsection
diff --git a/resources/views/sprint/index.blade.php b/resources/views/sprint/index.blade.php
index e2766ec..2ba8aa1 100644
--- a/resources/views/sprint/index.blade.php
+++ b/resources/views/sprint/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -390,13 +385,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/tag/detail.blade.php b/resources/views/tag/detail.blade.php
index 0349843..bbfc124 100644
--- a/resources/views/tag/detail.blade.php
+++ b/resources/views/tag/detail.blade.php
@@ -1 +1,46 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'tag_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+@endsection
diff --git a/resources/views/tag/index.blade.php b/resources/views/tag/index.blade.php
index d5567b7..db420e3 100644
--- a/resources/views/tag/index.blade.php
+++ b/resources/views/tag/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -226,13 +221,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/team/detail.blade.php b/resources/views/team/detail.blade.php
index 0349843..887e1ba 100644
--- a/resources/views/team/detail.blade.php
+++ b/resources/views/team/detail.blade.php
@@ -1 +1,98 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'team_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-board')
+
+
+ @include('playground-matrix-resource::io/manage-epic')
+
+
+ @include('playground-matrix-resource::io/manage-flow')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-milestone')
+
+
+ @include('playground-matrix-resource::io/manage-note')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-release')
+
+
+ @include('playground-matrix-resource::io/manage-roadmap')
+
+
+ @include('playground-matrix-resource::io/manage-source')
+
+
+ @include('playground-matrix-resource::io/manage-sprint')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+ @include('playground-matrix-resource::io/manage-version')
+
+
+@endsection
diff --git a/resources/views/team/index.blade.php b/resources/views/team/index.blade.php
index efbe910..6c4937f 100644
--- a/resources/views/team/index.blade.php
+++ b/resources/views/team/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -390,13 +385,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/resources/views/ticket/detail.blade.php b/resources/views/ticket/detail.blade.php
index 57532e6..abb4625 100644
--- a/resources/views/ticket/detail.blade.php
+++ b/resources/views/ticket/detail.blade.php
@@ -9,27 +9,27 @@
$flags = [
'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
- 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning'],
- 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark'],
- 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check'],
- 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock'],
- 'duplicate' => ['column' => 'duplicate', 'label' => 'Duplicate', 'icon' => 'fa-solid fa-clone'],
- 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning'],
- 'fixed' => ['column' => 'fixed', 'label' => 'Fixed', 'icon' => 'fa-solid fa-wrench'],
- 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag'],
- 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server'],
- 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning'],
- 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning'],
- 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success'],
- 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success'],
- 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger'],
- 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book'],
- 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove'],
- 'resolved' => ['column' => 'resolved', 'label' => 'Resolved', 'icon' => 'fa-solid fa-check-double text-success'],
- 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success'],
- 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success'],
- 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger'],
- 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'duplicate' => ['column' => 'duplicate', 'label' => 'Duplicate', 'icon' => 'fa-solid fa-clone', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'fixed' => ['column' => 'fixed', 'label' => 'Fixed', 'icon' => 'fa-solid fa-wrench', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'resolved' => ['column' => 'resolved', 'label' => 'Resolved', 'icon' => 'fa-solid fa-check-double text-success', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
];
?>
@extends('playground::layouts.resource.detail', [
@@ -38,45 +38,56 @@
'withCard' => false,
])
-
@section('detail-information-flags')
@include('playground::layouts.resource.detail-flags')
@endsection
+@section('detail-card-body-header')
+@endsection
+
@section('detail-accordion-body-header')
- @include('playground-matrix-resource::io/manage-sprint')
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-backlog')
+
+
+ @include('playground-matrix-resource::io/manage-board')
@include('playground-matrix-resource::io/manage-epic')
- @include('playground-matrix-resource::io/manage-project')
+ @include('playground-matrix-resource::io/manage-flow')
- @include('playground-matrix-resource::io/manage-version')
+ @include('playground-matrix-resource::io/manage-matrix')
@include('playground-matrix-resource::io/manage-milestone')
- @include('playground-matrix-resource::io/manage-board')
+ @include('playground-matrix-resource::io/manage-note')
- @include('playground-matrix-resource::io/manage-backlog')
+ @include('playground-matrix-resource::io/manage-project')
- @include('playground-matrix-resource::io/manage-roadmap')
+ @include('playground-matrix-resource::io/manage-release')
- @include('playground-matrix-resource::io/manage-flow')
+ @include('playground-matrix-resource::io/manage-roadmap')
- @include('playground-matrix-resource::io/manage-matrix')
+ @include('playground-matrix-resource::io/manage-source')
- @include('playground-matrix-resource::io/manage-release')
+ @include('playground-matrix-resource::io/manage-sprint')
@include('playground-matrix-resource::io/manage-tag')
@@ -85,10 +96,22 @@
@include('playground-matrix-resource::io/manage-team')
- @include('playground-matrix-resource::io/manage-source')
+ @include('playground-matrix-resource::io/manage-version')
- @include('playground-matrix-resource::io/manage-note')
+ @include('playground-matrix-resource::io/manage-completed-by')
+
+
+ @include('playground-matrix-resource::io/manage-duplicate')
+
+
+ @include('playground-matrix-resource::io/manage-fixed-by')
+
+
+ @include('playground-matrix-resource::io/manage-reported-by')
+
+
+ @include('playground-matrix-resource::io/manage-version-fixed')
@endsection
diff --git a/resources/views/ticket/index.blade.php b/resources/views/ticket/index.blade.php
index 131c7be..20c5b17 100644
--- a/resources/views/ticket/index.blade.php
+++ b/resources/views/ticket/index.blade.php
@@ -1,7 +1,4 @@
[
@@ -10,244 +7,99 @@
],
'created_by_id' => [
'hide-sm' => true,
- 'label' => 'Creator',
- 'accessor' => 'creator',
- 'property' => 'name',
- 'with-image' => true,
- 'with-name' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Created by id',
],
'modified_by_id' => [
'hide-sm' => true,
- 'label' => 'Modifier',
- 'accessor' => 'modifier',
- 'property' => 'name',
- 'with-image' => true,
- 'with-name' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Modified by id',
],
'owned_by_id' => [
'hide-sm' => true,
- 'accessor' => 'owner',
- 'label' => 'Owner',
- 'property' => 'name',
- 'with-image' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Owned by id',
],
'parent_id' => [
'hide-sm' => true,
- 'label' => 'Parent',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.tickets.show',
- 'accessor' => 'parent',
- 'property' => 'label_or_title',
- 'routeParameter' => 'ticket',
- 'routeParameterKey' => 'parent_id',
+ 'label' => 'Parent id',
],
'backlog_id' => [
'hide-sm' => true,
- 'label' => 'Backlog',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.backlogs.show',
- 'accessor' => 'backlog',
- 'property' => 'label_or_title',
- 'routeParameter' => 'backlog',
- 'routeParameterKey' => 'backlog_id',
+ 'label' => 'Backlog id',
],
'board_id' => [
'hide-sm' => true,
- 'label' => 'Board',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.boards.show',
- 'accessor' => 'board',
- 'property' => 'label_or_title',
- 'routeParameter' => 'board',
- 'routeParameterKey' => 'board_id',
+ 'label' => 'Board id',
],
'epic_id' => [
'hide-sm' => true,
- 'label' => 'Epic',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.epics.show',
- 'accessor' => 'epic',
- 'property' => 'label_or_title',
- 'routeParameter' => 'epic',
- 'routeParameterKey' => 'epic_id',
+ 'label' => 'Epic id',
],
'flow_id' => [
'hide-sm' => true,
- 'label' => 'Flow',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.flows.show',
- 'accessor' => 'flow',
- 'property' => 'label_or_title',
- 'routeParameter' => 'flow',
- 'routeParameterKey' => 'flow_id',
+ 'label' => 'Flow id',
],
'matrix_id' => [
'hide-sm' => true,
- 'label' => 'Matrix',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.matrices.show',
- 'accessor' => 'matrix',
- 'property' => 'label_or_title',
- 'routeParameter' => 'matrix',
- 'routeParameterKey' => 'matrix_id',
+ 'label' => 'Matrix id',
],
'milestone_id' => [
'hide-sm' => true,
- 'label' => 'Milestone',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.milestones.show',
- 'accessor' => 'milestone',
- 'property' => 'label_or_title',
- 'routeParameter' => 'milestone',
- 'routeParameterKey' => 'milestone_id',
+ 'label' => 'Milestone id',
],
'note_id' => [
'hide-sm' => true,
- 'label' => 'Note',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.notes.show',
- 'accessor' => 'note',
- 'property' => 'label_or_title',
- 'routeParameter' => 'note',
- 'routeParameterKey' => 'note_id',
+ 'label' => 'Note id',
],
'project_id' => [
'hide-sm' => true,
- 'label' => 'Project',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.projects.show',
- 'accessor' => 'project',
- 'property' => 'label_or_title',
- 'routeParameter' => 'project',
- 'routeParameterKey' => 'project_id',
+ 'label' => 'Project id',
],
'release_id' => [
'hide-sm' => true,
- 'label' => 'Release',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.releases.show',
- 'accessor' => 'release',
- 'property' => 'label_or_title',
- 'routeParameter' => 'release',
- 'routeParameterKey' => 'release_id',
+ 'label' => 'Release id',
],
'roadmap_id' => [
'hide-sm' => true,
- 'label' => 'Roadmap',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.roadmaps.show',
- 'accessor' => 'roadmap',
- 'property' => 'label_or_title',
- 'routeParameter' => 'roadmap',
- 'routeParameterKey' => 'roadmap_id',
+ 'label' => 'Roadmap id',
],
'source_id' => [
'hide-sm' => true,
- 'label' => 'Source',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.sources.show',
- 'accessor' => 'source',
- 'property' => 'label_or_title',
- 'routeParameter' => 'source',
- 'routeParameterKey' => 'source_id',
+ 'label' => 'Source id',
],
'sprint_id' => [
'hide-sm' => true,
- 'label' => 'Sprint',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.sprints.show',
- 'accessor' => 'sprint',
- 'property' => 'label_or_title',
- 'routeParameter' => 'sprint',
- 'routeParameterKey' => 'sprint_id',
+ 'label' => 'Sprint id',
],
'tag_id' => [
'hide-sm' => true,
- 'label' => 'Tag',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.tags.show',
- 'accessor' => 'tag',
- 'property' => 'label_or_title',
- 'routeParameter' => 'tag',
- 'routeParameterKey' => 'tag_id',
+ 'label' => 'Tag id',
],
'team_id' => [
'hide-sm' => true,
- 'label' => 'Team',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.teams.show',
- 'accessor' => 'team',
- 'property' => 'label_or_title',
- 'routeParameter' => 'team',
- 'routeParameterKey' => 'team_id',
+ 'label' => 'Team id',
],
'version_id' => [
'hide-sm' => true,
- 'label' => 'Version',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.versions.show',
- 'accessor' => 'version',
- 'property' => 'label_or_title',
- 'routeParameter' => 'version',
- 'routeParameterKey' => 'version_id',
+ 'label' => 'Version id',
],
'completed_by_id' => [
'hide-sm' => true,
- 'label' => 'Completed by',
- 'hide-sm' => true,
- 'label' => 'Creator',
- 'accessor' => 'creator',
- 'property' => 'name',
- 'with-image' => true,
- 'with-name' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Completed by id',
],
'duplicate_id' => [
'hide-sm' => true,
- 'label' => 'Duplicate',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.tickets.show',
- 'accessor' => 'ticket',
- 'property' => 'label_or_title',
- 'routeParameter' => 'ticket',
- 'routeParameterKey' => 'duplicate_id',
+ 'label' => 'Duplicate id',
],
'fixed_by_id' => [
'hide-sm' => true,
- 'label' => 'Fixed by',
- 'accessor' => 'fixedBy',
- 'property' => 'name',
- 'with-image' => true,
- 'with-name' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Fixed by id',
],
'reported_by_id' => [
'hide-sm' => true,
- 'label' => 'Reported by',
- 'accessor' => 'reportedBy',
- 'property' => 'name',
- 'with-image' => true,
- 'with-name' => true,
- 'with-initials' => true,
- 'linkType' => 'filter-id',
+ 'label' => 'Reported by id',
],
'version_fixed_id' => [
'hide-sm' => true,
- 'label' => 'Version Fixed',
- 'linkType' => 'fk',
- 'linkRoute' => 'playground.matrix.resource.versions.show',
- 'accessor' => 'versionFixed',
- 'property' => 'label_or_title',
- 'routeParameter' => 'version',
- 'routeParameterKey' => 'version_fixed_id',
+ 'label' => 'Version fixed id',
],
'locale' => [
'hide-sm' => true,
@@ -657,9 +509,25 @@
],
];
-$columnsMobile = ['title', 'ticket_type', 'slug', 'description', 'published'];
+$columnsMobile = [
+ 'title',
+ 'ticket_type',
+ 'slug',
+ 'description',
+ 'published',
+];
-$columnsStandard = ['title', 'ticket_type', 'slug', 'label', 'description', 'published', 'revision', 'created_at', 'updated_at'];
+$columnsStandard = [
+ 'title',
+ 'ticket_type',
+ 'slug',
+ 'label',
+ 'description',
+ 'published',
+ 'revision',
+ 'created_at',
+ 'updated_at',
+];
$viewableColumns = 'standard';
if (!empty($meta['validated'])
diff --git a/resources/views/version/detail.blade.php b/resources/views/version/detail.blade.php
index 0349843..c62f8bf 100644
--- a/resources/views/version/detail.blade.php
+++ b/resources/views/version/detail.blade.php
@@ -1 +1,70 @@
-@extends('playground::layouts.resource.detail')
+ $data->getAttributeValue('id')]);
+$routeShow = !$data ? '' : route(sprintf('%1$s.show', $meta['info']['model_route']), [$meta['info']['model_slug'] => $data->getAttributeValue('id')]);
+$modelLabel = $meta['info']['model_label'];
+$modelColumn = 'version_id';
+$modulelLabel = $meta['info']['module_label'];
+
+$flags = [
+ 'active' => ['column' => 'active', 'label' => 'Active', 'icon' => 'fa-solid fa-person-running', 'badge' => 'text-bg-success'],
+ 'canceled' => ['column' => 'canceled', 'label' => 'Canceled', 'icon' => 'fa-solid fa-ban text-warning', 'badge' => ''],
+ 'closed' => ['column' => 'closed', 'label' => 'Closed', 'icon' => 'fa-solid fa-xmark', 'badge' => ''],
+ 'completed' => ['column' => 'completed', 'label' => 'Completed', 'icon' => 'fa-solid fa-check', 'badge' => ''],
+ 'cron' => ['column' => 'cron', 'label' => 'Cron', 'icon' => 'fa-regular fa-clock', 'badge' => ''],
+ 'featured' => ['column' => 'featured', 'label' => 'Featured', 'icon' => 'fa-solid fa-star text-warning', 'badge' => ''],
+ 'fixed' => ['column' => 'fixed', 'label' => 'Fixed', 'icon' => 'fa-solid fa-wrench', 'badge' => ''],
+ 'flagged' => ['column' => 'flagged', 'label' => 'Flagged', 'icon' => 'fa-solid fa-flag', 'badge' => ''],
+ 'internal' => ['column' => 'internal', 'label' => 'Internal', 'icon' => 'fa-solid fa-server', 'badge' => ''],
+ 'locked' => ['column' => 'locked', 'label' => 'Locked', 'icon' => 'fa-solid fa-lock text-warning', 'badge' => 'text-bg-warning'],
+ 'pending' => ['column' => 'pending', 'label' => 'Pending', 'icon' => 'fa-solid fa-circle-pause text-warning', 'badge' => 'text-bg-info'],
+ 'planned' => ['column' => 'planned', 'label' => 'Planned', 'icon' => 'fa-solid fa-circle-pause text-success', 'badge' => ''],
+ 'prioritized' => ['column' => 'prioritized', 'label' => 'Prioritized', 'icon' => 'fa-solid fa-triangle-exclamation text-success', 'badge' => ''],
+ 'problem' => ['column' => 'problem', 'label' => 'Problem', 'icon' => 'fa-solid fa-triangle-exclamation text-danger', 'badge' => 'text-bg-success'],
+ 'published' => ['column' => 'published', 'label' => 'Published', 'icon' => 'fa-solid fa-book', 'badge' => ''],
+ 'released' => ['column' => 'released', 'label' => 'Released', 'icon' => 'fa-solid fa-dove', 'badge' => ''],
+ 'resolved' => ['column' => 'resolved', 'label' => 'Resolved', 'icon' => 'fa-solid fa-check-double text-success', 'badge' => ''],
+ 'retired' => ['column' => 'retired', 'label' => 'Retired', 'icon' => 'fa-solid fa-chair text-success', 'badge' => ''],
+ 'special' => ['column' => 'special', 'label' => 'Special', 'icon' => 'fa-solid fa-star text-success', 'badge' => ''],
+ 'suspended' => ['column' => 'suspended', 'label' => 'Suspended', 'icon' => 'fa-solid fa-hand text-danger', 'badge' => ''],
+ 'unknown' => ['column' => 'unknown', 'label' => 'Unknown', 'icon' => 'fa-solid fa-question text-warning', 'badge' => 'text-bg-success'],
+];
+?>
+@extends('playground::layouts.resource.detail', [
+ 'withInfo' => false,
+ 'withAccordion' => true,
+ 'withCard' => false,
+])
+
+@section('detail-information-flags')
+@include('playground::layouts.resource.detail-flags')
+@endsection
+
+@section('detail-card-body-header')
+@endsection
+
+@section('detail-accordion-body-header')
+
+
+ @include('playground-matrix-resource::io/manage-owner')
+
+
+ @include('playground-matrix-resource::io/manage-parent')
+
+
+ @include('playground-matrix-resource::io/manage-matrix')
+
+
+ @include('playground-matrix-resource::io/manage-project')
+
+
+ @include('playground-matrix-resource::io/manage-tag')
+
+
+ @include('playground-matrix-resource::io/manage-team')
+
+
+ @include('playground-matrix-resource::io/manage-ticket')
+
+
+@endsection
diff --git a/resources/views/version/index.blade.php b/resources/views/version/index.blade.php
index 4bc6b37..7313abd 100644
--- a/resources/views/version/index.blade.php
+++ b/resources/views/version/index.blade.php
@@ -1,9 +1,4 @@
[
@@ -362,13 +357,14 @@
'updated_at',
];
-$viewableColumns = ! empty($validated['columns'])
- && is_string($validated['columns'])
- && in_array($validated['columns'], [
- 'all',
- 'standard',
- 'mobile',
- ]) ? $validated['columns'] : 'standard';
+$viewableColumns = 'standard';
+if (!empty($meta['validated'])
+ && !empty($meta['validated']['columns'])
+ && is_string($meta['validated']['columns'])
+ && in_array($meta['validated']['columns'], ['all', 'standard', 'mobile'])
+) {
+ $viewableColumns = $meta['validated']['columns'];
+}
if ($viewableColumns === 'all') {
$columns = $columnsViewable;
diff --git a/src/Http/Controllers/IndexController.php b/src/Http/Controllers/IndexController.php
index 9741ca6..38dc77d 100644
--- a/src/Http/Controllers/IndexController.php
+++ b/src/Http/Controllers/IndexController.php
@@ -23,10 +23,6 @@ class IndexController extends Controller
public function index(Request $request): View
{
$data = [];
- // dd([
- // '__METHOD__' => __METHOD__,
- // 'config' => config('playground-matrix-resource'),
- // ]);
if (! empty(config('playground-matrix-resource.load.matrix'))) {
$data['dashboard'] = $this->loadMatrix(
diff --git a/src/Http/Controllers/TicketController.php b/src/Http/Controllers/TicketController.php
index 0f406b6..e0f2fd5 100644
--- a/src/Http/Controllers/TicketController.php
+++ b/src/Http/Controllers/TicketController.php
@@ -292,13 +292,6 @@ public function index(
'info' => $this->packageInfo,
];
- // dump([
- // '__METHOD__' => __METHOD__,
- // '$validated' => $validated,
- // '$meta[rules]' => $meta['rules'],
- // '$request->input()' => $request->input(),
- // ]);
-
$data = [
'paginator' => $paginator,
'meta' => $meta,