Repository navigation
[merge only after Android 7.6.0] docs(android): shake and notification-bar triggers are off by default - #165
Conversation
… (7.6.0) Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Change-Id: Id8c6f7599d8a6ab3101654baf764806538a41511
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 52 minutes. View limit details
No actionable comments were generated in the recent review. Summary
Change: Other Merge Risk:
|
|
Claude finished @krassx's task in 1m 34s —— View job Review of PR #165: Android trigger defaults off in 7.6.0
I did not run cspell. I did not modify any files or push anything. FindingsInline comments are on the first three; the fourth is on an unchanged file, so it is only here.
Not verified
Summary
|
| | `ReportingTriggerByNotification` | `com.bugsee.option.reporting.triggers.notification-bar` | boolean | `false` | Show a notification-bar entry that opens the bug-reporting UI when tapped. The default was `true` before 7.6.0. | | ||
| | `ReportingTriggerByBroadcast` | `com.bugsee.option.reporting.triggers.broadcast` | boolean | `false` | Allow a report to be triggered by an Android broadcast intent. | | ||
|
|
||
| :::note Changed in 7.6.0 |
There was a problem hiding this comment.
Severity: P2 Medium
Problem: :::note Changed in 7.6.0 is not valid title syntax in Docusaurus 3. Titles must be written :::note[Changed in 7.6.0]. The repo already does this, for example docs/sdk/android/multi-process.mdx:25. The space form is not parsed as a directive.
Impact: The admonition does not render. The page shows the raw text :::note Changed in 7.6.0, then the paragraph, then a stray :::. This is the note that tells users about the changed defaults, so the deployed page looks broken at the point where it matters most.
Scenario: I ran npm ci && npm run build on this branch. build/sdk/android/configuration/index.html contains :::note Changed in 7.6.0 as literal text, with no admonition markup. The build still passes because MDX treats it as ordinary paragraph text.
Fix:
| :::note Changed in 7.6.0 | |
| :::note[Changed in 7.6.0] |
There was a problem hiding this comment.
[agent] Fixed in 72cfadd: the title is now :::note[Changed in 7.6.0]. Rebuilt and checked the built HTML: no literal :::note text, the admonition renders. (My earlier "build passes" did not catch this, since MDX accepts the broken form as text.)
| | `ReportingTriggerByBroadcast` | `com.bugsee.option.reporting.triggers.broadcast` | `false` | | ||
|
|
||
| Disable the shake trigger in `AndroidManifest.xml`: | ||
| :::note Changed in 7.6.0 |
There was a problem hiding this comment.
Severity: P2 Medium
Problem: This has the same invalid admonition title syntax as in configuration/overview.mdx. :::note Changed in 7.6.0 needs to be :::note[Changed in 7.6.0] in Docusaurus 3.
Impact: The note renders as plain text with a literal :::note ... prefix.
Scenario: I confirmed this in the built output. build/sdk/android/manual/bug-reporting/index.html contains <p>:::note Changed in 7.6.0 ....
Fix:
| :::note Changed in 7.6.0 | |
| :::note[Changed in 7.6.0] |
There was a problem hiding this comment.
[agent] Fixed in 72cfadd: the title is now :::note[Changed in 7.6.0]. Rebuilt and checked the built HTML: no literal :::note text, the admonition renders. (My earlier "build passes" did not catch this, since MDX accepts the broken form as text.)
| ## Built-in report triggers | ||
|
|
||
| The SDK can surface the report dialog through two user-facing gestures. Both are controlled by manifest options (or programmatic overrides at `Bugsee.launch(...)` time): | ||
| The SDK can surface the report dialog through two user-facing gestures. Both are controlled by manifest options (or programmatic overrides at `Bugsee.launch(...)` time). Since 7.6.0 every trigger is off by default; turn on the ones you want: |
There was a problem hiding this comment.
Severity: P3 Low
Problem: The sentence says "two user-facing gestures", and this PR now adds "every trigger is off by default". The table below it lists four triggers: shake, screenshot, notification bar and broadcast. Only two of them are gestures. This wording was already inaccurate before the PR, but you edited this line.
Impact: A reader is told there are two triggers and then sees four, with the new default statement attached to the "two".
Fix: Say "four built-in triggers" or "the SDK can surface the report dialog through several built-in triggers".
There was a problem hiding this comment.
[agent] Fixed in 72cfadd: the intro now says the SDK has four built-in triggers, each controlled by a manifest option.
…wording Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Change-Id: I5b053f0081ddb1e967f70c96eedcf5af323dc9e9
|
Claude finished @krassx's task in 31s —— View job Re-review of PR #165 after commit 72cfaddNo new findings. The latest commit fixes all four findings from my earlier review. Earlier findings
What I checked
Not verifiedThese are claims about SDK behaviour that I can't check from this repo. Someone on the SDK side should confirm them before merge:
Summary
|
Change
Starting with Android SDK 7.6.0 (bugsee-android #816),
ReportingTriggerByShakeandReportingTriggerByNotificationdefault tofalse. Screenshot and broadcast were alreadyfalse, so no trigger is on unless the app turns it on.falsefor both and notes the old default. A note says that apps relying on either trigger set it explicitly, and that a device whose last launch ran an older SDK can restore the oldtruevalues until the app has launched once on 7.6.0 (last_optionsalso stores defaults). The example now turns shake on instead of switching it off.Not in this PR
docs/ai/agent-skills/sdk/android/v7/SKILL.mdstill lists shake astrue. It is generated from bugsee/bugsee-for-ai (skills/bugsee-android-sdk/SKILL.md, line 328), so the fix belongs there and the pin must then be moved.triggerByNotificationdefaulttrue) were not touched: the default there is set by the React Native SDK, which I have not checked.ReportingTriggerByShake = falseare unchanged; they are still valid, now just explicit.cspellreports no issues on the three changed files andnpm run buildpasses.🤖 Generated with Claude Code