-
-
Notifications
You must be signed in to change notification settings - Fork 259
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
Add support for spoilers #688
Comments
@timabbott Thanks for filing this, I appreciate the heads-up. At absolute minimum for v0 I'd expect us to hide the spoiler content, perhaps providing a link to the message on the server, though that's not necessary? I'd suggest one v1 approach might be to integrate this with implementing a fix for #543 (for 'large' messages), showing the 'full' text in that view. That does combine two use-cases (see all of a message & see spoilers), which we could avoid by having a 'cycle' interface (not just toggle, but one key cycles, or exit with esc; or the new idea I raised for help/about of left/right panes/tabs/popups) Another v1 approach may be to put this in the scope of viewing 'extended content', ie. listing images, links, etc. However, that loses the context in the message. |
This was discussed in #zulip-terminal>Spoilers! #T688 #T1061 #T1173 on chat.zulip.org. |
This commit wraps-up the PR by appending the SpoilerButton to message info view if present. Co-authored by: Preet Mishra (<[email protected]>). Fixes zulip#688.
This commit wraps-up the PR by appending the SpoilerButton to message info view if present. Co-authored-by: Preet Mishra <[email protected]> Fixes zulip#688.
This commit wraps-up the PR by appending the SpoilerButton to message info view if present. Fixes zulip#688. Co-authored-by: Preet Mishra <[email protected]>
This commit: * Adds a boolean value spoiler_link to metadata, indicating whether a link is part of spoiler content. * Adds [spoiler] to link caption if spoiler_link is True. Fixes zulip#688.
This commit: * Adds a boolean value spoiler_link to metadata, indicating whether a link is part of spoiler content. * Adds [spoiler] to link caption if spoiler_link is True. Fixes zulip#688.
This commit: * Adds a boolean value spoiler_link to metadata, indicating whether a link is part of spoiler content. * Adds [spoiler] to link caption if spoiler_link is True. Fixes zulip#688.
See zulip/zulip#15281; we recently added markdown support for the
spoilers
feature, and it'd be valuable for zulip-terminal to at least not display the hidden text by default.The text was updated successfully, but these errors were encountered: