Discovery fixes #2576
No reviewers
Labels
No labels
accessibility
app-parity
area: creator
area: daemon
area: design
area: devops
area: discovery
area: docs
area: installer
area: internal
area: livestream
area: performance
area: proposal
area: reposts
area: rewards
area: search
area: security
area: subscriptions
area: sync
area: ux
area: viewer
area: wallet
BEAMER
channel
comments
community PR
consider soon
core team
css
dependencies
electron
Epic
feature request
first-timers-only
good first issue
hacktoberfest
help wanted
hub-dependent
icebox
Invalid
level: 0
level: 1
level: 2
level: 3
level: 4
merge when green
needs: exploration
needs: grooming
needs: priority
needs: repro
needs: tech design
notifications
odysee
on hold
playlists
priority: blocker
priority: high
priority: low
priority: medium
protocol dependent
recsys
redesign
regression
resilience
sdk dependent
Tom's Wishlist
trending
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-desktop#2576
Loading…
Reference in a new issue
No description provided.
Delete branch "discovery-fixes"
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?
Changes
PublishForm
component so I broke it into a bunch of small componentsNotes
Some small suggestions, but nothing I'd consider mandatory.
@ -57,3 +56,4 @@
{meta && <div className="claim-list__meta">{meta}</div>}
{hasUris && (
<ul>
{sortedUris.map((uri, index) => (
good refactor
@ -0,0 +42,4 @@
{!!isStillEditing && name && (
<p className="help">
{/* @i18nfixme */}
{__("If you don't choose a file, the file from your existing claim")}
When you notice split i18n strings like this, can you add an annotation of some kind? (I propose
//@i18nfixme
)Can this be re-written to say "Please"?
(also, why is this necessary?)
@ -0,0 +17,4 @@
bidHelpText = __('Any amount will give you the winning bid.');
} else {
// @i18nfixme
bidHelpText = `${__('If you bid more than')} ${amountNeededForTakeover} LBC, ${__(
@i18nfixme
(also, these split strings are basically not worth even calling the function on, but should be tagged either way)
@ -0,0 +50,4 @@
if (!name) {
nameError = __('A name is required');
} else if (!isNameValid(name, false)) {
nameError = __('LBRY names cannot contain that symbol ($, #, @)');
Some symbols are missing here. It's probably worth adding a
RESERVED_CHARACTER
const tolbryUri.js
.I do not think the file types need to be mentioned here. Not a strong opinion, though.
It shouldn't be, but we aren't currently tracking the previous claim, after you change the name, because that could be another claim.