Skip to content

Commit cf3124b

Browse files
committed
update comments
Tool: gitpod/catfood.gitpod.cloud
1 parent ef10501 commit cf3124b

File tree

4 files changed

+3494
-3415
lines changed

4 files changed

+3494
-3415
lines changed

components/public-api/gitpod/v1/organization.proto

Lines changed: 21 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -48,32 +48,33 @@ message RoleRestrictionEntry {
4848
repeated OrganizationPermission permissions = 2;
4949
}
5050

51-
message OnboardingSettings {
52-
message WelcomeMessage {
53-
// enabled specifies whether the welcome message is enabled
54-
bool enabled = 1;
51+
message OrganizationSettings {
52+
// onboarding_settings are the settings for the organization's onboarding
53+
message OnboardingSettings {
54+
message WelcomeMessage {
55+
// enabled specifies whether the welcome message is enabled
56+
bool enabled = 1;
5557

56-
// message is the welcome message for the organization
57-
optional string message = 2;
58+
// message is the welcome message for the organization
59+
optional string message = 2;
5860

59-
// featured_member_id is the ID of the member to show in the welcome message
60-
optional string featured_member_id = 4;
61+
// featured_member_id is the ID of the member to show in the welcome message
62+
optional string featured_member_id = 4;
6163

62-
// featured_member_resolved_avatar_url is the avatar URL that is resolved from the featured_member_id by the server
63-
optional string featured_member_resolved_avatar_url = 5;
64-
}
64+
// featured_member_resolved_avatar_url is the avatar URL that is resolved from the featured_member_id by the server
65+
optional string featured_member_resolved_avatar_url = 5;
66+
}
6567

66-
// internal_link is the link to an internal onboarding page for the organization, possibly featuring a custom onboarding guide and other resources
67-
optional string internal_link = 1;
68+
// internal_link is the link to an internal onboarding page for the organization, possibly featuring a custom onboarding guide and other resources
69+
optional string internal_link = 1;
6870

69-
// recommended_repositories are the repositories that are recommended for new org members
70-
repeated string recommended_repositories = 2;
71+
// recommended_repositories are the repositories that are recommended for new org members
72+
repeated string recommended_repositories = 2;
7173

72-
// welcome_message is the welcome message for the organization
73-
optional WelcomeMessage welcome_message = 3;
74-
}
74+
// welcome_message is the welcome message for the organization
75+
optional WelcomeMessage welcome_message = 3;
76+
}
7577

76-
message OrganizationSettings {
7778
bool workspace_sharing_disabled = 1;
7879
string default_workspace_image = 2;
7980
repeated string allowed_workspace_classes = 3;
@@ -84,6 +85,7 @@ message OrganizationSettings {
8485
repeated RoleRestrictionEntry role_restrictions = 8;
8586
// max_parallel_running_workspaces is the maximum number of workspaces that a single user can run in parallel. 0 resets to the default, which depends on the org plan
8687
int32 max_parallel_running_workspaces = 9;
88+
// this is nested under OrganizationSettings because of the differences between the request & response shapes (see `featured_member_resolved_avatar_url` and `update_recommended_repositories`)
8789
OnboardingSettings onboarding_settings = 10;
8890
bool annotate_git_commits = 11;
8991
}

0 commit comments

Comments
 (0)