feat(domains): add inline indexing and redirect controls

Move domain indexing and redirect settings into domain management views and include noindex changes in deployment configuration diffs.
This commit is contained in:
Andras Bacsai committed 2026-08-10 15:10:30 +02:00
1 parent 8c9a7413d0
commit 69ba001e21
22 files changed
+327 -185

No files matched your search

@@ -159,6 +159,26 @@ it('shows domain changes when the domain page dispatches a configuration change'
->assertSee('https://changed.example.com');
});
it('shows noindex changes when the domains page dispatches a configuration change', function () {
$application = configurationCheckerApplication($this->environment, [
'fqdn' => 'https://example.com,https://staging.example.com',
]);
markConfigurationCheckerApplicationDeployed($application);
$component = Livewire::test(ConfigurationChecker::class, ['resource' => $application->refresh()])
->assertSet('isConfigurationChanged', false);
$application->setNoindexDomains(['https://staging.example.com']);
$application->save();
$component
->dispatch('configurationChanged')
->assertSet('isConfigurationChanged', true)
->assertSee('The latest configuration has not been applied')
->assertSee('Search engine indexing')
->assertSee('Redeploy to apply.');
});
it('shows an unapplied configuration warning after a directory mount is added', function () {
$application = configurationCheckerApplication($this->environment);
markConfigurationCheckerApplicationDeployed($application);