mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-19 18:15:31 +00:00
feat(ui): add configurable page widths and searchable controls
Add full-width and centered layout preferences across the app shell and workspaces. Replace page-size selects with dropdowns and add searchable breadcrumb switching.
This commit is contained in:
1 parent
b3b4d8a5f1
commit
5b517f21be
75 files changed
+263
-148
No files matched your search
@@ -57,3 +57,16 @@ test('top breadcrumb lets users switch between resources in the current environm
|
||||
->toContain("'database' => route('project.database.configuration'")
|
||||
->toContain("'service' => route('project.service.configuration'");
|
||||
});
|
||||
|
||||
test('breadcrumb switchers let users search their items', function () {
|
||||
$switcher = file_get_contents(resource_path('views/components/breadcrumb-switcher.blade.php'));
|
||||
|
||||
expect($switcher)
|
||||
->toContain('x-model.debounce.150ms="search"')
|
||||
->toContain('type="search"')
|
||||
->toContain('placeholder="Search {{ strtolower($title) }}"')
|
||||
->toContain('class="searchable-listbox-search"')
|
||||
->toContain('class="searchable-listbox-search-input"')
|
||||
->toContain('<x-reicon name="search"')
|
||||
->toContain('.includes(search.toLowerCase())');
|
||||
});
|
||||
Reference in new issue
Block a user