mirror of
https://github.com/tiennm99/coolify.git
synced 2026-08-21 08:25:45 +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:
@@ -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