2019-06-11 20:10:58 +02:00
|
|
|
// @flow
|
2021-03-18 16:41:21 +01:00
|
|
|
import { ENABLE_NO_SOURCE_CLAIMS } from 'config';
|
2019-06-17 22:32:38 +02:00
|
|
|
import type { Node } from 'react';
|
2020-08-21 17:49:13 +02:00
|
|
|
import * as CS from 'constants/claim_search';
|
|
|
|
import React from 'react';
|
2020-06-14 19:57:31 +02:00
|
|
|
import usePersistedState from 'effects/use-persisted-state';
|
2019-07-17 22:49:06 +02:00
|
|
|
import { withRouter } from 'react-router';
|
2019-07-31 21:07:26 +02:00
|
|
|
import { createNormalizedClaimSearchKey, MATURE_TAGS } from 'lbry-redux';
|
2019-08-15 00:32:55 +02:00
|
|
|
import Button from 'component/button';
|
2019-07-17 22:49:06 +02:00
|
|
|
import moment from 'moment';
|
2019-06-19 07:05:43 +02:00
|
|
|
import ClaimList from 'component/claimList';
|
2019-06-27 08:18:45 +02:00
|
|
|
import ClaimPreview from 'component/claimPreview';
|
2020-08-26 23:16:45 +02:00
|
|
|
import ClaimPreviewTile from 'component/claimPreviewTile';
|
2019-11-13 19:11:51 +01:00
|
|
|
import I18nMessage from 'component/i18nMessage';
|
2020-08-21 17:49:13 +02:00
|
|
|
import ClaimListHeader from 'component/claimListHeader';
|
2020-09-08 22:41:05 +02:00
|
|
|
import { useIsLargeScreen } from 'effects/use-screensize';
|
2021-05-15 07:52:24 +02:00
|
|
|
import { getLivestreamOnlyOptions } from 'util/search';
|
2019-06-11 20:10:58 +02:00
|
|
|
|
|
|
|
type Props = {
|
|
|
|
uris: Array<string>,
|
2021-04-06 20:59:12 +02:00
|
|
|
showHeader: boolean,
|
|
|
|
type: string,
|
2019-07-01 03:52:38 +02:00
|
|
|
subscribedChannels: Array<Subscription>,
|
2019-07-11 20:06:25 +02:00
|
|
|
doClaimSearch: ({}) => void,
|
2019-06-11 20:10:58 +02:00
|
|
|
loading: boolean,
|
2019-07-17 22:49:06 +02:00
|
|
|
personalView: boolean,
|
2021-05-15 07:52:24 +02:00
|
|
|
doToggleTagFollowDesktop: (string) => void,
|
2019-06-17 22:32:38 +02:00
|
|
|
meta?: Node,
|
2019-07-03 06:43:32 +02:00
|
|
|
showNsfw: boolean,
|
2020-04-15 18:43:22 +02:00
|
|
|
hideReposts: boolean,
|
2021-05-15 07:52:24 +02:00
|
|
|
history: { action: string, push: (string) => void, replace: (string) => void },
|
2019-07-17 22:49:06 +02:00
|
|
|
location: { search: string, pathname: string },
|
|
|
|
claimSearchByQuery: {
|
|
|
|
[string]: Array<string>,
|
|
|
|
},
|
2020-07-12 08:28:41 +02:00
|
|
|
claimSearchByQueryLastPageReached: { [string]: boolean },
|
2021-03-03 19:50:16 +01:00
|
|
|
mutedUris: Array<string>,
|
|
|
|
blockedUris: Array<string>,
|
2019-10-14 03:19:24 +02:00
|
|
|
hiddenNsfwMessage?: Node,
|
2020-01-02 17:30:27 +01:00
|
|
|
channelIds?: Array<string>,
|
2020-09-30 20:46:17 +02:00
|
|
|
claimIds?: Array<string>,
|
2020-03-12 02:43:52 +01:00
|
|
|
tags: string, // these are just going to be string. pass a CSV if you want multi
|
|
|
|
defaultTags: string,
|
2020-02-10 20:43:24 +01:00
|
|
|
orderBy?: Array<string>,
|
|
|
|
defaultOrderBy?: string,
|
|
|
|
freshness?: string,
|
|
|
|
defaultFreshness?: string,
|
2020-02-11 20:04:51 +01:00
|
|
|
header?: Node,
|
2020-01-02 21:36:03 +01:00
|
|
|
headerLabel?: string | Node,
|
2020-02-11 20:04:51 +01:00
|
|
|
name?: string,
|
2020-09-30 20:46:17 +02:00
|
|
|
hideAdvancedFilter?: boolean,
|
2021-03-26 00:52:28 +01:00
|
|
|
claimType?: string | Array<string>,
|
2020-02-28 22:52:42 +01:00
|
|
|
defaultClaimType?: Array<string>,
|
2020-02-10 20:43:24 +01:00
|
|
|
streamType?: string | Array<string>,
|
|
|
|
defaultStreamType?: string | Array<string>,
|
2021-05-15 07:52:24 +02:00
|
|
|
renderProperties?: (Claim) => Node,
|
2020-02-12 19:59:48 +01:00
|
|
|
includeSupportAction?: boolean,
|
2020-03-19 17:54:37 +01:00
|
|
|
repostedClaimId?: string,
|
2020-02-28 22:52:42 +01:00
|
|
|
pageSize?: number,
|
2020-03-12 02:43:52 +01:00
|
|
|
followedTags?: Array<Tag>,
|
2020-03-26 22:47:07 +01:00
|
|
|
injectedItem: ?Node,
|
2020-04-22 14:07:09 +02:00
|
|
|
infiniteScroll?: Boolean,
|
2020-05-21 17:38:28 +02:00
|
|
|
feeAmount?: string,
|
2020-08-21 17:49:13 +02:00
|
|
|
tileLayout: boolean,
|
2020-10-02 19:48:28 +02:00
|
|
|
hideFilters?: boolean,
|
2020-09-30 20:46:17 +02:00
|
|
|
maxPages?: number,
|
|
|
|
forceShowReposts?: boolean,
|
2020-10-15 19:56:55 +02:00
|
|
|
languageSetting: string,
|
|
|
|
searchInLanguage: boolean,
|
2020-11-25 18:09:58 +01:00
|
|
|
scrollAnchor?: string,
|
2021-03-03 19:50:16 +01:00
|
|
|
showHiddenByUser?: boolean,
|
2021-04-29 09:22:56 +02:00
|
|
|
liveLivestreamsFirst?: boolean,
|
|
|
|
livestreamMap?: { [string]: any },
|
2021-04-29 11:33:24 +02:00
|
|
|
hasSource?: boolean,
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
limitClaimsPerChannel?: number,
|
|
|
|
releaseTime?: string,
|
|
|
|
hideLivestreamClaims?: boolean,
|
2021-05-15 07:53:56 +02:00
|
|
|
isChannel?: boolean,
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
// channelIsMine?: boolean, //CHECK
|
2021-06-10 23:01:32 +02:00
|
|
|
empty?: string,
|
2019-06-11 20:10:58 +02:00
|
|
|
};
|
|
|
|
|
2019-06-19 07:05:43 +02:00
|
|
|
function ClaimListDiscover(props: Props) {
|
2019-07-17 22:49:06 +02:00
|
|
|
const {
|
|
|
|
doClaimSearch,
|
|
|
|
claimSearchByQuery,
|
2021-04-06 20:59:12 +02:00
|
|
|
showHeader = true,
|
|
|
|
type,
|
2020-07-12 08:28:41 +02:00
|
|
|
claimSearchByQueryLastPageReached,
|
2019-07-17 22:49:06 +02:00
|
|
|
tags,
|
2020-03-12 02:43:52 +01:00
|
|
|
defaultTags,
|
2019-07-17 22:49:06 +02:00
|
|
|
loading,
|
|
|
|
meta,
|
2020-01-02 17:30:27 +01:00
|
|
|
channelIds,
|
2019-07-17 22:49:06 +02:00
|
|
|
showNsfw,
|
2020-04-15 18:43:22 +02:00
|
|
|
hideReposts,
|
2019-07-17 22:49:06 +02:00
|
|
|
history,
|
|
|
|
location,
|
2021-03-03 19:50:16 +01:00
|
|
|
mutedUris,
|
|
|
|
blockedUris,
|
2019-10-14 03:19:24 +02:00
|
|
|
hiddenNsfwMessage,
|
2020-02-11 20:04:51 +01:00
|
|
|
defaultOrderBy,
|
2020-02-10 20:43:24 +01:00
|
|
|
orderBy,
|
2020-01-02 21:36:03 +01:00
|
|
|
headerLabel,
|
2020-02-11 20:04:51 +01:00
|
|
|
header,
|
|
|
|
name,
|
2020-02-21 17:33:14 +01:00
|
|
|
claimType,
|
2020-02-26 19:39:03 +01:00
|
|
|
pageSize,
|
2020-02-10 20:43:24 +01:00
|
|
|
defaultClaimType,
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
streamType = CS.FILE_VIDEO,
|
|
|
|
defaultStreamType = CS.FILE_VIDEO,
|
2020-02-10 20:43:24 +01:00
|
|
|
freshness,
|
2020-02-27 23:15:17 +01:00
|
|
|
defaultFreshness = CS.FRESH_WEEK,
|
2020-02-11 20:04:51 +01:00
|
|
|
renderProperties,
|
2020-02-12 19:59:48 +01:00
|
|
|
includeSupportAction,
|
2020-03-19 17:54:37 +01:00
|
|
|
repostedClaimId,
|
2020-09-30 20:46:17 +02:00
|
|
|
hideAdvancedFilter,
|
2020-04-22 14:07:09 +02:00
|
|
|
infiniteScroll = true,
|
2020-03-12 02:43:52 +01:00
|
|
|
followedTags,
|
2020-03-26 22:47:07 +01:00
|
|
|
injectedItem,
|
2020-05-21 17:38:28 +02:00
|
|
|
feeAmount,
|
2020-06-18 17:10:46 +02:00
|
|
|
uris,
|
2020-08-21 17:49:13 +02:00
|
|
|
tileLayout,
|
2020-10-02 19:48:28 +02:00
|
|
|
hideFilters = false,
|
2020-09-30 20:46:17 +02:00
|
|
|
claimIds,
|
|
|
|
maxPages,
|
|
|
|
forceShowReposts = false,
|
2020-10-15 19:56:55 +02:00
|
|
|
languageSetting,
|
|
|
|
searchInLanguage,
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
limitClaimsPerChannel,
|
|
|
|
releaseTime,
|
2020-11-25 18:09:58 +01:00
|
|
|
scrollAnchor,
|
2021-03-03 19:50:16 +01:00
|
|
|
showHiddenByUser = false,
|
2021-04-29 09:22:56 +02:00
|
|
|
liveLivestreamsFirst,
|
|
|
|
livestreamMap,
|
2021-04-29 11:33:24 +02:00
|
|
|
hasSource,
|
2021-05-15 07:53:56 +02:00
|
|
|
isChannel = false,
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
// channelIsMine = false, //RBCHECK that ClaimList handles this
|
|
|
|
hideLivestreamClaims,
|
2021-06-10 23:01:32 +02:00
|
|
|
empty,
|
2019-07-17 22:49:06 +02:00
|
|
|
} = props;
|
|
|
|
const didNavigateForward = history.action === 'PUSH';
|
2019-09-11 20:29:20 +02:00
|
|
|
const { search } = location;
|
2020-08-21 17:49:13 +02:00
|
|
|
const [page, setPage] = React.useState(1);
|
|
|
|
const [forceRefresh, setForceRefresh] = React.useState();
|
2020-09-08 22:41:05 +02:00
|
|
|
const isLargeScreen = useIsLargeScreen();
|
2020-07-11 16:19:30 +02:00
|
|
|
const [orderParamEntry, setOrderParamEntry] = usePersistedState(`entry-${location.pathname}`, CS.ORDER_BY_TRENDING);
|
2020-06-14 19:57:31 +02:00
|
|
|
const [orderParamUser, setOrderParamUser] = usePersistedState(`orderUser-${location.pathname}`, CS.ORDER_BY_TRENDING);
|
2021-05-15 07:52:24 +02:00
|
|
|
const followed = (followedTags && followedTags.map((t) => t.name)) || [];
|
2019-07-17 22:49:06 +02:00
|
|
|
const urlParams = new URLSearchParams(search);
|
2020-03-12 02:43:52 +01:00
|
|
|
const tagsParam = // can be 'x,y,z' or 'x' or ['x','y'] or CS.CONSTANT
|
|
|
|
(tags && getParamFromTags(tags)) ||
|
|
|
|
(urlParams.get(CS.TAGS_KEY) !== null && urlParams.get(CS.TAGS_KEY)) ||
|
|
|
|
(defaultTags && getParamFromTags(defaultTags));
|
2020-02-27 23:15:17 +01:00
|
|
|
const freshnessParam = freshness || urlParams.get(CS.FRESH_KEY) || defaultFreshness;
|
2021-05-15 07:52:24 +02:00
|
|
|
const mutedAndBlockedChannelIds = Array.from(new Set(mutedUris.concat(blockedUris).map((uri) => uri.split('#')[1])));
|
2020-10-15 19:56:55 +02:00
|
|
|
|
|
|
|
const langParam = urlParams.get(CS.LANGUAGE_KEY) || null;
|
2020-11-14 00:17:09 +01:00
|
|
|
const languageParams = searchInLanguage
|
2020-10-15 19:56:55 +02:00
|
|
|
? langParam === null
|
2020-11-14 00:17:09 +01:00
|
|
|
? languageSetting.concat(languageSetting === 'en' ? ',none' : '')
|
2020-10-15 19:56:55 +02:00
|
|
|
: langParam === 'any'
|
|
|
|
? null
|
2020-11-14 00:17:09 +01:00
|
|
|
: langParam.concat(langParam === 'en' ? ',none' : '')
|
2020-10-15 19:56:55 +02:00
|
|
|
: langParam === null
|
|
|
|
? null
|
|
|
|
: langParam === 'any'
|
|
|
|
? null
|
2020-11-14 00:17:09 +01:00
|
|
|
: langParam.concat(langParam === 'en' ? ',none' : '');
|
2020-10-15 19:56:55 +02:00
|
|
|
|
2020-02-10 20:43:24 +01:00
|
|
|
const contentTypeParam = urlParams.get(CS.CONTENT_KEY);
|
|
|
|
const claimTypeParam =
|
|
|
|
claimType || (CS.CLAIM_TYPES.includes(contentTypeParam) && contentTypeParam) || defaultClaimType || null;
|
|
|
|
const streamTypeParam =
|
|
|
|
streamType || (CS.FILE_TYPES.includes(contentTypeParam) && contentTypeParam) || defaultStreamType || null;
|
|
|
|
const durationParam = urlParams.get(CS.DURATION_KEY) || null;
|
2020-05-21 17:38:28 +02:00
|
|
|
const channelIdsInUrl = urlParams.get(CS.CHANNEL_IDS_KEY);
|
|
|
|
const channelIdsParam = channelIdsInUrl ? channelIdsInUrl.split(',') : channelIds;
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
const feeAmountParam = urlParams.get('fee_amount') || feeAmount || CS.FEE_AMOUNT_ONLY_FREE;
|
2020-09-08 22:41:05 +02:00
|
|
|
const originalPageSize = pageSize || CS.PAGE_SIZE;
|
2020-10-05 19:44:21 +02:00
|
|
|
const dynamicPageSize = isLargeScreen ? Math.ceil(originalPageSize * (3 / 2)) : originalPageSize;
|
2020-12-01 18:56:59 +01:00
|
|
|
const historyAction = history.action;
|
|
|
|
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
let orderParam = orderBy || urlParams.get(CS.ORDER_BY_KEY) || defaultOrderBy || orderParamEntry;
|
2020-11-20 17:46:26 +01:00
|
|
|
|
2020-06-14 19:57:31 +02:00
|
|
|
if (!orderParam) {
|
2020-12-01 18:56:59 +01:00
|
|
|
if (historyAction === 'POP') {
|
2020-06-14 19:57:31 +02:00
|
|
|
// Reaching here means user have popped back to the page's entry point (e.g. '/$/tags' without any '?order=').
|
|
|
|
orderParam = orderParamEntry;
|
|
|
|
} else {
|
|
|
|
// This is the direct entry into the page, so we load the user's previous value.
|
|
|
|
orderParam = orderParamUser;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-21 17:49:13 +02:00
|
|
|
React.useEffect(() => {
|
2020-06-14 19:57:31 +02:00
|
|
|
setOrderParamUser(orderParam);
|
2020-12-01 18:56:59 +01:00
|
|
|
}, [orderParam, setOrderParamUser]);
|
2020-06-14 19:57:31 +02:00
|
|
|
|
2020-08-21 17:49:13 +02:00
|
|
|
React.useEffect(() => {
|
2020-06-14 19:57:31 +02:00
|
|
|
// One-time update to stash the finalized 'orderParam' at entry.
|
2020-12-01 18:56:59 +01:00
|
|
|
if (historyAction !== 'POP') {
|
2020-07-11 16:19:30 +02:00
|
|
|
setOrderParamEntry(orderParam);
|
|
|
|
}
|
2020-12-01 18:56:59 +01:00
|
|
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
|
|
}, [historyAction, setOrderParamEntry]);
|
2020-06-14 19:57:31 +02:00
|
|
|
|
2020-03-19 17:54:37 +01:00
|
|
|
let options: {
|
2019-07-17 22:49:06 +02:00
|
|
|
page_size: number,
|
|
|
|
page: number,
|
|
|
|
no_totals: boolean,
|
2020-03-12 02:43:52 +01:00
|
|
|
any_tags?: Array<string>,
|
2020-10-15 19:56:55 +02:00
|
|
|
any_languages?: Array<string>,
|
2020-02-10 20:43:24 +01:00
|
|
|
not_tags: Array<string>,
|
2020-10-02 19:48:28 +02:00
|
|
|
channel_ids?: Array<string>,
|
2020-09-30 20:46:17 +02:00
|
|
|
claim_ids?: Array<string>,
|
2021-05-15 07:53:56 +02:00
|
|
|
not_channel_ids?: Array<string>,
|
2019-07-17 22:49:06 +02:00
|
|
|
order_by: Array<string>,
|
|
|
|
release_time?: string,
|
2021-03-26 00:52:28 +01:00
|
|
|
claim_type?: string | Array<string>,
|
2020-02-11 20:04:51 +01:00
|
|
|
name?: string,
|
2020-02-10 20:43:24 +01:00
|
|
|
duration?: string,
|
2020-03-24 17:31:23 +01:00
|
|
|
reposted_claim_id?: string,
|
2020-02-10 20:43:24 +01:00
|
|
|
stream_types?: any,
|
2020-05-21 17:38:28 +02:00
|
|
|
fee_amount?: string,
|
2021-03-18 16:41:21 +01:00
|
|
|
has_source?: boolean,
|
|
|
|
has_no_source?: boolean,
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
limit_claims_per_channel?: number,
|
2019-07-17 22:49:06 +02:00
|
|
|
} = {
|
2020-09-08 22:41:05 +02:00
|
|
|
page_size: dynamicPageSize,
|
2019-07-17 22:49:06 +02:00
|
|
|
page,
|
2020-02-11 20:04:51 +01:00
|
|
|
name,
|
2020-02-28 18:12:19 +01:00
|
|
|
claim_type: claimType || undefined,
|
2019-07-17 22:49:06 +02:00
|
|
|
// no_totals makes it so the sdk doesn't have to calculate total number pages for pagination
|
|
|
|
// it's faster, but we will need to remove it if we start using total_pages
|
|
|
|
no_totals: true,
|
2021-05-15 07:53:56 +02:00
|
|
|
not_channel_ids: isChannel ? undefined : mutedAndBlockedChannelIds,
|
2019-07-17 22:49:06 +02:00
|
|
|
not_tags: !showNsfw ? MATURE_TAGS : [],
|
|
|
|
order_by:
|
2020-02-10 20:43:24 +01:00
|
|
|
orderParam === CS.ORDER_BY_TRENDING
|
|
|
|
? CS.ORDER_BY_TRENDING_VALUE
|
|
|
|
: orderParam === CS.ORDER_BY_NEW
|
|
|
|
? CS.ORDER_BY_NEW_VALUE
|
|
|
|
: CS.ORDER_BY_TOP_VALUE, // Sort by top
|
2019-07-17 22:49:06 +02:00
|
|
|
};
|
2020-03-19 17:54:37 +01:00
|
|
|
|
2021-04-29 11:33:24 +02:00
|
|
|
if (hasSource || (!ENABLE_NO_SOURCE_CLAIMS && (!claimType || claimType === CS.CLAIM_STREAM))) {
|
2021-03-17 18:49:55 +01:00
|
|
|
options.has_source = true;
|
2021-03-18 16:41:21 +01:00
|
|
|
}
|
|
|
|
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
if (limitClaimsPerChannel) {
|
|
|
|
options.limit_claims_per_channel = limitClaimsPerChannel;
|
|
|
|
}
|
|
|
|
|
2020-10-22 18:59:41 +02:00
|
|
|
if (feeAmountParam && claimType !== CS.CLAIM_CHANNEL) {
|
|
|
|
options.fee_amount = feeAmountParam;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (claimIds) {
|
|
|
|
options.claim_ids = claimIds;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (channelIdsParam) {
|
|
|
|
options.channel_ids = channelIdsParam;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (tagsParam) {
|
|
|
|
if (tagsParam !== CS.TAGS_ALL && tagsParam !== '') {
|
|
|
|
if (tagsParam === CS.TAGS_FOLLOWED) {
|
|
|
|
options.any_tags = followed;
|
|
|
|
} else if (Array.isArray(tagsParam)) {
|
|
|
|
options.any_tags = tagsParam;
|
|
|
|
} else {
|
|
|
|
options.any_tags = tagsParam.split(',');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-19 17:54:37 +01:00
|
|
|
if (repostedClaimId) {
|
|
|
|
// SDK chokes on reposted_claim_id of null or false, needs to not be present if no value
|
|
|
|
options.reposted_claim_id = repostedClaimId;
|
|
|
|
}
|
|
|
|
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
// IF release time, set it, else set fallback release times using the hack below.
|
|
|
|
if (releaseTime) {
|
|
|
|
options.release_time = releaseTime;
|
|
|
|
} else if (claimType !== CS.CLAIM_CHANNEL) {
|
2020-10-02 19:48:28 +02:00
|
|
|
if (orderParam === CS.ORDER_BY_TOP && freshnessParam !== CS.FRESH_ALL) {
|
2021-05-15 07:52:24 +02:00
|
|
|
options.release_time = `>${Math.floor(moment().subtract(1, freshnessParam).startOf('hour').unix())}`;
|
2020-10-02 19:48:28 +02:00
|
|
|
} else if (orderParam === CS.ORDER_BY_NEW || orderParam === CS.ORDER_BY_TRENDING) {
|
|
|
|
// Warning - hack below
|
|
|
|
// If users are following more than 10 channels or tags, limit results to stuff less than a year old
|
|
|
|
// For more than 20, drop it down to 6 months
|
|
|
|
// This helps with timeout issues for users that are following a ton of stuff
|
|
|
|
// https://github.com/lbryio/lbry-sdk/issues/2420
|
|
|
|
if (
|
|
|
|
(options.channel_ids && options.channel_ids.length > 20) ||
|
|
|
|
(options.any_tags && options.any_tags.length > 20)
|
|
|
|
) {
|
2021-05-15 07:52:24 +02:00
|
|
|
options.release_time = `>${Math.floor(moment().subtract(3, CS.FRESH_MONTH).startOf('week').unix())}`;
|
2020-10-02 19:48:28 +02:00
|
|
|
} else if (
|
|
|
|
(options.channel_ids && options.channel_ids.length > 10) ||
|
|
|
|
(options.any_tags && options.any_tags.length > 10)
|
|
|
|
) {
|
2021-05-15 07:52:24 +02:00
|
|
|
options.release_time = `>${Math.floor(moment().subtract(1, CS.FRESH_YEAR).startOf('week').unix())}`;
|
2020-11-19 19:27:16 +01:00
|
|
|
} else {
|
|
|
|
// Hack for at least the New page until https://github.com/lbryio/lbry-sdk/issues/2591 is fixed
|
2021-05-15 07:52:24 +02:00
|
|
|
options.release_time = `<${Math.floor(moment().startOf('minute').unix())}`;
|
2020-10-02 19:48:28 +02:00
|
|
|
}
|
2020-01-24 21:38:33 +01:00
|
|
|
}
|
2019-07-17 22:49:06 +02:00
|
|
|
}
|
2020-01-02 17:30:27 +01:00
|
|
|
|
2020-02-10 20:43:24 +01:00
|
|
|
if (durationParam) {
|
|
|
|
if (durationParam === CS.DURATION_SHORT) {
|
2020-11-13 21:25:18 +01:00
|
|
|
options.duration = '<=240';
|
2020-02-10 20:43:24 +01:00
|
|
|
} else if (durationParam === CS.DURATION_LONG) {
|
2020-11-13 21:52:28 +01:00
|
|
|
options.duration = '>=1200';
|
2020-02-10 20:43:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-30 20:46:17 +02:00
|
|
|
if (streamTypeParam && streamTypeParam !== CS.CONTENT_ALL && claimType !== CS.CLAIM_CHANNEL) {
|
|
|
|
options.stream_types = [streamTypeParam];
|
2020-02-10 20:43:24 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
if (claimTypeParam) {
|
|
|
|
if (claimTypeParam !== CS.CONTENT_ALL) {
|
2020-02-28 22:52:42 +01:00
|
|
|
if (Array.isArray(claimTypeParam)) {
|
|
|
|
options.claim_type = claimTypeParam;
|
|
|
|
} else {
|
|
|
|
options.claim_type = [claimTypeParam];
|
|
|
|
}
|
2020-02-10 20:43:24 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-11-14 00:17:09 +01:00
|
|
|
if (languageParams) {
|
|
|
|
if (languageParams !== CS.LANGUAGES_ALL) {
|
|
|
|
options.any_languages = languageParams.split(',');
|
2020-10-15 19:56:55 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
if (tagsParam) {
|
|
|
|
if (tagsParam !== CS.TAGS_ALL && tagsParam !== '') {
|
|
|
|
if (tagsParam === CS.TAGS_FOLLOWED) {
|
|
|
|
options.any_tags = followed;
|
|
|
|
} else if (Array.isArray(tagsParam)) {
|
|
|
|
options.any_tags = tagsParam;
|
|
|
|
} else {
|
|
|
|
options.any_tags = tagsParam.split(',');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-09-30 20:46:17 +02:00
|
|
|
if (hideReposts && !options.reposted_claim_id && !forceShowReposts) {
|
2020-04-15 18:43:22 +02:00
|
|
|
if (Array.isArray(options.claim_type)) {
|
|
|
|
if (options.claim_type.length > 1) {
|
2021-05-15 07:52:24 +02:00
|
|
|
options.claim_type = options.claim_type.filter((claimType) => claimType !== 'repost');
|
2020-04-15 18:43:22 +02:00
|
|
|
}
|
|
|
|
} else {
|
|
|
|
options.claim_type = ['stream', 'channel'];
|
|
|
|
}
|
|
|
|
}
|
2020-02-21 17:33:14 +01:00
|
|
|
|
2021-05-15 07:52:24 +02:00
|
|
|
const hasMatureTags = tagsParam && tagsParam.split(',').some((t) => MATURE_TAGS.includes(t));
|
2019-07-31 21:07:26 +02:00
|
|
|
const claimSearchCacheQuery = createNormalizedClaimSearchKey(options);
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
let claimSearchResult = claimSearchByQuery[claimSearchCacheQuery];
|
2020-07-12 08:28:41 +02:00
|
|
|
const claimSearchResultLastPageReached = claimSearchByQueryLastPageReached[claimSearchCacheQuery];
|
2020-03-31 18:07:57 +02:00
|
|
|
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
// uncomment to fix an item on a page
|
|
|
|
// const fixUri = 'lbry://@corbettreport#0/lbryodysee#5';
|
|
|
|
// if (
|
|
|
|
// orderParam === CS.ORDER_BY_NEW &&
|
|
|
|
// claimSearchResult &&
|
|
|
|
// claimSearchResult.length > 2 &&
|
|
|
|
// window.location.pathname === '/$/rabbithole'
|
|
|
|
// ) {
|
|
|
|
// if (claimSearchResult.indexOf(fixUri) !== -1) {
|
|
|
|
// claimSearchResult.splice(claimSearchResult.indexOf(fixUri), 1);
|
|
|
|
// } else {
|
|
|
|
// claimSearchResult.pop();
|
|
|
|
// }
|
|
|
|
// claimSearchResult.splice(2, 0, fixUri);
|
|
|
|
// }
|
|
|
|
|
2020-08-21 17:49:13 +02:00
|
|
|
const [prevOptions, setPrevOptions] = React.useState(null);
|
2020-06-18 11:18:25 +02:00
|
|
|
|
|
|
|
if (!isJustScrollingToNewPage(prevOptions, options)) {
|
2020-06-23 15:08:06 +02:00
|
|
|
// --- New search, or search options changed.
|
2020-06-18 11:18:25 +02:00
|
|
|
setPrevOptions(options);
|
|
|
|
|
|
|
|
if (didNavigateForward) {
|
2020-11-25 18:17:19 +01:00
|
|
|
// --- Reset the page.
|
2020-06-18 11:18:25 +02:00
|
|
|
options.page = 1;
|
|
|
|
setPage(options.page);
|
2020-06-23 15:08:06 +02:00
|
|
|
} else if (claimSearchResult) {
|
2020-06-18 11:18:25 +02:00
|
|
|
// --- Update 'page' based on retrieved 'claimSearchResult'.
|
2020-09-08 22:41:05 +02:00
|
|
|
options.page = Math.ceil(claimSearchResult.length / dynamicPageSize);
|
2020-06-18 11:18:25 +02:00
|
|
|
if (options.page !== page) {
|
|
|
|
setPage(options.page);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-23 10:05:51 +02:00
|
|
|
const shouldPerformSearch =
|
2020-03-31 18:07:57 +02:00
|
|
|
claimSearchResult === undefined ||
|
2020-01-02 17:30:27 +01:00
|
|
|
didNavigateForward ||
|
2020-03-31 18:07:57 +02:00
|
|
|
(!loading &&
|
2020-11-09 18:23:05 +01:00
|
|
|
!claimSearchResultLastPageReached &&
|
2020-03-31 18:07:57 +02:00
|
|
|
claimSearchResult &&
|
2020-04-29 21:10:58 +02:00
|
|
|
claimSearchResult.length &&
|
2020-09-08 22:41:05 +02:00
|
|
|
claimSearchResult.length < dynamicPageSize * options.page &&
|
|
|
|
claimSearchResult.length % dynamicPageSize === 0);
|
2020-03-31 18:07:57 +02:00
|
|
|
|
2019-07-31 21:07:26 +02:00
|
|
|
// Don't use the query from createNormalizedClaimSearchKey for the effect since that doesn't include page & release_time
|
2019-07-17 22:49:06 +02:00
|
|
|
const optionsStringForEffect = JSON.stringify(options);
|
2019-07-03 06:43:32 +02:00
|
|
|
|
2020-03-31 18:07:57 +02:00
|
|
|
const timedOutMessage = (
|
2019-11-13 19:11:51 +01:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
<I18nMessage
|
|
|
|
tokens={{
|
|
|
|
again: (
|
|
|
|
<Button
|
|
|
|
button="link"
|
2020-02-10 20:43:24 +01:00
|
|
|
label={__('try again in a few seconds.')}
|
2019-11-13 19:11:51 +01:00
|
|
|
onClick={() => setForceRefresh(Date.now())}
|
|
|
|
/>
|
|
|
|
),
|
|
|
|
}}
|
|
|
|
>
|
2020-03-31 18:07:57 +02:00
|
|
|
Sorry, your request timed out. Modify your options or %again%
|
2019-11-13 19:11:51 +01:00
|
|
|
</I18nMessage>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<I18nMessage
|
|
|
|
tokens={{
|
2019-12-05 19:38:11 +01:00
|
|
|
contact_support: <Button button="link" label={__('contact support')} href="https://lbry.com/faq/support" />,
|
2019-11-13 19:11:51 +01:00
|
|
|
}}
|
|
|
|
>
|
2019-12-05 19:38:11 +01:00
|
|
|
If you continue to have issues, please %contact_support%.
|
2019-11-13 19:11:51 +01:00
|
|
|
</I18nMessage>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
);
|
|
|
|
|
2020-06-18 11:18:25 +02:00
|
|
|
// Returns true if the change in 'options' indicate that we are simply scrolling
|
|
|
|
// down to a new page; false otherwise.
|
|
|
|
function isJustScrollingToNewPage(prevOptions, options) {
|
2020-06-23 15:08:06 +02:00
|
|
|
if (!prevOptions) {
|
|
|
|
// It's a new search, or we just popped back from a different view.
|
|
|
|
return false;
|
|
|
|
}
|
|
|
|
|
2020-06-18 11:18:25 +02:00
|
|
|
// Compare every field except for 'page' and 'release_time'.
|
|
|
|
// There might be better ways to achieve this.
|
|
|
|
let tmpPrevOptions = { ...prevOptions };
|
|
|
|
tmpPrevOptions.page = -1;
|
|
|
|
tmpPrevOptions.release_time = '';
|
|
|
|
|
|
|
|
let tmpOptions = { ...options };
|
|
|
|
tmpOptions.page = -1;
|
|
|
|
tmpOptions.release_time = '';
|
|
|
|
|
|
|
|
return JSON.stringify(tmpOptions) === JSON.stringify(tmpPrevOptions);
|
|
|
|
}
|
|
|
|
|
2020-03-12 02:43:52 +01:00
|
|
|
function getParamFromTags(t) {
|
|
|
|
if (t === CS.TAGS_ALL || t === CS.TAGS_FOLLOWED) {
|
|
|
|
return t;
|
|
|
|
} else if (Array.isArray(t)) {
|
|
|
|
return t.join(',');
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2019-07-17 22:49:06 +02:00
|
|
|
function handleScrollBottom() {
|
2020-09-30 20:46:17 +02:00
|
|
|
if (maxPages !== undefined && page === maxPages) {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2020-04-22 14:07:09 +02:00
|
|
|
if (!loading && infiniteScroll) {
|
2020-07-12 08:28:41 +02:00
|
|
|
if (claimSearchResult && !claimSearchResultLastPageReached) {
|
2020-06-15 13:18:15 +02:00
|
|
|
setPage(page + 1);
|
|
|
|
}
|
2019-07-17 22:49:06 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-08-21 17:49:13 +02:00
|
|
|
React.useEffect(() => {
|
2019-07-17 22:49:06 +02:00
|
|
|
if (shouldPerformSearch) {
|
|
|
|
const searchOptions = JSON.parse(optionsStringForEffect);
|
|
|
|
doClaimSearch(searchOptions);
|
2021-04-30 22:45:18 +02:00
|
|
|
|
2021-04-29 10:17:06 +02:00
|
|
|
if (liveLivestreamsFirst && options.page === 1) {
|
2021-05-15 07:52:24 +02:00
|
|
|
doClaimSearch(getLivestreamOnlyOptions(searchOptions));
|
2021-04-29 10:17:06 +02:00
|
|
|
}
|
2019-07-17 22:49:06 +02:00
|
|
|
}
|
2019-11-13 19:11:51 +01:00
|
|
|
}, [doClaimSearch, shouldPerformSearch, optionsStringForEffect, forceRefresh]);
|
2019-07-17 22:49:06 +02:00
|
|
|
|
2020-08-21 17:49:13 +02:00
|
|
|
const headerToUse = header || (
|
|
|
|
<ClaimListHeader
|
|
|
|
channelIds={channelIds}
|
|
|
|
defaultTags={defaultTags}
|
|
|
|
tags={tags}
|
|
|
|
freshness={freshness}
|
|
|
|
defaultFreshness={defaultFreshness}
|
|
|
|
claimType={claimType}
|
|
|
|
streamType={streamType}
|
|
|
|
defaultStreamType={defaultStreamType}
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
// feeAmount={feeAmount}
|
2020-08-21 17:49:13 +02:00
|
|
|
orderBy={orderBy}
|
|
|
|
defaultOrderBy={defaultOrderBy}
|
2020-09-30 20:46:17 +02:00
|
|
|
hideAdvancedFilter={hideAdvancedFilter}
|
2020-08-21 17:49:13 +02:00
|
|
|
hasMatureTags={hasMatureTags}
|
|
|
|
hiddenNsfwMessage={hiddenNsfwMessage}
|
|
|
|
setPage={setPage}
|
|
|
|
tileLayout={tileLayout}
|
2020-10-02 19:48:28 +02:00
|
|
|
hideFilters={hideFilters}
|
2020-11-25 18:09:58 +01:00
|
|
|
scrollAnchor={scrollAnchor}
|
2020-08-21 17:49:13 +02:00
|
|
|
/>
|
2019-06-11 20:10:58 +02:00
|
|
|
);
|
|
|
|
|
|
|
|
return (
|
2020-01-02 21:36:03 +01:00
|
|
|
<React.Fragment>
|
2020-05-11 17:54:39 +02:00
|
|
|
{headerLabel && <label className="claim-list__header-label">{headerLabel}</label>}
|
2020-08-21 17:49:13 +02:00
|
|
|
{tileLayout ? (
|
|
|
|
<div>
|
|
|
|
{!repostedClaimId && (
|
|
|
|
<div className="section__header--actions">
|
|
|
|
{headerToUse}
|
2020-11-13 21:25:18 +01:00
|
|
|
{meta && <div className="section__actions--no-margin">{meta}</div>}
|
2020-08-21 17:49:13 +02:00
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
<ClaimList
|
|
|
|
tileLayout
|
|
|
|
id={claimSearchCacheQuery}
|
|
|
|
loading={loading}
|
|
|
|
uris={uris || claimSearchResult}
|
|
|
|
onScrollBottom={handleScrollBottom}
|
|
|
|
page={page}
|
2020-09-08 22:41:05 +02:00
|
|
|
pageSize={dynamicPageSize}
|
2020-08-21 17:49:13 +02:00
|
|
|
timedOutMessage={timedOutMessage}
|
|
|
|
renderProperties={renderProperties}
|
|
|
|
includeSupportAction={includeSupportAction}
|
|
|
|
injectedItem={injectedItem}
|
2021-03-03 19:50:16 +01:00
|
|
|
showHiddenByUser={showHiddenByUser}
|
2021-04-29 09:22:56 +02:00
|
|
|
liveLivestreamsFirst={liveLivestreamsFirst}
|
|
|
|
livestreamMap={livestreamMap}
|
2021-04-29 10:17:06 +02:00
|
|
|
searchOptions={options}
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
hideLivestreamClaims={hideLivestreamClaims}
|
2021-06-15 22:06:57 +02:00
|
|
|
empty={empty}
|
2020-08-21 17:49:13 +02:00
|
|
|
/>
|
2020-08-26 23:16:45 +02:00
|
|
|
{loading && (
|
|
|
|
<div className="claim-grid">
|
2020-09-08 22:41:05 +02:00
|
|
|
{new Array(dynamicPageSize).fill(1).map((x, i) => (
|
2020-08-26 23:16:45 +02:00
|
|
|
<ClaimPreviewTile key={i} placeholder="loading" />
|
|
|
|
))}
|
|
|
|
</div>
|
|
|
|
)}
|
2020-08-21 17:49:13 +02:00
|
|
|
</div>
|
|
|
|
) : (
|
|
|
|
<div>
|
2021-04-06 20:59:12 +02:00
|
|
|
{showHeader && (
|
2021-04-08 17:21:45 +02:00
|
|
|
<div className="section__header--actions">
|
|
|
|
{headerToUse}
|
|
|
|
{meta && <div className="section__actions--no-margin">{meta}</div>}
|
|
|
|
</div>
|
2021-04-06 20:59:12 +02:00
|
|
|
)}
|
2020-08-21 17:49:13 +02:00
|
|
|
<ClaimList
|
|
|
|
id={claimSearchCacheQuery}
|
2021-04-06 20:59:12 +02:00
|
|
|
type={type}
|
2020-08-21 17:49:13 +02:00
|
|
|
loading={loading}
|
|
|
|
uris={uris || claimSearchResult}
|
|
|
|
onScrollBottom={handleScrollBottom}
|
|
|
|
page={page}
|
2020-09-08 22:41:05 +02:00
|
|
|
pageSize={dynamicPageSize}
|
2020-08-21 17:49:13 +02:00
|
|
|
timedOutMessage={timedOutMessage}
|
|
|
|
renderProperties={renderProperties}
|
|
|
|
includeSupportAction={includeSupportAction}
|
|
|
|
injectedItem={injectedItem}
|
2021-03-03 19:50:16 +01:00
|
|
|
showHiddenByUser={showHiddenByUser}
|
2021-04-29 09:22:56 +02:00
|
|
|
liveLivestreamsFirst={liveLivestreamsFirst}
|
|
|
|
livestreamMap={livestreamMap}
|
2021-04-29 10:17:06 +02:00
|
|
|
searchOptions={options}
|
odysee
fix replay select styling
make meme a link
Fix audio references
get newest livestream claim in livestreamLink
pin crackermilk
fix livestream banner placement
fix live page
fix rebase
fix rebase
fix error nag
fix darkmode blockquote style
break word on livestream comment text
fix dark mode snack
fix live badge
fix lint
small fixes - word wrap, live badge
wip
Fix invisible snack in Odysee Light Theme
Revert "wip"
This reverts commit d17e477fe0e6633709ea30bdc403448825db4c71.
Revert "small fixes - word wrap, live badge"
This reverts commit 0e431d4038d774079c78f0de32238aac7260e4ca.
fix blank
pinned destiny
fix badges and homepage again
only get livestreams live for less than a day
pinned hammy and olivia
multi pin
pin destiny
updated pinned videos
update tagline
Update view.jsx
pins
updated destiny's video
updated pinned videos
removed destiny, added lie likes music
pinned destiny and mason's woodshop
removed hammy and olivia
unpinned mason's woodshop
removed pins
added hammy and olivia
pinned sam seder
unpinned destiny and hammy and olivia
Fix merge on ChannelThumbnails
- sam seder, + hammy & olivia and passion for food
update tagline (#6086)
removed everyone, added kona and suba
Theme color fixes (odysee) (#6089)
* Cherry-pick master's 'base-theme.scss'
* Non-functional cleanup (remove dups, re-order, etc.)
* Dark: update positive Toast to --color-primary as well.
This follows the intention of the refactoring, which I guess was (1) reduce the number of color names (2) reduce the number of customizations needed.
The only issue I have with this is that the current Odysee primary color is pink, which can be intepreted as an error.
The original (pre-refactoring color was green).
For now, I follow the refactoring path. We can tweak this later.
* Fix text color inside '--color-card-background-highlighted'
Light: use base-theme (it was the same value anyway).
Dark: use bright text.
* Dark: add some contrast between the components
The color for the background, header, card, placeholder, etc. is almost identical -- it looks like there are all in the same component. The almost-invisible border doesn't help. One would have to crank up the monitor's contrast setting to see separation of components.
Brighten up the components a bit, somewhat following the same scale as lbry.tv's dark theme.
Overall, I still think it's too dark. The Card's background color can still be brightened up further for better contrast, but I try not to make too drastic of a change for now.
The original lbry.tv's gray theme is the most pleasant theme I've seen so far, but this is all subjective.
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
pinned sgtducky
changed pins
removed sgtducky
added hammy and olivia
added chrissie mayr
added the bite shot
changed pins
removed the bite shot
added heads of tech
changed pins
removed hammy and olivia
removed chrissie mayr
changed pins
removed heads of tech
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
added passion for food
changed pins
removed some ordinary gamers
removed passion for food
added emmy hucker
changed pins
added game knights
Update view.jsx
Force rebuild
changed pins
removed emmy hucker
changed pins
removed game knights
added crackermilk
changed pins
removed crackermilk
added some ordinary gamer
changed pins
removed some ordinary gamers
added passion for food
added green renaissance
changed pins
removed passion for food
removed green renaissance
added expand love
changed pins
removed expand love
added dr nora
change tagline (#6122)
there's so much room for activities
comment out music
changed pins
removed dr nora
added kona and suba
changed pins
removed kona and suba
added destiny
changed pins
removed destiny
added crackermilk
changed pins
removed crackermilk
added someordinarygamers
change tagline
Drake, where's the door hole?
changed pins
unpinned someordinarygamers
pinned kona and suba
Add message for mature content
changed pin
changed pins
removed creative model
changed pins
added bcpov
added krish mohan
added cigarvixen
changed pins
removed krish mohan
added adrian logan
bump
fix footer
change tagline
just like the simulations
changed pins
removed:
bcpov
cigarvixen
adrian logan
added:
someordinarygamers
quick fix for reposts
oops
fix channel tabs
changed pin
removed someordinarygamers
added kona and suba
changed pins
removed kona and suba
added dirtyworkz
added crackermilk
2021-06-11 19:47:56 +02:00
|
|
|
hideLivestreamClaims={hideLivestreamClaims}
|
2021-06-10 23:01:32 +02:00
|
|
|
empty={empty}
|
2020-08-21 17:49:13 +02:00
|
|
|
/>
|
2021-04-08 17:21:45 +02:00
|
|
|
{loading &&
|
|
|
|
new Array(dynamicPageSize)
|
|
|
|
.fill(1)
|
|
|
|
.map((x, i) => <ClaimPreview key={i} placeholder="loading" type={type} />)}
|
2020-08-21 17:49:13 +02:00
|
|
|
</div>
|
|
|
|
)}
|
2020-01-02 21:36:03 +01:00
|
|
|
</React.Fragment>
|
2019-06-11 20:10:58 +02:00
|
|
|
);
|
|
|
|
}
|
|
|
|
|
2019-07-17 22:49:06 +02:00
|
|
|
export default withRouter(ClaimListDiscover);
|