Skip to content

update tips proababily to 0.3#337

Open
shivammittal274 wants to merge 1 commit intomainfrom
feat/mjn4OFPe-update-tips-proababily-to-03
Open

update tips proababily to 0.3#337
shivammittal274 wants to merge 1 commit intomainfrom
feat/mjn4OFPe-update-tips-proababily-to-03

Conversation

@shivammittal274
Copy link
Contributor

Summary

update tips proababily to 0.3

Changes

apps/agent/entrypoints/newtab/index/tips.ts | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Agent Metadata

  • Total cost: $0.9254
  • Stages:
    • ok setup ($0.0000, 62.1s)
    • ok plan ($0.5185, 93.8s)
    • ok implement ($0.4069, 328.9s)

Generated by coding-agent v3

@github-actions
Copy link
Contributor

Thank you for your contribution! Before we can merge this PR, we need you to sign our Contributor License Agreement.

To sign the CLA, please add a comment to this PR with the following text:

I have read the CLA Document and I hereby sign the CLA

You only need to sign once. After signing, this check will pass automatically.


Troubleshooting
  • Already signed but still failing? Comment recheck to trigger a re-verification.
  • Signed with a different email? Make sure your commit email matches your GitHub account email, or add your commit email to your GitHub account.
- - - I have read the CLA Document and I hereby sign the CLA - - - **BrowserOS Coding Agent** seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please [add the email address used for this commit to your account](https://help.github.com/articles/why-are-my-commits-linked-to-the-wrong-user/#commits-are-not-linked-to-any-user).
You can retrigger this bot by commenting **recheck** in this Pull Request. Posted by the **CLA Assistant Lite bot**.

@greptile-apps
Copy link
Contributor

greptile-apps bot commented Feb 16, 2026

Greptile Summary

Increases the tip display probability on the new tab page from 20% to 30% by updating the TIP_SHOW_PROBABILITY constant. This means users will now see a random tip roughly 30% of the time when opening a new tab (up from 20%), unless they've already dismissed a tip in the current session.

  • Updated TIP_SHOW_PROBABILITY from 0.2 to 0.3 in apps/agent/entrypoints/newtab/index/tips.ts
  • No issues found during review

Confidence Score: 5/5

  • This PR is safe to merge — it's a single constant value change with no behavioral side effects.
  • The change is a one-line update to a numeric constant, increasing tip display probability from 0.2 to 0.3. There are no logic changes, no new code paths, no type safety concerns, and no CLAUDE.md violations.
  • No files require special attention.

Important Files Changed

Filename Overview
apps/agent/entrypoints/newtab/index/tips.ts Single constant value change: TIP_SHOW_PROBABILITY updated from 0.2 to 0.3. No issues found.

Flowchart

flowchart TD
    A[New Tab Opened] --> B{shouldShowTip}
    B -->|"Session already dismissed?"| C[Return false]
    B -->|"Math.random() < 0.3"| D[Show random tip]
    B -->|"Math.random() >= 0.3"| E[No tip shown]
    D --> F[User clicks dismiss]
    F --> G[dismissTip sets sessionStorage]
    G --> C
Loading

Last reviewed commit: 25dd6d3

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.

1 participant