Skip to content

use a different image in previews#13488

Merged
foldleft merged 3 commits intodevelopfrom
foldleft/12014-big-previews-2
May 11, 2020
Merged

use a different image in previews#13488
foldleft merged 3 commits intodevelopfrom
foldleft/12014-big-previews-2

Conversation

@foldleft
Copy link
Copy Markdown
Contributor

@foldleft foldleft commented May 4, 2020

fixes: #12014

replaces: #13461

@foldleft foldleft requested a review from a team May 4, 2020 10:43
Comment thread webpack.config.js Outdated

let og_image_url = process.env.RIOT_OG_IMAGE_URL;
if (!og_image_url) og_image_url = 'https://riot.im/app/themes/riot/img/logos/riot-im-logo-black-text.png';
if (!og_image_url) og_image_url = 'https://about.riot.im/images/opengraph.png';
Copy link
Copy Markdown
Collaborator

@jryans jryans May 4, 2020

Choose a reason for hiding this comment

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

Perhaps it's better to keep the app self-contained by copying this asset into the logos folder? If we redesign about.riot.im some day, we're likely to forget we've depended on this path.

@foldleft foldleft requested a review from jryans May 7, 2020 09:39
Copy link
Copy Markdown
Collaborator

@jryans jryans left a comment

Choose a reason for hiding this comment

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

Great, looks good to me! 😁

@foldleft foldleft merged commit 72af5c1 into develop May 11, 2020
@foldleft foldleft deleted the foldleft/12014-big-previews-2 branch May 11, 2020 10:38
@ara4n
Copy link
Copy Markdown
Member

ara4n commented May 11, 2020

worth noting https://riot.im/app/themes/riot/img/logos/opengraph.png is 404ing

@jryans
Copy link
Copy Markdown
Collaborator

jryans commented May 11, 2020

worth noting https://riot.im/app/themes/riot/img/logos/opengraph.png is 404ing

Right, it normally wouldn't have appeared until release. I went ahead and manually copied it from develop to app, so should be good now.

@ara4n
Copy link
Copy Markdown
Member

ara4n commented May 11, 2020

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

URL previews in Slack for Riot deeplinks are horribly large

3 participants