Rename dashboard to home
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2023-04-29 21:30:41 +02:00
parent 45968d7349
commit cdf2b2e429
19 changed files with 19 additions and 19 deletions

View File

@ -1,8 +1,8 @@
<?php <?php
namespace App\Home\Actions; namespace App\Dashboard\Actions;
use App\Home\DashboardFactory; use App\Dashboard\DashboardFactory;
use Illuminate\Http\Request; use Illuminate\Http\Request;
use Inertia; use Inertia;
use Inertia\Response; use Inertia\Response;
@ -27,6 +27,6 @@ class IndexAction
session()->put('menu', 'dashboard'); session()->put('menu', 'dashboard');
session()->put('title', 'Dashboard'); session()->put('title', 'Dashboard');
return Inertia::render('home/VIndex', $this->handle()); return Inertia::render('dashboard/VIndex', $this->handle());
} }
} }

View File

@ -1,6 +1,6 @@
<?php <?php
namespace App\Home\Blocks; namespace App\Dashboard\Blocks;
abstract class Block abstract class Block
{ {

View File

@ -1,9 +1,9 @@
<?php <?php
namespace App\Home; namespace App\Dashboard;
use App\Dashboard\Blocks\Block;
use App\Efz\EfzPendingBlock; use App\Efz\EfzPendingBlock;
use App\Home\Blocks\Block;
use App\Member\PsPendingBlock; use App\Member\PsPendingBlock;
use App\Membership\AgeGroupCountBlock; use App\Membership\AgeGroupCountBlock;
use App\Membership\TestersBlock; use App\Membership\TestersBlock;

View File

@ -1,10 +1,10 @@
<?php <?php
namespace App\Home; namespace App\Dashboard;
use Illuminate\Support\ServiceProvider; use Illuminate\Support\ServiceProvider;
class HomeServiceProvider extends ServiceProvider class DashboardServiceProvider extends ServiceProvider
{ {
/** /**
* Register services. * Register services.

View File

@ -2,7 +2,7 @@
namespace App\Efz; namespace App\Efz;
use App\Home\Blocks\Block; use App\Dashboard\Blocks\Block;
use App\Member\Member; use App\Member\Member;
use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Builder;

View File

@ -2,7 +2,7 @@
namespace App\Member; namespace App\Member;
use App\Home\Blocks\Block; use App\Dashboard\Blocks\Block;
use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Builder;
class PsPendingBlock extends Block class PsPendingBlock extends Block

View File

@ -2,7 +2,7 @@
namespace App\Membership; namespace App\Membership;
use App\Home\Blocks\Block; use App\Dashboard\Blocks\Block;
use App\Member\Membership; use App\Member\Membership;
use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Builder;

View File

@ -2,7 +2,7 @@
namespace App\Membership; namespace App\Membership;
use App\Home\Blocks\Block; use App\Dashboard\Blocks\Block;
use App\Member\Member; use App\Member\Member;
use Illuminate\Database\Eloquent\Builder; use Illuminate\Database\Eloquent\Builder;

View File

@ -2,7 +2,7 @@
namespace App\Payment; namespace App\Payment;
use App\Home\Blocks\Block; use App\Dashboard\Blocks\Block;
use App\Member\Member; use App\Member\Member;
class MemberPaymentBlock extends Block class MemberPaymentBlock extends Block

View File

@ -188,7 +188,7 @@ return [
App\Tex\TexServiceProvider::class, App\Tex\TexServiceProvider::class,
App\Dav\ServiceProvider::class, App\Dav\ServiceProvider::class,
App\Setting\SettingServiceProvider::class, App\Setting\SettingServiceProvider::class,
App\Home\HomeServiceProvider::class, App\Dashboard\DashboardServiceProvider::class,
], ],
/* /*

View File

@ -13,8 +13,8 @@ use App\Contribution\Actions\FormAction as ContributionFormAction;
use App\Contribution\Actions\GenerateAction as ContributionGenerateAction; use App\Contribution\Actions\GenerateAction as ContributionGenerateAction;
use App\Contribution\Actions\ValidateAction as ContributionValidateAction; use App\Contribution\Actions\ValidateAction as ContributionValidateAction;
use App\Course\Controllers\CourseController; use App\Course\Controllers\CourseController;
use App\Dashboard\Actions\IndexAction as DashboardIndexAction;
use App\Efz\ShowEfzDocumentAction; use App\Efz\ShowEfzDocumentAction;
use App\Home\Actions\IndexAction as HomeIndexAction;
use App\Initialize\Actions\InitializeAction; use App\Initialize\Actions\InitializeAction;
use App\Initialize\Actions\InitializeFormAction; use App\Initialize\Actions\InitializeFormAction;
use App\Member\Actions\ExportAction; use App\Member\Actions\ExportAction;
@ -37,7 +37,7 @@ Route::group(['namespace' => 'App\\Http\\Controllers'], function (): void {
}); });
Route::group(['middleware' => 'auth:web'], function (): void { Route::group(['middleware' => 'auth:web'], function (): void {
Route::get('/', HomeIndexAction::class)->name('home'); Route::get('/', DashboardIndexAction::class)->name('home');
Route::post('/api/member/search', SearchAction::class)->name('member.search'); Route::post('/api/member/search', SearchAction::class)->name('member.search');
Route::get('/initialize', InitializeFormAction::class)->name('initialize.form'); Route::get('/initialize', InitializeFormAction::class)->name('initialize.form');
Route::post('/initialize', InitializeAction::class)->name('initialize.store'); Route::post('/initialize', InitializeAction::class)->name('initialize.store');

View File

@ -2,12 +2,12 @@
namespace Tests\Feature; namespace Tests\Feature;
use App\Home\Blocks\Block; use App\Dashboard\Blocks\Block;
use App\Home\DashboardFactory; use App\Dashboard\DashboardFactory;
use Illuminate\Foundation\Testing\DatabaseTransactions; use Illuminate\Foundation\Testing\DatabaseTransactions;
use Tests\TestCase; use Tests\TestCase;
class HomeTest extends TestCase class DashboardTest extends TestCase
{ {
use DatabaseTransactions; use DatabaseTransactions;