Skip to content

Previews when composing a message #178

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

Open
chrisbobbe opened this issue Jun 12, 2023 · 2 comments
Open

Previews when composing a message #178

chrisbobbe opened this issue Jun 12, 2023 · 2 comments
Labels
a-compose Compose box, autocomplete, attaching files/images beta feedback Things beta users have specifically asked for
Milestone

Comments

@chrisbobbe
Copy link
Collaborator

chrisbobbe commented Jun 12, 2023

In the web app, we let the user double-check how their message will be rendered before they send it:

image

We should do the same in the mobile apps. (I didn't find an issue for this in zulip-mobile in a quick search.)

Wanting this feature probably isn't quite as common in mobile, because one tends to stick to shorter messages with simpler formatting. But that's far from absolute.

Help Center doc: https://zulip.com/help/preview-your-message-before-sending

Implementation

The implementation should use this server endpoint to turn the draft text into HTML:

and then parse the HTML the same way we do for an actual message.

A prerequisite issue is:

@chrisbobbe chrisbobbe added the a-compose Compose box, autocomplete, attaching files/images label Jun 12, 2023
@gnprice gnprice added this to the Post-launch milestone Jun 13, 2023
@gnprice gnprice modified the milestones: M6: Post-launch, M7: Future Nov 21, 2024
@gnprice
Copy link
Member

gnprice commented Nov 21, 2024

We had a user request for this feature last month:
https://chat.zulip.org/#narrow/channel/48-mobile/topic/iOS.20feedback.20for.20Julia.20community.20member/near/1961857
https://chat.zulip.org/#narrow/channel/48-mobile/topic/iOS.20feedback.20for.20Julia.20community.20member/near/1963803

They raised code blocks and LaTeX as particularly useful situations for a preview.

@gnprice gnprice changed the title Allow checking a render preview before sending a message Previews when composing a message Nov 21, 2024
@chrisbobbe
Copy link
Collaborator Author

chrisbobbe commented Dec 19, 2024

This came up in beta feedback today: https://chat.zulip.org/#narrow/channel/48-mobile/topic/message.20previews/near/2010648

There is also no preview for message prepared to be published.

@chrisbobbe chrisbobbe added the beta feedback Things beta users have specifically asked for label Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
a-compose Compose box, autocomplete, attaching files/images beta feedback Things beta users have specifically asked for
Projects
Status: No status
Development

No branches or pull requests

2 participants