Add live topbar search for hosting accounts and sites.
Deploy Ladill Hosting / deploy (push) Successful in 20s

Wire a JSON /search endpoint and Alpine dropdown so customers can find accounts, linked domains, and orders from the hosting app header.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-06 18:06:58 +00:00
co-authored by Cursor
parent 5703a00862
commit a0bcf93e53
4 changed files with 180 additions and 6 deletions
+2
View File
@@ -9,6 +9,7 @@ use App\Http\Controllers\Hosting\HostingPanelController;
use App\Http\Controllers\Hosting\HostingProductController;
use App\Http\Controllers\Hosting\HostingTerminalSessionController;
use App\Http\Controllers\Hosting\OverviewController;
use App\Http\Controllers\Hosting\SearchController;
use App\Http\Controllers\Hosting\TeamController;
use Illuminate\Support\Facades\Route;
@@ -28,6 +29,7 @@ Route::get('/sso/logout-frontchannel', [SsoLoginController::class, 'frontchannel
Route::get('/signed-out', fn () => auth()->check() ? redirect()->route('hosting.dashboard') : view('hosting.signed-out'))->name('hosting.signed-out');
Route::middleware(['auth'])->group(function () use ($serversApp) {
Route::get('/search', SearchController::class)->name('hosting.search');
Route::get('/dashboard', [OverviewController::class, 'index'])->name('hosting.dashboard');
Route::redirect('/hosting', '/dashboard')->name('hosting.index');