Feat/mqtt events integration#323
Open
deaflynx wants to merge 20 commits into
Open
Conversation
…bIeMsgProto wrapper
…delete; allow events-only integration
…ation handlers; add missing license header
… edit form - Move lifecycleEventTypes from the page root form into each integration config form group (kafka/mqtt/http), as a sibling of topicFilters; render it as a security-setting card directly below the Topic filters card - Drop the topicFilters-style control when isNew so the wizard's dedicated lifecycle step stays authoritative - markForCheck() in the lifecycle component's writeValue/setDisabledState so OnPush reflects persisted event types when editing an existing integration - Show the "no selection has no effect" hint only in the wizard via a new showNoSelectionHint input - Convert maxStep getter to a readonly field (eslint class-literal-property-style)
Replace the checkbox list with a Material multi-select dropdown, following the project's reactive-CVA idiom (internal UntypedFormControl + valueChanges) so OnPush change detection is no longer needed. Add the "Event types" label key for the select.
Publish a lifecycle event when a client unsubscribes, mirroring the CLIENT_SUBSCRIBED flow: - new ClientLifecycleEventType.CLIENT_UNSUBSCRIBED enum value - ClientLifecycleEventMsgProto gains a repeated topicFilters field (unsubscribe carries plain topic filters, no QoS) - IntegrationLifecycleEventPublisher.publishUnsubscribed, fired from MqttUnsubscribeHandler after the UNSUBACK is flushed - AbstractIntegration emits a "topicFilters" array for the unsubscribe body - UI: add the event type to the model enum, lifecycle multi-select and i18n
…igger Use a custom mat-select-trigger with a mat-chip-set so selected event types wrap to multiple rows and the form field grows in height instead of truncating the comma-joined value with an ellipsis.
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.
Pull Request description
Put your PR description here instead of this sentence.
General checklist
Front-End feature checklist
Back-End feature checklist