mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-15 04:18:34 +00:00
fix(ui): polish create flows and terminal navigation
Open the global terminal outside Livewire navigation, clarify that image tag and SHA256 digest are mutually exclusive, inset the GitLab empty state, and show loading on Dockerfile create. Add regression tests.
This commit is contained in:
1 parent
c07f66cb5e
commit
fff83884da
9 files changed
+62
-12
No files matched your search
@@ -15,6 +15,18 @@ it('renders the resource terminal shell while containers are discovered', functi
|
||||
->not->toContain('<x-loading text="Loading containers" />');
|
||||
});
|
||||
|
||||
it('provides opt-in diagnostics for connected terminal theme changes', function () {
|
||||
$terminalClient = file_get_contents(resource_path('js/terminal.js'));
|
||||
|
||||
expect($terminalClient)
|
||||
->toContain('terminal-debug')
|
||||
->toContain("'[Terminal Theme] Applying theme'")
|
||||
->toContain("'[Terminal Theme] Theme applied'")
|
||||
->toContain('requestedTheme: themeName')
|
||||
->toContain('shellTheme: shell?.dataset.consoleTheme')
|
||||
->toContain("getComputedStyle(shell, '::before').background");
|
||||
});
|
||||
|
||||
it('starts a single discovered resource container without waiting for a missed browser event', function () {
|
||||
$terminalComponent = file_get_contents(app_path('Livewire/Project/Shared/ExecuteContainerCommand.php'));
|
||||
$terminalView = file_get_contents(resource_path('views/livewire/project/shared/execute-container-command.blade.php'));
|
||||
|
||||
Reference in new issue
Block a user