Discovery fixes #2576

Merged
neb-b merged 10 commits from discovery-fixes into master 2019-06-28 09:27:56 +02:00
neb-b commented 2019-06-26 07:26:53 +02:00 (Migrated from github.com)

Changes

  • Add tags to publish page
    • Got tired of working with the PublishForm component so I broke it into a bunch of small components
  • Moved to reach/tooltip for better tooltips (and added one for channels)
    • tooltip behavior is hard
  • General fixes

Notes

### Changes - Add tags to publish page - Got tired of working with the `PublishForm` component so I broke it into a bunch of small components - Moved to reach/tooltip for better tooltips (and added one for channels) - tooltip behavior is hard - General fixes ### Notes - Depends on https://github.com/lbryio/components/pull/11
kauffj (Migrated from github.com) approved these changes 2019-06-27 22:24:58 +02:00
kauffj (Migrated from github.com) left a comment

Some small suggestions, but nothing I'd consider mandatory.

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) => (
kauffj (Migrated from github.com) commented 2019-06-27 22:10:01 +02:00

good refactor

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")}
kauffj (Migrated from github.com) commented 2019-06-27 22:18:33 +02:00

When you notice split i18n strings like this, can you add an annotation of some kind? (I propose //@i18nfixme)

When you notice split i18n strings like this, can you add an annotation of some kind? (I propose `//@i18nfixme`)
kauffj (Migrated from github.com) commented 2019-06-27 22:20:06 +02:00

Can this be re-written to say "Please"?

(also, why is this necessary?)

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, ${__(
kauffj (Migrated from github.com) commented 2019-06-27 22:20:55 +02:00

@i18nfixme

(also, these split strings are basically not worth even calling the function on, but should be tagged either way)

`@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 ($, #, @)');
kauffj (Migrated from github.com) commented 2019-06-27 22:22:36 +02:00

Some symbols are missing here. It's probably worth adding a RESERVED_CHARACTER const to lbryUri.js.

Some symbols are missing here. It's probably worth adding a `RESERVED_CHARACTER` const to `lbryUri.js`.
kauffj (Migrated from github.com) commented 2019-06-27 22:24:14 +02:00

I do not think the file types need to be mentioned here. Not a strong opinion, though.

I do not think the file types need to be mentioned here. Not a strong opinion, though.
neb-b (Migrated from github.com) reviewed 2019-06-28 09:07:42 +02:00
neb-b (Migrated from github.com) commented 2019-06-28 09:07:42 +02:00

It shouldn't be, but we aren't currently tracking the previous claim, after you change the name, because that could be another claim.

It shouldn't be, but we aren't currently tracking the previous claim, after you change the name, because that could be another claim.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-desktop#2576
No description provided.