mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-06 13:10:37 -04:00
feat(tags): connect resources to a tag from the tag page
Add a "Connect to resources" modal to the tag show page for small screens, where the tags canvas is hidden. A new toggleResource action attaches or detaches the tag on a team resource after an authorization check, then refreshes the tag's applications and services. Also improve responsive layouts: - Wrap section headings, project/environment toolbars and view toggles on narrow screens; keep modal headers from shrinking. - Move the environment settings link to an icon next to the environment name and link the project name back to its environments. - Group project icon, name and description into one "Project details" form with an unsaved-changes bar. - Show dashboard "view all" links for projects and servers only when there are more items than the dashboard limit.
This commit is contained in:
@@ -35,7 +35,7 @@ test('project show page header links to project settings', function () {
|
||||
$editUrl = route('project.edit', ['project_uuid' => $this->project->uuid]);
|
||||
|
||||
Livewire::test(ProjectShow::class, ['project_uuid' => $this->project->uuid])
|
||||
->assertSee('Settings')
|
||||
->assertSee('Open settings for Test Project', false)
|
||||
->assertSee('Project settings', false)
|
||||
->assertSeeHtml($editUrl);
|
||||
});
|
||||
@@ -51,7 +51,7 @@ test('environment resources page header links to environment settings', function
|
||||
'environment_uuid' => $this->environment->uuid,
|
||||
]))
|
||||
->assertSuccessful()
|
||||
->assertSee('Settings')
|
||||
->assertSee('Open settings for '.$this->environment->name, false)
|
||||
->assertSee('Environment settings', false)
|
||||
->assertSee($editUrl, false);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user