mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:27:42 +00:00
feat(cnsl): docs link can be customized and custom button is available (#7840)
* feat: customize doc link and additional custom link * feat: add e2e tests * fix: update docs * fix: add @peintnermax changes about cache * fix: golangci-lint complains preparation.PrepareCommands --------- Co-authored-by: Max Peintner <max@caos.ch>
This commit is contained in:
@@ -6817,6 +6817,23 @@ message UpdatePrivacyPolicyRequest {
|
||||
description: "help / support email address."
|
||||
}
|
||||
];
|
||||
string docs_link = 5 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
example: "\"https://zitadel.com/docs\"";
|
||||
}
|
||||
];
|
||||
string custom_link = 6 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to an external resource that will be available to users in the console.";
|
||||
example: "\"https://external.link\"";
|
||||
}
|
||||
];
|
||||
string custom_link_text = 7 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "The button text that would be shown in console pointing to custom link.";
|
||||
example: "\"External\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message UpdatePrivacyPolicyResponse {
|
||||
|
@@ -10495,6 +10495,24 @@ message AddCustomPrivacyPolicyRequest {
|
||||
description: "help / support email address."
|
||||
}
|
||||
];
|
||||
string docs_link = 5 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to documentation to be shown in the console.";
|
||||
example: "\"https://zitadel.com/docs\"";
|
||||
}
|
||||
];
|
||||
string custom_link = 6 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to an external resource that will be available to users in the console.";
|
||||
example: "\"https://external.link\"";
|
||||
}
|
||||
];
|
||||
string custom_link_text = 7 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "The button text that would be shown in console pointing to custom link.";
|
||||
example: "\"External\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message AddCustomPrivacyPolicyResponse {
|
||||
@@ -10527,6 +10545,24 @@ message UpdateCustomPrivacyPolicyRequest {
|
||||
description: "help / support email address."
|
||||
}
|
||||
];
|
||||
string docs_link = 5 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to documentation to be shown in the console.";
|
||||
example: "\"https://zitadel.com/docs\"";
|
||||
}
|
||||
];
|
||||
string custom_link = 6 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to an external resource that will be available to users in the console.";
|
||||
example: "\"https://external.link\"";
|
||||
}
|
||||
];
|
||||
string custom_link_text = 7 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "The button text that would be shown in console pointing to custom link.";
|
||||
example: "\"External\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
message UpdateCustomPrivacyPolicyResponse {
|
||||
|
@@ -375,6 +375,25 @@ message PrivacyPolicy {
|
||||
description: "help / support email address."
|
||||
}
|
||||
];
|
||||
string docs_link = 7 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to documentation to be shown in the console.";
|
||||
example: "\"https://zitadel.com/docs\"";
|
||||
}
|
||||
];
|
||||
string custom_link = 8 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to an external resource that will be available to users in the console.";
|
||||
example: "\"https://external.link\"";
|
||||
}
|
||||
];
|
||||
string custom_link_text = 9 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "The button text that would be shown in console pointing to custom link.";
|
||||
example: "\"External\"";
|
||||
}
|
||||
];
|
||||
|
||||
}
|
||||
|
||||
message NotificationPolicy {
|
||||
|
@@ -37,4 +37,22 @@ message LegalAndSupportSettings {
|
||||
description: "resource_owner_type returns if the setting is managed on the organization or on the instance";
|
||||
}
|
||||
];
|
||||
string docs_link = 6 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to documentation to be shown in the console.";
|
||||
example: "\"https://zitadel.com/docs\"";
|
||||
}
|
||||
];
|
||||
string custom_link = 7 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "Link to an external resource that will be available to users in the console.";
|
||||
example: "\"https://external.link\"";
|
||||
}
|
||||
];
|
||||
string custom_link_text = 8 [
|
||||
(grpc.gateway.protoc_gen_openapiv2.options.openapiv2_field) = {
|
||||
description: "The button text that would be shown in console pointing to custom link.";
|
||||
example: "\"External\"";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
Reference in New Issue
Block a user