Skip to content

docs: Update "Share and upload files" article. #25774

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

Merged
merged 3 commits into from
May 28, 2023

Conversation

drrosa
Copy link
Collaborator

@drrosa drrosa commented May 26, 2023

  • Adds via-markdown instructions block.
  • Adds via-compose-box-buttons instructions block.
  • Adds named image file example section.
  • Documents improved uploads in the mobile app
  • Tweaks wording for inserting a link via Markdown.

Screenshots and screen captures:

Current doc: https://zulip.com/help/share-and-upload-files

image

image

image

image

image

Current doc: https://zulip.com/help/insert-a-link

image

Self-review checklist

Communicate decisions, questions, and potential concerns.

  • Automated tests.

Individual commits are ready for review (see commit discipline).

  • Each commit is a coherent idea.
  • Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

  • Visual appearance of the changes.
  • Links.

@drrosa
Copy link
Collaborator Author

drrosa commented May 26, 2023

@alya This is ready for review.

@alya
Copy link
Contributor

alya commented May 26, 2023

Looks great overall!

For mobile, we should also add instructions for sharing from other apps. This might be different for Android vs. iOS. I don't know if you have easy access to Android; this is what it looks like once you start the process:

image

image

@alya
Copy link
Contributor

alya commented May 26, 2023

@chrisbobbe In v27.208, will it say "Direct Message"? Or "Direct message"?

@alya alya added the release goal We'd like to resolve this for the current major release label May 26, 2023
@chrisbobbe
Copy link
Contributor

It'll say "Direct message". I lowercased the "m" in zulip/zulip-mobile#5735 because it seemed more consistent with our style, e.g., as declared under "Capitalization" here:

  • The first letter of a sentence or phrase should be capitalized.
    • Correct: "Manage streams"
    • Incorrect: "Manage Streams"

The "Share on Zulip" UI is currently offered on Android only; that feature on iOS is tracked in zulip/zulip-mobile#3277.

@drrosa drrosa force-pushed the help-update-share-and-upload-files branch from f16dd55 to 0b9e7a6 Compare May 26, 2023 22:14
@zulipbot zulipbot added size: XL and removed size: L labels May 26, 2023
@drrosa
Copy link
Collaborator Author

drrosa commented May 26, 2023

@alya I updated the PR and screenshots in the description to address your feedback.

Is the level of detail for Sharing files okay or should we be more explicit by having separate instructions for streams and direct messages?

@alya
Copy link
Contributor

alya commented May 26, 2023

Looks good to me!

@alya alya added the integration review Added by maintainers when a PR may be ready for integration. label May 26, 2023
@alya
Copy link
Contributor

alya commented May 26, 2023

@gnprice @chrisbobbe in case you have any feedback (before or after this is merged).

drrosa added 3 commits May 26, 2023 23:04
- Adds via-markdown instructions block.
- Adds via-compose-box-buttons instructions block.
- Documents option to select multiple files.
- Adds named image file example section.
- Documents uploading files via compose box buttons.
- Documents sharing files from other Android apps.
@drrosa drrosa force-pushed the help-update-share-and-upload-files branch from 0b9e7a6 to 2ac2bfe Compare May 27, 2023 04:25
@drrosa
Copy link
Collaborator Author

drrosa commented May 27, 2023

I updated the PR as discussed in the review comments.

@timabbott
Copy link
Member

@alya it's probably worth your taking another look at the wording before I merge this.

@alya
Copy link
Contributor

alya commented May 27, 2023

Looks good to me!

Two tips in a row look a bit funny visually, but I think it's fine.

@timabbott timabbott merged commit 299d136 into zulip:main May 28, 2023
@timabbott
Copy link
Member

Merged, thanks @drrosa!

Copy link
Member

@gnprice gnprice left a comment

Choose a reason for hiding this comment

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

Thanks for taking care of this! A few followup comments below.

Comment on lines +7 to +9
Zulip will automatically generate a **thumbnail** for each file when you send
the message, if it can. Image thumbnails will be shown directly in the message,
and you can click on a thumbnail to [view the full image](/help/view-and-browse-images).
Copy link
Member

Choose a reason for hiding this comment

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

This text isn't really accurate. (I see it's pre-existing from before this PR.)

The truth is we don't generate thumbnails. We have an open issue for that:

(At one point we had an experimental implementation of generating thumbnails, and this text may have been written then. My recollection is that we never shipped that widely. In any case it's not operating now.)

We do in the message list show an image preview, at a small size, and it'd be reasonable for someone to call that piece of UI a "thumbnail". But we don't generate those — we just serve up the original uploaded image verbatim, and tell the browser to show it small. And because we're not doing anything to generate them, there's no "if it can"; we do the same thing for all images.

I'm not sure we need this paragraph at all. If we do want something like it, it should probably focus on the UI and not go into the backend technical details. Perhaps something like:

For images attached to a message, a small preview will be shown directly in the message. People reading the message can click on the preview to [view the full-size image][…].

Comment on lines +52 to +56
1. Tap the
**paperclip** (<img src="/static/images/help/mobile-paperclip-icon.svg" alt="paperclip" class="mobile-icon"/>),
**image** (<img src="/static/images/help/mobile-image-icon.svg" alt="image" class="mobile-icon"/>),
or **camera** (<img src="/static/images/help/mobile-camera-icon.svg" alt="camera" class="mobile-icon"/>)
button at the bottom of the app to select one or more files. Zulip will
Copy link
Member

Choose a reason for hiding this comment

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

This is a bit confusing because it leaves it a mystery why there are these three different buttons, instead of just one.

Here's a description of the three (but it can probably be tightened for this context):

  • Paperclip: Choose an arbitrary file on your device, using your device's file browser.
  • Image: Choose an image from your device's image gallery.
  • Camera: Take a photo with your device's camera, and share that.

In particular if you wanted to "select a file" and you use the camera button, you are definitely going to be disappointed because it won't offer you any existing files — its job is to help you take a new photo to share.

Comment on lines +77 to +79
1. Select one or more files and tap the **Zulip**
(<img src="/static/images/logo/zulip-icon-circle.svg" alt="logo" class="mobile-icon"/>)
logo.
Copy link
Member

Choose a reason for hiding this comment

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

This is probably clearest if expanded to a couple of steps:

  1. In the app that has the item you want to share, find the item and tap Share image to open the sharing menu.

  2. In the sharing menu, select Zulip .

That "share" icon is this one, the share icon in the Material icon set. Fortunately this is one area where Android apps seem to be pretty consistent with each other.

Copy link
Member

Choose a reason for hiding this comment

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

I also spent a bit of time looking for anything in Android's own user-facing documentation that we could link to. I didn't; the closest match is this:
https://support.google.com/android/answer/9110661
which is about finding files in the file-browser app, and mentions sharing them from there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration review Added by maintainers when a PR may be ready for integration. release goal We'd like to resolve this for the current major release size: XL
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants