"Fixed NSFW content showing on filePage" #289

Closed
hackrush01 wants to merge 3 commits from master into master
hackrush01 commented 2017-06-26 16:05:02 +02:00 (Migrated from github.com)

NSFW content is obscured on show page and gives an overlay to inform
the user. Fixes #286

Added one additional format(epub) in lbry.js.

NSFW content is obscured on show page and gives an overlay to inform the user. Fixes #286 Added one additional format(epub) in lbry.js.
kauffj commented 2017-06-27 02:54:26 +02:00 (Migrated from github.com)

This PR doesn't require changes, since it's all minor cleanup I can do as I merge, but here's feedback:

  • Since this code runs in Electron, which is essentially Chrome, it's the only browser that needs to be supported.
  • SCSS variables that are not intended or unlikely to be shared across files should be in the file itself, not global.scss.
  • Even small stuff like epub should be a separate PR.
  • Indentation should be handled by Prettier, is this running in your local environment?
This PR doesn't require changes, since it's all minor cleanup I can do as I merge, but here's feedback: - Since this code runs in Electron, which is essentially Chrome, it's the only browser that needs to be supported. - SCSS variables that are not intended or unlikely to be shared across files should be in the file itself, not global.scss. - Even small stuff like epub should be a separate PR. - Indentation should be handled by `Prettier`, is this running in your local environment?
hackrush01 commented 2017-06-27 06:41:43 +02:00 (Migrated from github.com)

Ok, thanks for the feedback, I will keep this in mind from next time onwards.

Ok, thanks for the feedback, I will keep this in mind from next time onwards.
6ea86b96 commented 2017-06-27 09:57:31 +02:00 (Migrated from github.com)

@hackrush01 prettier should be getting run when you git commit (https://github.com/lbryio/lbry-app/blob/master/ui/package.json#L8). If that's not working then you can still run manually from ui directory with yarn run prettier

@hackrush01 `prettier` should be getting run when you `git commit` (https://github.com/lbryio/lbry-app/blob/master/ui/package.json#L8). If that's not working then you can still run manually from `ui` directory with `yarn run prettier`
kauffj commented 2017-06-27 20:23:38 +02:00 (Migrated from github.com)

Merged in master by hand so I could squash some additional fixes.

Merged in master by hand so I could squash some additional fixes.

Pull request closed

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#289
No description provided.