Add initial setup - #495
Draft
sukhwinder33445 wants to merge 3 commits into
Draft
Conversation
sukhwinder33445
marked this pull request as draft
June 11, 2026 15:50
sukhwinder33445
force-pushed
the
init-setup
branch
from
June 11, 2026 15:55
33d0037 to
3f1bc77
Compare
sukhwinder33445
force-pushed
the
init-setup
branch
2 times, most recently
from
June 15, 2026 11:34
6b63349 to
1b28a94
Compare
sukhwinder33445
force-pushed
the
init-setup
branch
from
June 23, 2026 11:25
1b28a94 to
ec8fdf7
Compare
Comment on lines
+88
to
+96
| foreach ($hooks as $hook) { | ||
| /** @var SourceIntegrationSetupHook $hook */ | ||
| $integrations[] = $hook->getIntegration(); | ||
|
|
||
| if ($hook->isFinished()) { | ||
| $this->integrationAdded = true; | ||
| break; | ||
| } | ||
| } |
Comment on lines
+98
to
+106
| $container = new HtmlElement('div', Attributes::create(['class' => 'integrations'])); | ||
| $container->addHtml(new HtmlElement( | ||
| 'p', | ||
| content: Text::create($this->translate( | ||
| 'You can either create a new Source or add an existing integration from the following:' | ||
| )) | ||
| )); | ||
| $container->addHtml(...$integrations); | ||
| $this->addHtml($container); |
sukhwinder33445
force-pushed
the
init-setup
branch
3 times, most recently
from
June 26, 2026 12:03
586fb27 to
eace49f
Compare
sukhwinder33445
force-pushed
the
init-setup
branch
from
July 9, 2026 08:30
eace49f to
bf0e92a
Compare
- Add message where missing - Add new line in message with link where missing - Ensure consistency between messages
sukhwinder33445
force-pushed
the
init-setup
branch
from
July 27, 2026 06:53
bf0e92a to
6ae83be
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR enables users to perform the initial setup when activating the module for the first time.
resolves #351
require Icinga/icingaweb2#5524