mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
feat(ui): unify status summaries, tooltips, and resource headings
Add shared status-summary and icon-tooltip components and wire them into application, service, and database headings, breadcrumbs, and previews. Badge production and PR domain links, prefer helper popups below the trigger, keep full wire targets for button loading, and cover the UI with feature tests.
This commit is contained in:
1 parent
6b41899d5b
commit
262ad8981a
35 files changed
+749
-265
No files matched your search
@@ -30,13 +30,13 @@ it('uses an explicit wire target for submit buttons without wire click', functio
|
||||
->toContain('Validate and add');
|
||||
});
|
||||
|
||||
it('strips method arguments when deriving the loading target', function () {
|
||||
it('keeps method arguments when deriving the loading target', function () {
|
||||
$html = Blade::render(
|
||||
'<x-forms.button wire:click="setPrivateKey(42)">Use this key</x-forms.button>'
|
||||
);
|
||||
|
||||
expect($html)
|
||||
->toContain('wire:target="setPrivateKey"')
|
||||
->toContain('wire:target="setPrivateKey(42)"')
|
||||
->toContain('wire:loading.attr="disabled"')
|
||||
->toContain('wire:loading.class="is-loading"');
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user