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

Social annotations #5

Open
paulirish opened this issue Sep 16, 2016 · 3 comments
Open

Social annotations #5

paulirish opened this issue Sep 16, 2016 · 3 comments

Comments

@paulirish
Copy link
Member

paulirish commented Sep 16, 2016

Profiling quickly turns into a group conversation, and a trace is the ground truth. Traces are somewhat portable, but the conversation around them usually ends up siloed in email threads and chats.

A while back I helped the Wikipedia eng team export a timeline trace. (T'was a hack using devtools on devtools, DPR emulation, and canvas todatauri/toblob :). It allowed them to do this:

image

But there should be better mechanisms than dead tree, post-its and highlighters.

The motivating user story

  • Developer records a timeline trace that's interesting
  • Developer shares this with his team via a clickable URL
  • Everyone viewing it can mark and comment on it, marking time ranges with labels, pointing to specific events of interest.
  • Ideally, those annotations are shared in realtime
  • The annotations are definitely persisted, with attribution to the user who left them.

Proposal

Annotations could be shown in the Timeline as a track above User Timing

image
(Just a screenshot of existing timeline w/ usertiming track. Not a mock :)

Selecting a time range and labeling it, would add a block to that Annotations track.

User can also select individual events, highlight them, and add a comment. This would both add a visual highlight to the event in the flamechart, and create a separate block in the annotations section. Clicking that one would reveal the event it points to.

Implementation

This web-based timeline viewer can already provide authenticated access to timelines off a clickable link. There are currently no other promising tools for this.

Timeline flame chart needs support for an Annotations track and APIs to add "async events" to it in realtime, far after the trace has been parsed.

Timeline Viewer gets some annotating UI and functionality. The Google Realtime API looks tempting as it'd handle a LOT of these pieces.

@denar90
Copy link
Contributor

denar90 commented Jun 26, 2017

@paulirish It will be nice if you turn on realtime API on GoogleAPI page for timeline-viewer project (or whatever it called (maybe unicorn-goat 🦄-🐐 😃 ))

@paulirish
Copy link
Member Author

@denar90 enabled!

@denar90
Copy link
Contributor

denar90 commented Jun 26, 2017

thx 👍

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

No branches or pull requests

2 participants