Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Add suppport for image links to be previewed #504

Merged
merged 3 commits into from
Jan 10, 2018

Conversation

csduarte
Copy link
Contributor

Summary

Preview link images just like you do with images uploaded from MM.

Checklist

  • Has UI changes

Screenshots

screen shot 2017-12-20 at 4 51 20 pm

screen shot 2017-12-20 at 4 51 38 pm

screen shot 2017-12-20 at 4 52 05 pm

  1. download image if desired

@jwilander jwilander added the 1: PM Review Requires review by a product manager label Dec 21, 2017
@esethna esethna added the Setup Old Test Server Triggers the creation of a test server label Dec 22, 2017
@esethna esethna self-assigned this Dec 22, 2017
Copy link
Contributor

@esethna esethna left a comment

Choose a reason for hiding this comment

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

@dmeza looks good, just one comment, we should remove the "Get Public Link" option for these previews (if it's enabled in the config) since the link is coming directly from the post and it doesn't make much sense.

image

@esethna esethna added Awaiting Submitter Action Blocked on the author and removed Setup Old Test Server Triggers the creation of a test server labels Dec 22, 2017
@dmeza
Copy link
Contributor

dmeza commented Dec 22, 2017

@miguelespinoza please see the comment about "Get Public Link".

@miguelespinoza
Copy link

@esethna I've added the fix for that 😄

@dmeza
Copy link
Contributor

dmeza commented Jan 2, 2018

@lfbrock please help us test these PR. It's rebased to the latest from master.

@jasonblais jasonblais added the Setup Old Test Server Triggers the creation of a test server label Jan 3, 2018
@mattermost mattermost deleted a comment from mattermod Jan 3, 2018
@mattermost mattermost deleted a comment from mattermod Jan 3, 2018
@mattermost mattermost deleted a comment from mattermod Jan 3, 2018
@jasonblais jasonblais removed Awaiting Submitter Action Blocked on the author Setup Old Test Server Triggers the creation of a test server labels Jan 3, 2018
@mattermod
Copy link
Contributor

Setup Test Server label detected. Spinmint test server created if build succeeds (checks pass and no conflicts with base branch).

@jasonblais jasonblais added the Setup Old Test Server Triggers the creation of a test server label Jan 3, 2018
@mattermod
Copy link
Contributor

Spinmint test server created at: http:https://i-0c13b036dec81909f.spinmint.com

Test Account 1: Email: [email protected] | Password: passwd

Test Account 2: Email: [email protected] | Password: passwd

Instance ID: i-0c13b036dec81909f

@lfbrock lfbrock dismissed esethna’s stale review January 4, 2018 22:08

Changes have been made, Eric is away so dismissing review since he's not here to approve

@mattermod
Copy link
Contributor

Spinmint test server destroyed

@lfbrock lfbrock added 2: Dev Review Requires review by a core commiter and removed 1: PM Review Requires review by a product manager Setup Old Test Server Triggers the creation of a test server labels Jan 4, 2018
@jwilander jwilander self-requested a review January 9, 2018 13:40
@jwilander jwilander added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core commiter labels Jan 10, 2018
@jwilander jwilander merged commit f3bde7c into mattermost:master Jan 10, 2018
dmeza pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Jan 10, 2018
* Add suppport for image links to be previewed

* Do not display Public Link for inline link images

* updated snapshots
dmeza pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Jan 10, 2018
* Add suppport for image links to be previewed

* Do not display Public Link for inline link images

* updated snapshots
dmeza pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Jan 15, 2018
* Add suppport for image links to be previewed

* Do not display Public Link for inline link images

* updated snapshots
dmeza pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Jan 15, 2018
* Add suppport for image links to be previewed

* Do not display Public Link for inline link images

* updated snapshots
dmeza pushed a commit to uber-archive/mattermost-webapp that referenced this pull request Jan 29, 2018
* Add suppport for image links to be previewed

* Do not display Public Link for inline link images

* updated snapshots
@amyblais amyblais added Changelog/Done Required changelog entry has been written Docs/Needed Requires documentation labels Feb 1, 2018
@lindalumitchell lindalumitchell added the Tests/Done Release tests have been written label Feb 3, 2018
@esethna esethna added Docs/Not Needed Does not require documentation and removed Docs/Needed Requires documentation labels Feb 15, 2018
@dmeza dmeza deleted the image-link-preview branch December 7, 2018 18:28
hmhealey pushed a commit that referenced this pull request Aug 28, 2020
* fix combined posts which ignores custom and other post types

* removed console log and added assertions of posts

Signed-off-by: Saturnino Abril <[email protected]>
hmhealey pushed a commit that referenced this pull request Mar 17, 2021
* fix combined posts which ignores custom and other post types

* removed console log and added assertions of posts

Signed-off-by: Saturnino Abril <[email protected]>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
4: Reviews Complete All reviewers have approved the pull request Changelog/Done Required changelog entry has been written Docs/Not Needed Does not require documentation Tests/Done Release tests have been written
Projects
None yet