Skip to content

Messaging in PR comment: browser extension #475

Closed
codecov/worker
#165

Description

@codecovdesign

Problem to solve

We have browser extensions for Chrome and Firefox that have received positive feedback but lack awareness.

Solution

Promote these extensions in PR comments to inform users directly in GitHub about this valuable feature.

Release %: TBD, suggestion could be randomized to show x times per repo + replace solicitation link when shown.

view designs

browerextension1 browerextension2

Activity

  1. cassie-codecov commented on Sep 14, 2023

    @cassie-codecov
    Show.Browser.Extension.on.Commits.Tab.mov

    Using Pendo we could target the commits tab specifically to show this upon navigating to this tab.

  2. scott-codecov commented on Sep 18, 2023

    @scott-codecov

    @codecovdesign There's already an "annoucements" section shown to 25% of comments. Should we reuse that functionality here? There's currently 1 active announcement:

    We’re building smart automated test selection to slash your CI/CD build times. Learn more

    But we could add another. Each comment would pick randomly which announcement to show (and only 25% of comments would include this section).

  3. codecovdesign commented on Sep 19, 2023

    @codecovdesign
    ContributorAuthor

    @scott-codecov the proposed to reuse functionality makes sense. Though, I'm unsure about the automated test selection and how long / where that intends to show.
    Roping in @eliatcodecov for visibility + thoughts on release strategy.

  4. scott-codecov commented on Nov 1, 2023

    @scott-codecov

    Had a chat w/ Eli and here's where we landed:

    • announcements section will still show up to 25% of PR comments that do not have the comment layout overridden in their YAML
    • if the ATS announcement applies to the comment then favor that:
      • must not be using ATS already
      • must be a Python repo
      • must have a chunks.txt size > 3mb (this could be a proxy for long CI times)
    • otherwise fallback to one of the other general announcements (currently just the browser comment announcement)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions