mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 06:16:04 +00:00
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:
1 parent
2291c3fa1c
commit
5de6f97256
85 files changed
+2087
-981
No files matched your search
@@ -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"');
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user