Publishing #577
Labels
No labels
android: closed alpha
android: open beta
app-parity
area: devops
area: discovery
area: docs
area: livestream
area: proposal
consider soon
creator
Epic
good first issue
hacktoberfest
help wanted
icebox
Invalid
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
product review
resilience
Tom's Wishlist
type: bug
type: discussion
type: improvement
type: new feature
type: refactor
type: task
type: testing
unplanned
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: LBRYCommunity/lbry-android#577
Loading…
Reference in a new issue
No description provided.
Delete branch "publishing"
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?
This isn't true anymore:
efaacdd26b/src/lbryURI.js (L5)
You can make a generic statement like "Your channel name contains invalid characters"
You could also create a const value containing
=&#:$@%?/
inlbryURI.js
and specifically tell people not to use these."Please enter a deposit above 0"
(also, if the input is not disallowing negative numbers, the above check should be
< 0
rather than=== 0
)same as above
also this looks like a DRY violation with the above check
@ -0,0 +149,4 @@
channelExists = name => {
const { channels = [] } = this.props;
for (let channel of channels) {
It's not strictly necessary, but this can be done functionally:
Is this used?
Does this file contain magic constants, presentation labels, or both? Presentation labels don't generally need to be constants.
(It looks like this one is being used as both)
Didn't prettier/linter get added?
@ -0,0 +317,4 @@
public void canUseCamera(final Promise promise) {
promise.resolve(MainActivity.hasPermission(Manifest.permission.CAMERA, MainActivity.getActivity()));
}
}
This file seems fine but I'm less qualified to review Java
It's not used.
Both. I am performing some string comparison on the labels, which is why I made them constant.
It did. But it looks like the precommit script doesn't fire up if I run the commit from the top-level folder. I'll look into fixing this.