better featured search result item handling #37
No reviewers
Labels
No labels
area: devops
area: discovery
area: docs
area: livestream
consider soon
dependencies
documentation
Epic
good first issue
hacktoberfest
help wanted
icebox
level: 1
level: 2
level: 3
level: 4
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
on hold
priority: blocker
priority: high
priority: low
priority: medium
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
LBRYCommunity/lbry-react-native!37
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "featured-search-item"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -208,0 +209,4 @@if (uris) {// temporary workaround for missing short_urlsuris = uris.filter(uri => uri && uri.length > 0);}if 0.40 fixes this, want to just make the switch?
i18n
Can this text be "Nothing here. Publish something!"
@ -167,6 +173,13 @@ class FileListItem extends React.PureComponent {{isRewardContent && <Icon style={fileListStyle.rewardIcon} name="award" size={12} />}when would you have a uri but not a name for a file list item?
imo it's much better to perform this cleaning either in the reducer or the selector than to litter it in components
can you just make
vanityUrl = vanityUrl.trim()before getting into the component at all?@ -167,6 +173,13 @@ class FileListItem extends React.PureComponent {{isRewardContent && <Icon style={fileListStyle.rewardIcon} name="award" size={12} />}This applies when there's no claim for a featured search item. The values for
titleandnameare obtained from the claim.