mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-10 02:06:42 +02:00
feat(plugins): add aside with plugin metadata next to plugin's readme
- enhance plugin card ui - refactor components to be more consistent - invert toggler label for better UX - edit view components regex
This commit is contained in:
parent
e6bfdfc390
commit
dfb7888aeb
193 changed files with 1630 additions and 1346 deletions
|
|
@ -41,6 +41,9 @@ class PluginController extends BaseController
|
|||
$plugins = service('plugins');
|
||||
|
||||
$vendorPlugins = $plugins->getVendorPlugins($vendor);
|
||||
replace_breadcrumb_params([
|
||||
$vendor => $vendor,
|
||||
]);
|
||||
return view('plugins/installed', [
|
||||
'total' => count($vendorPlugins),
|
||||
'plugins' => $vendorPlugins,
|
||||
|
|
@ -59,6 +62,10 @@ class PluginController extends BaseController
|
|||
throw PageNotFoundException::forPageNotFound();
|
||||
}
|
||||
|
||||
replace_breadcrumb_params([
|
||||
$vendor => $vendor,
|
||||
$package => $package,
|
||||
]);
|
||||
return view('plugins/view', [
|
||||
'plugin' => $plugin,
|
||||
]);
|
||||
|
|
@ -76,6 +83,10 @@ class PluginController extends BaseController
|
|||
}
|
||||
|
||||
helper('form');
|
||||
replace_breadcrumb_params([
|
||||
$vendor => $vendor,
|
||||
$package => $package,
|
||||
]);
|
||||
return view('plugins/settings_general', [
|
||||
'plugin' => $plugin,
|
||||
]);
|
||||
|
|
@ -122,7 +133,9 @@ class PluginController extends BaseController
|
|||
|
||||
helper('form');
|
||||
replace_breadcrumb_params([
|
||||
0 => $podcast->handle,
|
||||
0 => $podcast->handle,
|
||||
$vendor => $vendor,
|
||||
$package => $package,
|
||||
]);
|
||||
return view('plugins/settings_podcast', [
|
||||
'podcast' => $podcast,
|
||||
|
|
@ -171,8 +184,10 @@ class PluginController extends BaseController
|
|||
|
||||
helper('form');
|
||||
replace_breadcrumb_params([
|
||||
0 => $episode->podcast->handle,
|
||||
1 => $episode->title,
|
||||
0 => $episode->podcast->handle,
|
||||
1 => $episode->title,
|
||||
$vendor => $vendor,
|
||||
$package => $package,
|
||||
]);
|
||||
return view('plugins/settings_episode', [
|
||||
'podcast' => $episode->podcast,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue