Skip to content

PLATFORM-7428: Allow to use multiple schemes when configuring identity tests - #366

Merged
ak1394 merged 2 commits into
masterfrom
bola-settings
Jul 15, 2026
Merged

PLATFORM-7428: Allow to use multiple schemes when configuring identity tests#366
ak1394 merged 2 commits into
masterfrom
bola-settings

Conversation

@ak1394

@ak1394 ak1394 commented Jul 15, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@ak1394
ak1394 merged commit 5a6b92c into master Jul 15, 2026
3 checks passed
@ak1394
ak1394 deleted the bola-settings branch July 15, 2026 10:35

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the authorization/identity test configuration UI to support selecting multiple credential schemes for “Source” and “Target”, and includes a couple of small capture-app import cleanups.

Changes:

  • Make DownshiftSelect’s label optional so it can be reused in grouped/array layouts.
  • Replace single source.0 / target.0 selects with a dynamic useFieldArray-driven UI that supports adding/removing multiple entries.
  • Fix/clean imports in the capture app (openLink import source, remove unused general error imports).

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
packages/web/src/new-components/fat-fields/DownshiftSelect.tsx Allows omitting the field label so selects can be embedded inside grouped/array UIs.
packages/web/src/app/scanconf/authorizationTests/TestContents.tsx Introduces AuthArrayField to add/remove multiple Source/Target schemes.
packages/web/src/app/capture/Subscription.tsx Updates openLink import to use the capture-local slice.
packages/web/src/app/capture/index.tsx Removes unused general error imports.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +48 to +53
<Remove
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
remove(index);
}}
Comment on lines +119 to +130
const Add = styled.div`
display: flex;
padding: 8px 12px;
gap: 4px;
cursor: pointer;
align-items: center;
border: 1px dashed var(${ThemeColorVariables.border});
color: var(${ThemeColorVariables.linkForeground});
> svg {
fill: var(${ThemeColorVariables.linkForeground});
}
`;
Comment on lines +59 to +65
<Add
onClick={(e) => {
e.preventDefault();
e.stopPropagation();
append("");
}}
>
<GroupLabel>{label}</GroupLabel>
{fields.map((field, index) => (
<Row key={field.id}>
<DownshiftSelect name={`${name}.${index}`} options={options} />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants