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

POC: capture script attribution data passed via performance.mark #192

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

adamsilverstein
Copy link

@adamsilverstein adamsilverstein commented Oct 31, 2024

image

@paulirish
Copy link
Member

As you're already aware, we can't take PRs from Github. Our workflow requires gerrit.
But that's no problem as this is a POC. :)

@and-oli will definitely take a look!

@adamsilverstein
Copy link
Author

adamsilverstein commented Oct 31, 2024

As you're already aware, we can't take PRs from Github. Our workflow requires gerrit.

Right!

Indeed, this is very much experimental and not intended as an actual PR (hence the draft state). Opened this primarily to be able to easily share and get inline feedback.

if (url) {
const attribution = TimelineUIUtils.getAttributionForUrl(url, [...options.selected.parsedTrace.UserTimings.performanceAttributions]);
if (attribution) {
query = `${query}\n\nNote:Attribution for this source: ${attribution}`;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do the prompt strings need to be localized?

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.

3 participants