Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding ability to view logs and open log directory #1569

Merged
merged 7 commits into from
Jun 13, 2018

Conversation

amitnndn
Copy link
Contributor

@amitnndn amitnndn commented Jun 9, 2018

#1556 - Adding ability to open logs and view log directory on the help page.
#741 - Fixing content address extending outside of the visible area in the card. (I am including this fix as a part of this PR since it is a small relatively small fix - 3 lines)

Changes

  • Made changes to the code to include a new section to giving users the option to open the log file or the directory that contains the log file.
  • Added some type declarations since eslint and flow checkers were failing on the file that I edited.
  • Added a word wrap while to card's h1 element so that long URLs do not extend outside the visible area.

Preview

#1556
screen shot 2018-06-09 at 6 30 04 pm

#741
screen shot 2018-06-10 at 5 15 46 pm

P.S: I have tested this only on macOS Sierra and theoretically should work on other operating systems as well. Let me know if it doesn't!

@tzarebczan tzarebczan requested a review from neb-b June 10, 2018 19:34
@lbry-bot lbry-bot assigned neb-b and unassigned neb-b Jun 10, 2018
@tzarebczan
Copy link
Contributor

@amitnndn thanks for the contribution! We'll get this reviewed shortly.

Similar to last time, please see https://lbry.io/faq/tips if you'd like a tip for your contribution :)

@amitnndn
Copy link
Contributor Author

Thanks, @tzarebczan! I fixed another very simple bug in the app and included that as a part of this PR. Did not want to go through the trouble of creating another PR for such a simple fix. Let me know if that is alright!

Copy link

@neb-b neb-b left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice work on adding flow to this page. Just one question about the flowconfig

@@ -20,5 +20,6 @@ module.name_mapper='^lbry\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/lbry\1'
module.name_mapper='^rewards\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/rewards\1'
module.name_mapper='^modal\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/modal\1'
module.name_mapper='^app\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/app\1'
module.name_mapper='^native\(.*\)$' -> '<PROJECT_ROOT>/src/renderer/native\1'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this was added?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seanyesmunt This was to resolve a flow error that was on in line

@lbry-bot lbry-bot assigned neb-b and unassigned neb-b Jun 11, 2018
@neb-b neb-b merged commit 02a9139 into lbryio:master Jun 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants