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

decide where to add the rewards debugging info (follow up from #1174) #3538

Closed
kjozwiak opened this issue Mar 1, 2019 · 18 comments
Closed
Labels
closed/stale Issue is no longer relevant, perhaps because the feature it refers to has been deprecated.

Comments

@kjozwiak
Copy link
Member

kjozwiak commented Mar 1, 2019

As a follow up from #1174 (comment), we'll need to decide where to add the debugging information that #1174 is implementing and how it's accessed. As per @bridiver via #1174 (comment), adding a link to the above information under chrome://version will require a lot of unnecessary work/patching. The new location should also be easy enough that users should be able to find it without much difficulty.

This work should land in the same milestone as #1174.

CCing @rebron @bbondy @davidtemkin @bridiver @LaurenWags @NejcZdovc @emerick @bsclifton

@NejcZdovc
Copy link
Contributor

My suggestion would be to add it into settings page where we will have new rewards section

@davidtemkin
Copy link

@NejcZdovc I think we're adding confusion by creating settings section for Rewards while Rewards has its own settings page. For clear browsing data that arrangement is supportable, but I think this element, and others, should be somewhere inside Rewards. We should probably discuss as a whole cc: @jenn-rhim @mandar-brave

@mandar-brave
Copy link

@davidtemkin @NejcZdovc we had designed a complete diagnostics system spec for something similar; never shipped due to priorities. Wondering if easier to switch to those designs.

For the diagnostics spec (Which had a windows for debug log), the plan was to install the same on About Brave.

@LaurenWags
Copy link
Member

Personally I don't have strong feelings about where the link to this page should be, somewhere on brave://rewards feels natural - not sure if under the wallet panel is too obvious:
screen shot 2019-03-01 at 10 12 04 pm

Elsewhere is fine, however, I do not think this link should be available from the backup/restore modal. Reason being is that if there is a server issue or something else that triggers the below error, the backup/restore screen is inaccessible since you can't click on the gear icon:
screen shot 2019-03-01 at 10 08 55 pm

@kjozwiak
Copy link
Member Author

kjozwiak commented Mar 3, 2019

Another possibility is add a new section under brave://settings like we did with Sync. Example:

screen shot 2019-03-03 at 1 44 05 am

We already have the above implemented, it would be as simple as copying/pasting the code, renaming the header to Rewards or something else and changing the link. This also decouples it from brave://rewards in case that becomes unaccessible for whatever reason.

@NejcZdovc
Copy link
Contributor

@kjozwiak yup agree (#3538 (comment)), will talk more with product about it as I would like to place more stuff in settings page. Currently we don't have settings section in rewards (for general stuff).

@LaurenWags
Copy link
Member

That's a really good point @kjozwiak, if brave://rewards becomes inaccessible we do want users to be able to still access this. Agree with you and @NejcZdovc re: placing something in settings.

@kjozwiak
Copy link
Member Author

Have we made a decision on where we're going to place the link in the UI? Looks like this has lost some steam. #1174 as already landed in 0.63.15 Chromium: 73.0.3683.75. We should get this resolved before 0.63.x moves into beta.

@srirambv
Copy link
Contributor

This is really important in terms of getting logs from users. We've seen time and again users going silent when we ask them to try to capture logs but because running via console/terminal isn't everyones strong skill. We should probably implement something like brave://translate-internals/#event-logs in brave://rewards-internals where we can capture logs. My suggestion is we add checkboxes which adds command line flags. Checking the command line flags should prompt the user to relaunch the browser which adds those command line flags for that restart session. Closing the window should reset. Only pass the flags when the user checks it. Also a good item to do add a search box in the internals page when the logs are captured so that its easy for capturing ads logs. We can just add only the required lines in the logs that we actually need for debugging and not dump everything. This will help a lot for @jonathansampson and @Brave-Matt as they talk to a lot users on Reddit and Twitter. Its easy for users to just take a screenshot and share as well so that it makes it that much easy to get logs from users.

This will also be helpful if the same is done for Android

cc: @kjozwiak @atsyed87 @alexwykoff @mandar-brave @davidtemkin @NejcZdovc @tmancey @SergeyZhukovsky @samartnik

@kjozwiak
Copy link
Member Author

Agreed 100% with @srirambv regarding the above. We really need to start looking into ways of making it easier to retrieve logs from users that are having issues with ads and rewards. Once we start getting more users using ads, it will be extremely difficult to support.

With the current process, we basically need to ask users to run Brave via a handful of browser flags via the terminal. This is a huge technical jump for some users and most of the time, the support inquiries stop there. Users want a convenient way of getting debugging information or they won't be willing to help.

CCing @jsecretan who might have some idea's on this as well. I believe @jonathansampson has run into tons of pains trying to support users with ads.

@tmancey
Copy link
Contributor

tmancey commented May 29, 2019

I have spoken with @alexwykoff and raised my concerns especially with mobile. Ads currently produces most of the debugging information that we would require to diagnose issues from Muon which was displayed within the browser. I agree this should be prioritised and added before Android Ads is released.

@srirambv
Copy link
Contributor

Here's another use case from @agentofuser that requires logs to be shown within browser which makes sense as well https://github.com/agentofuser/curling-generosity#full-private-transparency. As a (power) user I'd like to know whats going by checking logs on my own and to see if services are down.

@srirambv
Copy link
Contributor

srirambv commented Jul 4, 2019

Bumping the thread. Needs to be a higher priority than P4 now. This was discussed during the Android triage as well. It would be extremely challenging to get logs for Android as users need to

  1. enable developer mode on their device (which am not sure how many would be willing to do)
  2. need to install Android Studio (again people wold stop responding when we ask them to install and Android studio is pretty huge) to capture logs.

This should be treated as P1/2 and implemented soon.

cc: @jsecretan @davidtemkin @anthonypkeane @bsclifton

@NejcZdovc
Copy link
Contributor

@srirambv this issue is regarding where to add link. You can always access brave://rewards-internals directly. I think if there are problems with logs on android issue should be opened there

@srirambv
Copy link
Contributor

srirambv commented Jul 5, 2019

@NejcZdovc this issue I believe is specifically for adding the debugging info and not just where it needs to have the link. Like you said we already implemented brave://rewards-internals as part of #1174 and can be accessed directly and doesn't need linking anymore. The only remaining problem from #1174 is showing the debug info on the browser itself somewhere.

We don't have any debug info added into brave://rewards-internals, right now just have wallet ID, persona ID and User ID which isn't enough for support. I assume all debug info for both rewards and ads in specific should be made available somewhere in one of the internal pages. Based on #3538 (comment) debug info for both rewards and ads on Mobile is difficult to get based on what I mentioned above.

@srirambv
Copy link
Contributor

+1 from @samc05 via #5202 for showing Ad Rewards Summary Log

@alexwykoff
Copy link

Spec is underway and I'll be pulling folks from above into calls to make sure we have this nailed down. There will be implementations for each platform.

@alexwykoff alexwykoff self-assigned this Jul 18, 2019
@NejcZdovc NejcZdovc removed the priority/P4 Planned work. We expect to get to it "soon". label Apr 10, 2020
@Miyayes
Copy link
Collaborator

Miyayes commented Oct 8, 2021

I think this is resolved with brave://rewards-internals in any recent version of Brave (as of 2021).

@Miyayes Miyayes closed this as completed Oct 8, 2021
@kjozwiak kjozwiak added the closed/stale Issue is no longer relevant, perhaps because the feature it refers to has been deprecated. label Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed/stale Issue is no longer relevant, perhaps because the feature it refers to has been deprecated.
Projects
None yet
Development

No branches or pull requests

9 participants