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

#261 Add copy to clipboard functionality to Raw Response #263

Merged
merged 4 commits into from
Oct 7, 2019
Merged

Conversation

micmro
Copy link
Owner

@micmro micmro commented Oct 7, 2019

Screen Shot 2019-10-06 at 8 17 31 PM

@micmro micmro requested a review from soulgalore October 7, 2019 00:33
@soulgalore
Copy link
Collaborator

Looks great but what bout moving it to content folder:
PerfCascade - HAR Waterfall viewer

That way we copy/paset just the HTML/content and that makes it easier when comparing old data.

@micmro
Copy link
Owner Author

micmro commented Oct 7, 2019

Ah, ok that was the one you meant 😄. For some reason I though about the raw data. What do you think of showing it in both? Copying the raw data is quite a pain too.

overlay.onClose(overlay.index);
body.removeEventListener("click", onTabDataCopyClick);
});
body.addEventListener("click", onTabDataCopyClick);
Copy link
Owner Author

Choose a reason for hiding this comment

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

use event delegation as we can't bind callbacks before the tab has been added to the DOM, this also allows us to clean up the event listeners when it gets removed.

@soulgalore
Copy link
Collaborator

Both sounds great :)

Copy link
Collaborator

@soulgalore soulgalore left a comment

Choose a reason for hiding this comment

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

Woho!!

@micmro micmro merged commit 4329eb0 into master Oct 7, 2019
@micmro micmro deleted the 261 branch October 7, 2019 22:03
@micmro
Copy link
Owner Author

micmro commented Oct 7, 2019

Released with 2.7.0

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.

2 participants