question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow users to right click in brave://rewards-internals logs

See original GitHub issue

Test plan

  1. Launch Brave
  2. Enable Rewards
  3. Visit brave://rewards-internals
  4. Go to Logs tab
  5. Click Refresh
  6. Select some log lines with the mouse
  7. Right click
  8. Verify regular context menu shows up (ex: copy, paste, etc) and that you can copy the line to the clipboard

Description

A user can highlight text in the rewards-internals logs but cannot right click (in order to open the mouse menu to copy). However, they can still use the CTRL or CMD + C shortcut to copy.

Some users are not as comfortable with keyboard shortcuts.

Solution

Enable right clicking in rewards-internals logs.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:21 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
suveshmozacommented, Aug 25, 2021

Thanks @deepxcode but adding --scripts-prepend-node-path solved the issue for me.

1reaction
jonathansampsoncommented, Jul 22, 2021

@deepxcode I believe you’re looking for components/brave_rewards/resources/internals/components/log.tsx. Specifically, I suspect we may need only to remove the onContextMenu property from here:

<LogTextArea value={this.props.log} readOnly={true} onContextMenu={this.preventDefault}/>
Read more comments on GitHub >

github_iconTop Results From Across the Web

Rollover amount? Please read & comment - Brave Rewards
Go to brave://rewards-internals and click on Logs; Now use the browser, ideally for ~30 minutes, as you normally would. Return to the logs...
Read more >
A quick fix on "not getting ads" issue - Brave Community
search for: Enable Brave Rewards verbose logging. “enable” as well click on “relaunch”. goto brave://rewards-internals click on logs.
Read more >
Uphold Complete identity verification to start earning rewards
Go to brave://rewards-internals and click on Logs; Open the Rewards panel and disconnect your browser wallet from Uphold. Once disconnected go ...
Read more >
No more ads and verification error - Brave Community
Go to brave://rewards-internals and click on Logs; Open the Rewards panel and disconnect your browser wallet from Uphold. Once disconnected go ...
Read more >
What is Brave Rewards? | Brave Browser
They slow websites down, interrupt your flow, and chase you all over the web. But what choice is there? Creepy ads are just...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found