Commit graph

533 commits

Author SHA1 Message Date
infinite-persistence 2a6df18b72
ChannelThumbnail fixes (#6075)
* Restore "use cdn for channel thumbnails"

This reverts commit e7adc607fa.

* ChannelThumbnail: disable optimization in Channel Page and for GIFs

## Issue
5564: Don't use optimized URLs on channel pages (profile/banner)

## Notes
This is not the best/full solution yet, but it is better than what we have to today (one step in the right direction).

Optimized channel thumbnail size is currently hardcoded to a lowest common denominator.
- Pro(s):
  - For images used in multiple places (different sizes) in a page, the total time needed to get the optimized version for each size is too much. Also, the optimizer seems to increase the size of the image in some cases. So, getting 1 image and re-using it is faster for this scenario.
  - Simpler code (no need to mount first -> get dimension -> load image)
- Cons:
  - We aren't fully optimizing the size, so not really addressing Core Web Vitals score problem.
    - e.g. in the front page, we could have used a smaller image for the channel thumbnails.
  - We haven't address the problem with large screen sizes.

* Restore channel selector

This reverts b5cc0bb42d

* ChannelThumbnail: fix lazy-loading

- Closes 6066: Revisit lazy-loading Channel thumbnails
- Properly fixes 5933: Thumbnail lazy-load causes ChannelSelector icon to not update.
    - Add effect-dependency on `channelThumbnail` and `thumbError`.
- Really perform the lazy-loading now.
    - `data-src` was not used, so it wasn't actually lazy loading previously.
2021-05-17 15:51:21 -04:00
infinite-persistence 742110c81c Homepage|Discover: hide livestreams, then append active livestreams at the top.
This essentially hides inactive livestreams from the list.
2021-04-30 14:11:42 -04:00
infinite-persistence 0258c2d3c3 useGetLivestreams: add ability to filter by minimum viewers 2021-04-30 14:11:42 -04:00
infinite-persistence c2a766a3e8 ClaimListDiscover: repeat livestream-sorting changes in ClaimTilesDiscover 2021-04-30 14:11:42 -04:00
infinite-persistence 6ef42cd121 Run 'claim_search' with 'has_no_source' to bring up buried active livestreams.
Scenarios where active livestreams will not appear:
- creation date is way back.
- homepage section options excludes livestreams.

Make an explicit `claim_search` but with `has_no_source` if the client wants `liveLivestreamsFirst`.

If there are lots of channels with livestreams, there's a possibility that the final list will be larger than what was requested. We could trim it to be within the original `options.pageSize` range, but I left that out for now.
2021-04-30 14:11:42 -04:00
infinite-persistence 41380d20df Homepage: move "LIVE" livestreams to the front. 2021-04-30 14:11:42 -04:00
Sean Yesmunt 3808c61148 fetch notofication/categories for notification types dropdown 2021-04-30 12:45:46 -04:00
zeppi fe86010be5 More master reconciliation
rewards page recon

router recon

uEmailVerify recon

uPVerify recon

rm style

app/view recon

channel page recon

chanFol recon

syncPassword recon

fileDesc recon

web/redirect recon

wip

page/view recon
2021-04-27 23:05:38 -04:00
zeppi 6b307352d3 integrate some Odysee code with master
integrate analyticsjs

top page

buy page

reconcile help page

rec. constants

reconcile search page

search page

wip

wip
2021-04-27 19:56:30 -04:00
Sean Yesmunt 6d89f0df7e hyperchats 2021-04-23 16:20:17 -04:00
zeppi f5f3bf21ee bugfixes 2021-04-23 14:51:09 -04:00
zeppi f3463ebdeb use redux for livestream claim setup 2021-04-23 14:51:09 -04:00
zeppi 9b82f57006 livestream related publish fixes 2021-04-22 10:59:03 -04:00
infinite-persistence cb2c33a35f Implement ReportContent page 2021-04-21 10:49:31 -04:00
jessopb 989126c603
Feat publish replays on master (#5863)
* provide livestream replay publish via url
2021-04-14 00:06:11 -04:00
Sean Yesmunt 9f3d779cf2 add tags to mobile navigation and add manage tags link on tag page 2021-04-13 17:08:24 -04:00
infinite-persistence 7cf5c1f6fe CoinSwap: websocket + multi-coin
- For the active swap, switch from polling to websocket. The returned data is now the Charge data from the commerce, so some parsing will be required.

- Allow the user to send other coins that the commerce supports.

- Only save the 'chargeCode' to the wallet. The other data can be repopulated from this.

- Store the receipt currency. I'm not sure if the commerce supports sending bits from various coins. Take the coin that came with the 'COMPLETED' message for now.

- Fix 'lbc' calculation to match IAPI side.

- Allow users to see full detauls from "View Past Swaps".

- String cleanup

- GUI cleanup.
2021-04-13 14:02:25 -04:00
infinite-persistence 9c808e2b5e Implement Swap BTC page 2021-04-13 14:02:25 -04:00
infinite-persistence 8e6604cfa6 Add blank Swap page 2021-04-13 14:02:25 -04:00
infinite-persistence 28260c27d1 SendLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
infinite-persistence 5d31dc536c ReceiveLBC: switch from Modal to Page 2021-04-13 14:02:25 -04:00
Sean Yesmunt ae980bc142 use isChannel from parseURI 2021-04-12 12:24:04 -04:00
zeppi 57dfaab1ea fix show yrbl empty 2021-04-12 12:24:04 -04:00
zeppi eea3497845 fix publish something empty 2021-04-12 12:24:04 -04:00
infinite-persistence 3bab4feeca Update GUI to use queried notification filter.
- Re-organize the return statement of 'NotificationsPage' a bit, otherwise the entire page will reload (blink) every time the drop-down value is changed due to the 'fetching' flag.

- Retained the original behavior of (only showing a blank page + spinner) on the very first load. I think there is merit in not showing the buttons immediately (e.g. when not logged in and `/$/notifications` is accessed directly).
2021-04-08 14:28:21 -04:00
seanyesmunt 6718f153a9 style pass 2021-04-07 12:08:17 -04:00
infinite-persistence 72443d4d2e Reset the search page when options changed. 2021-04-07 12:08:17 -04:00
infinite-persistence 855ae15a27 Search: infinite scroll 2021-04-07 12:08:17 -04:00
infinite-persistence 5421a64b65 Revamp search filters
## Issue
4945: Simplify / revamp search filters for odysee (and lbry.tv)

## Changes
- Tweaked the "claim type = file | channel | everything" a little to hopefully make it more intuitive.
- Added "Sort By".
- Added "Upload Date".
- Fixed the affected files to handle both Desktop and Odysee.
- Tweaked the layout to be more condensed so that we can see some results as we change the filter.
- Added animations.
- Added "Exact match" option that helps user to surround with quotes.
2021-04-07 12:08:17 -04:00
Stefan Sundin aff8cfdf9c Fix the "Automatic dark mode" labels having the same name. Now the correct input is selected when clicking the "To" label. 2021-04-06 13:00:10 -04:00
Stefan Sundin 56d4a677a5 Also format the "Automatic dark mode" clocks. 2021-04-06 13:00:10 -04:00
Stefan Sundin 039264531f Add 24-hour clock setting. 2021-04-06 13:00:10 -04:00
zeppi 3c3fc90b6a review changes 2021-04-05 13:26:52 -04:00
zeppi 9468f2b0f2 update master with some odysee changes 2021-04-05 13:26:52 -04:00
Sean Yesmunt 03ef30eb40 claim email_verified reward on channel/new page 2021-04-04 22:16:45 -04:00
Sean Yesmunt 991b45d831 fix typo
took commit from #5790 since it was merging into the odysee branch
2021-04-02 16:17:50 -04:00
jessopb 9cd86be04f
use show mature selector (#5803) 2021-03-31 16:55:26 -04:00
zeppi ad10250e16 review changes 2021-03-26 18:43:09 -04:00
zeppi c546589cc5 copy changes 2021-03-26 18:43:09 -04:00
zeppi f691643eb7 ls help title copy 2021-03-26 18:43:09 -04:00
zeppi 6c137fc0fd improve loading for livestream setup 2021-03-26 18:43:09 -04:00
zeppi 76a5fe0d83 add help to livestream setup 2021-03-26 18:43:09 -04:00
zeppi f091da3c54 use new isLivestream (placeholder stream) selector 2021-03-25 20:14:24 -04:00
zeppi da60104c96 pending and publish 2021-03-25 16:40:17 -04:00
zeppi 995f51711f use pending livestreams on dash, filter modes 2021-03-24 13:36:50 -04:00
zeppi f2e17f8566 fix dmca 2021-03-22 21:19:53 -04:00
DispatchCommit ec996d8bf7 this has to fix the linting issue 2021-03-22 15:48:56 -07:00
DispatchCommit 49395a8a05 remove unused import 2021-03-22 15:30:28 -07:00
DispatchCommit 8ae7247c35 remove unused variables from LiveStreamSetup 2021-03-22 15:30:27 -07:00
DispatchCommit 1e0afd1b86 Add live detection to livestream page
- reduce interval from 15 seconds to 10 seconds
2021-03-22 15:30:24 -07:00
Sean Yesmunt ca569dc4a7 wire up bitwave api 2021-03-22 15:30:21 -07:00
Sean Yesmunt 6d07d1b672 reset livestream claims when active channel changes 2021-03-22 15:30:18 -07:00
Sean Yesmunt 0f24f3fdfd use has_no_source to check if claim is a livestream 2021-03-22 15:30:16 -07:00
Sean Yesmunt fe3eb1e4c6 fix typo 2021-03-22 15:30:12 -07:00
Sean Yesmunt 3aead19b47 style cleanup 2021-03-22 15:30:11 -07:00
Sean Yesmunt 372c6d0d9f rename livestream + livestreamsetup pages 2021-03-22 15:30:09 -07:00
DispatchCommit 17d0d9f1e0 default livestream calims state to empty array 2021-03-22 15:30:08 -07:00
DispatchCommit 99ec447bee show list of live stream claims 2021-03-22 15:30:07 -07:00
DispatchCommit 2ac5ad0201 fix minor bugs
- remove anon option in channel dropdown when livestream tab is selected
- attempt to fill publish form with current active channel name just prior to publishing to (edge condition)
  - edge condition occurs when user fills out form fully. User switches to Post (which allows anon in drop down selector). User selects Anon channel, then switches back to the livestream tab. The form was previously updated with `channel: undefined` but does not get changed when clicking the livestream tab. So we just updated the form one last time prior to publishing as a livestream
- Show most recent livestream claim on livestream setup page instead of first livestream claim
2021-03-22 15:30:05 -07:00
DispatchCommit 70575edfb4 Add link to create livestream claim 2021-03-22 15:30:04 -07:00
Sean Yesmunt 73f593ddb3 bring in livestream changes from odysee 2021-03-22 15:30:01 -07:00
DispatchCommit 1ef44ce199 Add channel name hex data to streamkey
Also adds individual debug fields to help when debugging a channel verify currently
2021-03-22 15:30:00 -07:00
DispatchCommit 02c0882d90 Create livestream page and generate signed streamkey 2021-03-22 15:29:59 -07:00
infinite-persistence 945a5365f9 Corrected channel_language order 2021-03-21 20:00:16 -04:00
infinite-persistence 035f04fb3e YT-Sync: Add field to select channel
## Issue
Closes 5537: Allow youtube sync new pass language to api

## Notes
- Default language for the selector comes from browser (`navigator.language`)
2021-03-21 20:00:16 -04:00
Sean Yesmunt 63453284dd add lbry.tv is shutting down message 2021-03-19 17:58:05 -04:00
infinite-persistence 39790d800a i18n: Notification setting strings 2021-03-19 11:27:10 -04:00
Sean Yesmunt 2ddfde1480 use button-toggle group for page title 2021-03-16 12:04:39 -04:00
infinite-persistence 475256e63a Uploads: Add 'All,Uploads,Reposts' filter
## Issue
- Closes item 2 of 4563: Publish page + reposts
- Requires [lbry-redux::392](https://github.com/lbryio/lbry-redux/pull/392/files)

Also removed the redundant double spinner.
2021-03-16 12:04:39 -04:00
Sean Yesmunt 7dccba5813 only use new post styling for markdown 2021-03-12 11:54:37 -05:00
Sean Yesmunt bd42418ff3 hide notification filter on mobile 2021-03-12 08:51:50 -05:00
infinite-persistence 4cc2f28f3d Notification: re-order header and actions to look like Uploads page. 2021-03-12 08:51:50 -05:00
infinite-persistence 7a66be1d54 Add filtering on notifications page - 5193
## Issue
Closes 5193: Add filtering on notifications page

## Approach
- Add a combo box, and simply filter out the notifications based on the combo box value.
- Selection state is persistent, but reset to All if there are unread ones when entering the page.
- Tell the user that "no notifications" could be due to the filter.
2021-03-12 08:51:50 -05:00
Sean Yesmunt 7702477e71 better posts styling 2021-03-11 14:12:59 -05:00
infinite-persistence 35955f067d Add SITE_HELP_EMAIL in strings to ease Odysee string merge and maintenance. 2021-03-08 11:33:33 -05:00
Sean Yesmunt e2bd128cc4 show click through on channel page for muted channels too 2021-03-05 16:51:38 -05:00
Sean Yesmunt 84bab875bc improve mobile style and initial blocked screen loading 2021-03-05 16:51:38 -05:00
Sean Yesmunt ea74a66dbd
New moderation tools: block & mute (#5572)
* initial support for block/mute

* hide blocked + muted content everywhere

* add info message for blocked/muted characteristics

* sort blocked list by most recent block first

* add 'blocked' message on channel page for channels that you have blocked

* cleanup

* delete unused files

* always pass mute/block list to claim_search on homepage

* PR cleanup
2021-03-03 13:50:16 -05:00
Sean Yesmunt 3fba7f0797 show file page even if blacklistedOutpoints is empty 2021-03-03 11:04:47 -05:00
infinite-persistence 3d6304bc25 Revert optimized URLs on channel banner.
## Issue
5564: Don't use optimized URLs on channel pages (profile/banner)
2021-02-23 12:53:16 -05:00
Sean Yesmunt 09b689ba1c add channel staked amount indicator on channel thumbnails 2021-02-18 01:14:39 -05:00
Sean Yesmunt 1f117e43bd add initial support for comment API outside of SDK 2021-02-11 10:45:34 -05:00
Sean Yesmunt db87125dc8 refactor 'active' channel usage across the app 2021-02-11 10:45:34 -05:00
Sean Yesmunt 03f419a49c use totalBalance for check to show empty wallet page or not 2021-02-05 13:12:15 -05:00
zeppi 40408e25be review changes 2021-02-04 20:55:36 -05:00
zeppi a85c9a1f48 provide tags for disabling comments 2021-02-04 20:55:36 -05:00
johnspirit e95896fd08 fix wrong word to 2021-02-03 23:39:40 -05:00
infiinte-persistence 64874c773b Search: Get uris with same query as doSearch
## Issue
2731: Searches with forward slashes returns no results

## Change
The slash-removal came from (0db20834f9).

Removing the 2 `replace(/\//, ' ')` from lbry-desktop fixes it, but this PR assumes the slash-removal is intentional to cover something else. So, we'll make the Search side do the same thing to match what's happening in `doSearch`.

A little bit ugly, but there's already a comment about this in `makeSelectSearchUris`, so it'll probably get cleaned up in the future.
2021-02-02 15:08:52 -05:00
Sean Yesmunt 19275f8f3d flowfixme 2021-02-01 13:50:16 -05:00
DispatchCommit 599f9e106e use smooth scrolling
Tells browser to use smooth scrolling to animate scroll
https://developer.mozilla.org/en-US/docs/Web/API/Window/scrollTo
2021-02-01 13:50:16 -05:00
zeppi d04b0f09ba fix ad areas and drivers 2021-01-26 19:39:22 -05:00
Sean Yesmunt 5420a6a887 show total balance on wallet page/header 2021-01-22 11:46:27 -05:00
Franco Montenegro d9b8f0310a Fix nsfw parameter in search page 2021-01-13 14:56:12 -05:00
Sean Yesmunt 65709e1139 Revert "Fix nsfw parameter in search page"
This reverts commit 4f1bd23442.
2021-01-11 15:01:40 -05:00
Franco Montenegro 4f1bd23442 Fix nsfw parameter in search page 2021-01-11 10:32:14 -05:00
Sean Yesmunt d43c4d053e add video theater mode button 2021-01-08 08:27:41 -07:00
zeppi ad420670a7 changes, bump 2020-12-28 15:00:15 -05:00
zeppi 30a9bb010f show loading while searching
fixes

bump

bump
2020-12-28 15:00:15 -05:00
zeppi cbe4cb1cf1 i18n homepage sections 2020-12-23 09:45:45 -05:00
Sean Yesmunt a0123c2a6f fix earnings per view style 2020-12-21 22:12:21 -05:00