build custom metadata from config #4455

Merged
jessopb merged 3 commits from custom-metadata into master 2020-07-07 18:35:23 +02:00
jessopb commented 2020-07-01 16:21:25 +02:00 (Migrated from github.com)

Used webpack transform to insert custom metadata into html on compile.

Used webpack transform to insert custom metadata into html on compile.
neb-b (Migrated from github.com) reviewed 2020-07-01 16:21:25 +02:00
neb-b (Migrated from github.com) reviewed 2020-07-01 18:23:27 +02:00
neb-b (Migrated from github.com) commented 2020-07-01 18:23:27 +02:00

What is the purpose of having two of these files?

What is the purpose of having two of these files?
jessopb (Migrated from github.com) reviewed 2020-07-01 18:24:26 +02:00
jessopb (Migrated from github.com) commented 2020-07-01 18:24:26 +02:00

The project structure means root for web build is different from root for electron build.

The project structure means root for web build is different from root for electron build.
jessopb (Migrated from github.com) reviewed 2020-07-01 18:25:35 +02:00
jessopb (Migrated from github.com) commented 2020-07-01 18:25:34 +02:00

can you check in a symlink? maybe a webpack pre-copy?

can you check in a symlink? maybe a webpack pre-copy?
neb-b (Migrated from github.com) requested changes 2020-07-01 18:40:45 +02:00
neb-b (Migrated from github.com) left a comment

1 change and a couple of questions

1 change and a couple of questions
@ -2,0 +4,4 @@
SITE_CANONICAL_URL,
OG_HOMEPAGE_TITLE,
OG_TITLE_SUFFIX,
OG_IMAGE_URL,
neb-b (Migrated from github.com) commented 2020-07-01 18:35:30 +02:00

Move this to the very bottom of the file

Move this to the very bottom of the file
neb-b (Migrated from github.com) commented 2020-07-01 18:36:50 +02:00

I think this should be removed from the HTML file (but keep the comment?) now that this exists?
https://github.com/lbryio/lbry-desktop/blob/master/static/index-web.html#L66-L74

I think this should be removed from the HTML file (but keep the comment?) now that this exists? https://github.com/lbryio/lbry-desktop/blob/master/static/index-web.html#L66-L74
neb-b (Migrated from github.com) commented 2020-07-01 18:40:25 +02:00

This is pretty much the same as the function above. Can they just be combined?

This is pretty much the same as the function above. Can they just be combined?
neb-b commented 2020-07-02 16:47:10 +02:00 (Migrated from github.com)

Looks good. Is there any chance this could break web/lat when this is merged?

Looks good. Is there any chance this could break web/lat when this is merged?
kauffj (Migrated from github.com) reviewed 2020-07-03 17:49:14 +02:00
@ -12,0 +18,4 @@
SITE_NAME=LBRY
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
LOGO_TITLE=lbry.tv
# OG
kauffj (Migrated from github.com) commented 2020-07-03 17:49:14 +02:00

HOMEPAGE_TITLE and DEFAULT_TITLE ?

HOMEPAGE_TITLE and DEFAULT_TITLE ?
kauffj (Migrated from github.com) reviewed 2020-07-03 17:49:24 +02:00
@ -12,0 +18,4 @@
SITE_NAME=LBRY
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
LOGO_TITLE=lbry.tv
# OG
kauffj (Migrated from github.com) commented 2020-07-03 17:49:24 +02:00

And can we add TITLE_SUFFIX?

And can we add TITLE_SUFFIX?
kauffj (Migrated from github.com) reviewed 2020-07-03 17:51:23 +02:00
@ -12,0 +18,4 @@
SITE_NAME=LBRY
SITE_DESCRIPTION=Meet LBRY, an open, free, and community-controlled content wonderland.
LOGO_TITLE=lbry.tv
# OG
kauffj (Migrated from github.com) commented 2020-07-03 17:51:23 +02:00

OG_IMAGE_URL (PATH?)

OG_IMAGE_URL (PATH?)
jessopb commented 2020-07-07 16:20:35 +02:00 (Migrated from github.com)

Provides two ways to have custom og-image: webpack copies og-v2.png from custom, or set OG_IMAGE_URL in .env.
Adds rel=canonical config

Provides two ways to have custom og-image: webpack copies og-v2.png from custom, or set OG_IMAGE_URL in .env. Adds rel=canonical config
jessopb commented 2020-07-07 16:22:58 +02:00 (Migrated from github.com)

Must modify .env on prod (for matomo id) and lbrylat This is ready.

~~Must modify .env on prod (for matomo id) and lbrylat~~ This is ready.
neb-b commented 2020-07-07 18:22:23 +02:00 (Migrated from github.com)
https://lbry.tv/shipit
kauffj (Migrated from github.com) reviewed 2020-07-08 16:37:13 +02:00
@ -1,14 +1,38 @@
# Copy this file to .env to make modifications
# Base config
MATOMO_URL=https://analytics.lbry.com/
kauffj (Migrated from github.com) commented 2020-07-07 18:25:21 +02:00

Move this back down?

Move this back down?
@ -12,0 +24,4 @@
OG_HOMEPAGE_TITLE=lbry.tv
OG_IMAGE_URL=
SITE_CANONICAL_URL=https://lbry.tv
# LOCALE
kauffj (Migrated from github.com) commented 2020-07-07 18:25:43 +02:00

| lbry.tv (possibly put comment that there is no space)

| lbry.tv (possibly put comment that there is no space)
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#4455
No description provided.