mcgilman opened a new pull request, #11270: URL: https://github.com/apache/nifi/pull/11270
…STRING_LIST property is no longer available. STRING_LIST is handled specifically because the UI automatically deselects it unlike single selection. ## Summary When a connector configuration step loads allowable values for a **STRING_LIST** multi-select, saved selections that are no longer in the catalog are automatically removed from the form control. The configuration step shows a dismissible **caution** banner listing which property(ies) lost values and what was stripped. Single-select properties are unchanged: stale values remain visible as disabled “(no longer available)” options so the user can pick a replacement. Also introduces reusable **`StatusBanner`** and **`Banner`** components and migrates **`WizardContextBanner`** from legacy `ErrorBanner` to `Banner` → `StatusBanner`, so `variant` (e.g. `critical`) is honored for wizard store errors. Verify-all general errors on the config step still use `ErrorBanner` for now. ## Changes ### STRING_LIST orphan detection (`connector-property-input`) - Detects values not present in the loaded static or dynamic allowable list. - For multi-select only: schedules a coalesced strip via `afterNextRender` (`stringListStripScheduled`) and emits `stringListOrphansStripped` once per strip pass. - New type: `StringListOrphansStrippedEvent` in `connector-property-input.types.ts`. ### Configuration step banner - Handles `stringListOrphansStripped`, maintains per-property banner entries (replace on re-strip for same property). - Renders caution `StatusBanner` with intro copy, property labels, removed values (cap 20 + “… and N more”), dismiss, and clear on form re-init. - Wires `(stringListOrphansStripped)` on each `connector-property-input` in the step template. ### Banner components - **`StatusBanner`**: themed status shell (FA4 icons, `fa-2x` to match `ErrorBanner`), icon dismiss, content projection + `statusBannerTitle` / `statusBannerDescription` directives. - **`Banner`**: message list wrapper (single vs list, dedupe) over `StatusBanner`. - **`WizardContextBanner`**: thin store adapter → `<banner>` (replaces `ErrorBanner`). ### Exports - `banner`, `status-banner`, directives, and `connector-property-input.types` exported from `libs/shared` `index.ts`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
