Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CB-4561 te UI dynamic connection credentials based on the users team #2381

Conversation

Wroud
Copy link
Member

@Wroud Wroud commented Feb 13, 2024

No description provided.

@Wroud Wroud self-assigned this Feb 13, 2024
@Wroud Wroud force-pushed the CB-4561-te-ui-dynamic-connection-credentials-based-on-the-users-team branch from 601ac75 to d321a87 Compare February 13, 2024 08:22
readonly,
disabled,
}) {
if (!properties) {
Copy link
Member

Choose a reason for hiding this comment

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

Probably properties is not an optional field then?

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

items={availableAuthModels}
keySelector={model => model!.id}
valueSelector={model => model!.displayName}
titleSelector={model => model?.description}
Copy link
Member

Choose a reason for hiding this comment

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

Seems like the model is defined here and we dont need ?. here

Copy link
Member Author

Choose a reason for hiding this comment

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

added isNotNullDefined filter

...connectionKey,
selectedSecretId: secretId,
});
state.exception = null;
Copy link
Member

Choose a reason for hiding this comment

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

probably we want to set exception to null before we try to init connection?

Copy link
Member Author

Choose a reason for hiding this comment

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

actually it doesn't matter here because we will hide exception message while connecting

@@ -19,4 +19,8 @@ export default [
['settings_connections_hide_connections_view_description', 'Показывать подключения только администраторам'],

['connections_public_connection_ssl_enable', 'Включить SSL'],

['plugin_connections_connection_form_shared_credentials_manage_info', 'Вы можете указать учетные данные в '],
['plugin_connections_connection_form_shared_credentials_manage_info_tab_link', 'табе "Учетные данные"'],
Copy link
Member

Choose a reason for hiding this comment

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

во вкладке "Учетные данные"

Copy link
Member Author

Choose a reason for hiding this comment

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

fixed

@serge-rider serge-rider merged commit 2b90eb0 into devel Feb 20, 2024
2 of 3 checks passed
@serge-rider serge-rider deleted the CB-4561-te-ui-dynamic-connection-credentials-based-on-the-users-team branch February 21, 2024 11:08
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.

5 participants