Commit graph

42 commits

Author SHA1 Message Date
Rafael
c90efc2078 Add CommentCreate to Modal on Mobile
- Move stickers and emojis to a single menu comment-selectors on both mobile and desktop
- More style improvements
- Some fixes
- Fix livechat scrolling
2022-02-08 12:35:40 -05:00
infinite-persistence
4f8a4d30d8
Fix "don't cache html" meta tags (#721)
In 36fe7366, the approach to fix the "missing chunk" error and user using old code was to disable caching on the html so that user always grabs the one that's pointing to the latest ui.js.

But https://cristian.sulea.net/blog/disable-browser-caching-with-meta-html-tags/ says 3 sets of `meta` is needed to, and we missed out one. That probably explains why refreshing sometimes does not work, although I've also read that some browsers simply ignores these meta.
2022-01-17 08:48:45 -05:00
Thomas Zarebczan
352ee7bfaa
fix syntax 2021-11-19 11:30:28 -05:00
Thomas Zarebczan
95d7582f08
remove adsense 2021-11-19 10:57:55 -05:00
Thomas Zarebczan
cd0ec4dbcd
Add script for google ads 2021-11-05 21:01:22 -04:00
infinite-persistence
f6e60abbf5
Convert to GA4 format
- It is recommended to use "lowercase + underscore format" for events to keep things neat, since the dashboard will be mixed with Automated and Recommended events.

- GA4 event structure is no longer the same as UA's, and the recommendation is to retructure rather than trying to mimic the old pattern.

- Always check the Recommended events to see if there is an equivalent, and use the exact name. GA4 might add automated features for these events in the future, and we'll benefit from it without code changes and invalidating existing data.

- pageView: use default snippet behavior instead of manually sending
Start converting to GA4...

- Outbound click are automatically handled.
2021-10-17 20:45:40 +08:00
infinite-persistence
d3be8726fc
Add favicon for Google Search results (#7205)
- A side-quest from "7166 improve search metadata".
- The favicon must be from the same domain as the homepage, so the CDN URL couldn't be used, hence the additional upload.
- The favicon also needs to be multiples of 48x48 and above.
    - Wanted to use SVG for the smallest size possible, but seems like Safari does not fully support it. Got Dejan to give me a reasonably-sized PNG.

## Reference
https://developers.google.com/search/docs/advanced/appearance/favicon-in-search#guidelines
2021-10-01 08:09:02 -04:00
zeppi
1e9dabe6e2 favicon custom
html fav tag remove

basic meta favi

missing favicon

recon
2021-07-23 17:12:18 -04:00
infinite-persistence
73cf52426f
Preload fonts properly with 'crossorigin'
We probably don't need to preload fonts (it will reduce browser warnings), since it wasn't working all this while.

But it's probably there to address something (perhaps to handle OG better?), so do it right by setting the proper flags.
https://stackoverflow.com/questions/1330825/preloading-font-face-fonts/46830425#comment87712868_46830425
2021-07-20 15:49:27 +08:00
infinite-persistence
b326ad4ec1
Ensure index.html isn't cached
Part of the solution to handle `ChunkLoadError` in code-splitting.

https://raphael-leger.medium.com/react-webpack-chunkloaderror-loading-chunk-x-failed-ac385bd110e0

#codesplit
2021-07-08 14:52:30 +08:00
Anthony
42c319702a conditionally add metatags only if site title is odysee 2021-06-04 12:05:23 -04:00
Anthony
9798bf14f4 update icon and move serviceworker to root to fix scope 2021-06-04 12:05:23 -04:00
Anthony
ab83357fd0 add ios icons and update manifest 2021-06-04 12:05:23 -04:00
Anthony
2e5cfe7a1e add pwa to lbry-desktop 2021-06-04 12:05:23 -04:00
Sean Yesmunt
5447e334dc use dynamic js bundle urls 2020-08-19 17:14:31 -04:00
Sean Yesmunt
34b0bfc315 Revert "use dynamic js bundle urls"
This reverts commit cb8a801d4a.
2020-08-18 23:34:06 -04:00
Sean Yesmunt
cb8a801d4a use dynamic js bundle urls 2020-08-18 22:22:57 -04:00
sanabhass
2f16758794 Add direction 2020-07-29 17:54:10 -04:00
jessop
984b5d5661 review changes, simpilify env 2020-07-06 13:09:38 -04:00
Sean Yesmunt
ab5bd33597 update og image url 2020-06-30 19:28:40 -04:00
Sean Yesmunt
17d5c6d2ae put back frontend 2020-06-23 17:20:42 -04:00
Sean Yesmunt
138e1c4afe bring down frontend 2020-06-23 16:44:49 -04:00
Sean Yesmunt
5152e78f09 new og image 2020-04-30 14:33:21 -04:00
Sean Yesmunt
e9414aa967 i'm bad at this 2020-01-31 14:18:09 -05:00
Sean Yesmunt
decca2ed0a fix typo 2020-01-31 14:03:14 -05:00
Sean Yesmunt
53b7925dd2 rename og.png to v1-og.png 2020-01-31 14:01:11 -05:00
Sean Yesmunt
7aa4539016 improve how we add metadata _slightly_ and add custom metadata for invite links 2020-01-24 17:04:13 -05:00
Sean Yesmunt
86cfa746de mobile view 2019-12-20 15:03:18 -05:00
Sean Yesmunt
1752b4026f better webpack output structure and more robust path checking for cache-control 2019-12-12 16:41:02 -05:00
Sean Yesmunt
f3c5f03fa9 load fonts from html head 2019-12-12 16:41:02 -05:00
Sean Yesmunt
bb53e6bec0 smaller favicon 2019-12-12 16:41:02 -05:00
Sean Yesmunt
59e8d693de old uses of beta.lbry.tv 2019-11-14 12:06:59 -05:00
Jeremy Kauffman
fb0a256169
update og image 2019-11-14 10:31:40 -05:00
Jeremy Kauffman
3a0ccd0932
update meta 2019-11-14 10:30:54 -05:00
Jeremy Kauffman
7e2fb22836 no more js to load js 2019-11-13 09:53:01 -05:00
Jeremy Kauffman
8a2393cb67 proper default languages 2019-11-13 09:53:01 -05:00
peterjgrainger
1d053c5302 load translations before the application starts 2019-11-13 09:53:01 -05:00
Jeremy Kauffman
0b7e4a8bb0 fix metadata on homepage 2019-10-08 09:35:17 -04:00
Jeremy Kauffman
008f73fec2 proof of concept of i18n component
wherever I was

this is such a heap of shit but it technically works?

progress

working? but bad on desktop

use browser default for date time

fix language setting loading

fixes
2019-09-25 14:13:47 -04:00
Jeremy Kauffman
9394ce8779 add google code 2019-09-24 10:11:40 -04:00
Jeremy Kauffman
f270fe4d9d fixes several issues with lbry.tv metadata
fix env variable
2019-09-06 14:11:23 -04:00
Jeremy Kauffman
56c9a1ab41 fix metadata and add redirects
add redirect, other fixes

remove password

clean up / final version

clean up / final version
2019-08-28 12:02:07 -04:00