-
-
Notifications
You must be signed in to change notification settings - Fork 250
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
WIP: Support displaying of images in msg in the default viewer. #359
Conversation
@@ -347,3 +350,37 @@ def match_user(user: Any, text: str) -> bool: | |||
if keyword.startswith(text.lower()): | |||
return True | |||
return False | |||
|
|||
|
|||
# Plan to open all the images/gifs in a msg |
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.
@neiljp I have mentioned the plan here. Please go through it.
Pressing enter on one of the buttons in links popup menu does one of the following, depending on the link: - narrow to stream - narrow to user - open image in system's default viewer - open link in system's default browser Narrows to stream/user and opens images Narrows to stream/user successfuly. Opens selected image in default viewer. Gives 401 error while trying to open gifs or videos. Opens links in default browser Opens links in default browser (code from zulip#397). Tries to download and open user uploaded media in default system viewer (code from zulip#359), otherwise opens link in default browser. Opens images/gifs/links in default system viewer To fix: Issue with videos
Pressing enter on one of the buttons in links popup menu does one of the following, depending on the link: - narrow to stream - narrow to user - open image in system's default viewer - open link in system's default browser Narrows to stream/user and opens images Narrows to stream/user successfuly. Opens selected image in default viewer. Gives 401 error while trying to open gifs or videos. Opens links in default browser Opens links in default browser (code from zulip#397). Tries to download and open user uploaded media in default system viewer (code from zulip#359), otherwise opens link in default browser. Opens images/gifs/links in default system viewer Opens videos in default viewer
Heads up @amanagr, we just merged some commits that conflict with the changes your made in this pull request! You can review this repository's recent commits to see where the conflicts occur. Please rebase your feature branch against the |
The followup to this was merged with slight adjustments in #1223 🎉 Thanks @amanagr, @preetmishra and @Ezio-Sarthak 👍 |
No description provided.