-
Notifications
You must be signed in to change notification settings - Fork 354
compose_box: Add start video call button in compose #1916
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
base: main
Are you sure you want to change the base?
Changes from all commits
d90df43
5898952
d5bbd96
2ea8602
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -574,6 +574,10 @@ | |
| "@composeBoxAttachFromCameraTooltip": { | ||
| "description": "Tooltip for compose box icon to attach an image from the camera to the message." | ||
| }, | ||
| "composeBoxAttachFromVideoCallTooltip": "Attach a video call", | ||
| "@composeBoxAttachFromVideoCallTooltip": { | ||
| "description": "Tooltip for compose box icon to attach a video call url to the message." | ||
| }, | ||
| "composeBoxGenericContentHint": "Type a message", | ||
| "@composeBoxGenericContentHint": { | ||
| "description": "Hint text for content input when sending a message." | ||
|
|
@@ -654,6 +658,10 @@ | |
| "filename": {"type": "String", "example": "file.txt"} | ||
| } | ||
| }, | ||
| "composeBoxUploadedVideoCallUrl": "Join video call.", | ||
| "@composeBoxUploadedVideoCallUrl": { | ||
| "description": "Placeholder in compose box showing the video call url is generated." | ||
| }, | ||
|
Comment on lines
+661
to
+664
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. How about Also please fix the indentation. |
||
| "composeBoxLoadingMessage": "(loading message {messageId})", | ||
| "@composeBoxLoadingMessage": { | ||
| "description": "Placeholder in compose box showing the quoted message is currently loading.", | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -90,6 +90,8 @@ class InitialSnapshot { | |
| /// Search for "realm_wildcard_mention_policy" in https://zulip.com/api/register-queue. | ||
| final RealmWildcardMentionPolicy realmWildcardMentionPolicy; | ||
|
|
||
| final int realmVideoChatProvider; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's make an enum for this; see maybe Also please follow the comment at the top of // Keep these fields in the order they appear in the API docs.
// (For many API types we choose a more logical order than the docs.
// But this one is so long that that'd make it become impossible to
// compare the lists by hand.) |
||
|
|
||
| final bool realmMandatoryTopics; | ||
|
|
||
| final String realmName; | ||
|
|
@@ -115,6 +117,8 @@ class InitialSnapshot { | |
|
|
||
| final Map<String, RealmDefaultExternalAccount> realmDefaultExternalAccounts; | ||
|
|
||
| final String? jitsiServerUrl; | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. From reading the doc, there are actually three related fields to handle:
Let's add |
||
|
|
||
| final int maxFileUploadSizeMib; | ||
|
|
||
| final Uri serverEmojiDataUrl; | ||
|
|
@@ -184,6 +188,7 @@ class InitialSnapshot { | |
| required this.realmDeleteOwnMessagePolicy, | ||
| required this.realmWildcardMentionPolicy, | ||
| required this.realmMandatoryTopics, | ||
| required this.realmVideoChatProvider, | ||
| required this.realmName, | ||
| required this.realmWaitingPeriodThreshold, | ||
| required this.realmMessageContentDeleteLimitSeconds, | ||
|
|
@@ -193,6 +198,7 @@ class InitialSnapshot { | |
| required this.realmIconUrl, | ||
| required this.realmPresenceDisabled, | ||
| required this.realmDefaultExternalAccounts, | ||
| required this.jitsiServerUrl, | ||
| required this.maxFileUploadSizeMib, | ||
| required this.serverEmojiDataUrl, | ||
| required this.realmEmptyTopicDisplayName, | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like web says "Add video call". Let's follow that, for consistency.
Also this is misnamed; we're not "attaching from a video call". Let's call it
composeBoxAddVideoCallTooltip.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please fix the indentation so it's consistent with other entries here.