feat(ui): unify resource nav sidebars and polish project layouts

Extract application/database/service configuration sidebars and
unified headings; improve clone-to-environment, embedded deployments,
storage actions, OAuth icons, terminal, and shared form components.
This commit is contained in:
Andras Bacsai committed 2026-08-05 17:56:59 +02:00
1 parent 2291c3fa1c
commit 5de6f97256
85 files changed
+2087 -981

No files matched your search

+15 -1
View File
@@ -62,7 +62,21 @@ test('listbox forwards dynamic disabled state to its trigger', function () {
expect($listbox)->toContain("\$attributes->whereStartsWith('x-bind:disabled')");
expect($operations)
->toContain('x-bind:disabled="!selectedCloneServer"')
->toContain('selectedCloneServer: null')
->toContain('selectedCloneProject: null')
->toContain('selectedCloneEnvironment: null')
->toContain('currentServerId: @js($resource->destination->server->id)')
->toContain('currentDestinationUuid: @js($resource->destination->uuid)')
->toContain("server.id == this.currentServerId ? ' (current)' : ''")
->toContain("destination.uuid == this.currentDestinationUuid ? ' (current)' : ''")
->toContain('selectedCloneServer = null;')
->toContain('placeholder="Choose a server…"')
->toContain("this.selectedCloneServer === null || this.selectedCloneServer === ''")
->toContain("x-bind:disabled=\"selectedCloneServer === null || selectedCloneServer === ''\"")
->toContain('x-model="selectedCloneProject"')
->toContain('x-model="selectedCloneEnvironment"')
->toContain('$wire.cloneTo(selectedCloneDestination)')
->toContain('$wire.cloneTo(@js($resource->destination->uuid), selectedCloneEnvironment)')
->toContain('x-bind:disabled="!selectedMoveProject || availableEnvironments.length === 0"');
});