firefox-devtools / ux

Firefox DevTools UX Community
Mozilla Public License 2.0
103 stars 21 forks source link

[Profiler] Profile upload dialog with customizable PII removal #54

Closed digitarald closed 4 years ago

digitarald commented 5 years ago

UX for https://github.com/firefox-devtools/profiler/issues/1802 Team: @canaltinova, @gregtatum, @fqueze and @digitarald.

Background: The profiler needs to keep users from accidentally sharing data that they are not aware of but provide user choice to include more data.

Guiding principles (from the PRD):

Designs

Diverging stage to find the right interface for users opting into sharing more data and understanding their choices). When converging, we can tweak the copy for labels, descriptions and warnings.

Greg created a prototype, in which users uncheck options to include more data: Deploy preview

Harald's mockups are exploring the direction of checking boxes to share more data:

image

cc @violasong @fvsch for input.

fqueze commented 5 years ago

Thanks for starting this discussion Harald!

Random thoughts when looking at the provided mockups:

digitarald commented 5 years ago

I like the idea of showing the size of what will be uploaded, but for me this doesn't have anything to do with sanitization

Agreed, it probably should be a combination of both showing what kind of data gets removed per category and making it less prominent. The choices are not about reducing the size, but stripping private data. I did like how the data removal summary can be a header for the section, but a more privacy focussed stat would make more sense.

The (i) icon in the bottom right mockup looks nice.

This section could be informational and wrapped in a photon's relevant helper style. Those don't seem to have icons though, but can either have a Learn More link or tooltip (Relevant).

I dislike the "Download" button in the bottom right mockup.

Good one; sounds indeed like it's already in the cloud. Probably just needs some better copy; like Save. This might clash with renaming the label in the top-level button to "Publish"; but maybe it is not that important as secondary option.

digitarald commented 5 years ago

@violasong to help with your backlog prioritization, we are aiming to land this work before the end of Q2 and the backend work is nearly completed; so only frontend remains.

violasong commented 5 years ago

Sounds good! I like where the mockups/comments are going, and will respond in more detail soon.

digitarald commented 5 years ago

@violasong we have a profiler planning meeting tomorrow and I'll be PTO for 2 weeks after that – would it be feasible to have some initial input by EOD today? Happy to jump on a chat to provide more context if needed.

digitarald commented 5 years ago

Other thoughts that might be considered in the UI, adding to the notes before:

violasong commented 5 years ago

Yes! Will look at it this morning

violasong commented 5 years ago

Here's what I would suggest based on the above points:

-- Share Performance Profile

Upload your profile and make it accessible to anyone with the link. By default, your personal data is removed.

v Include additional data that may be identifiable

[Cancel] [Save] [Publish]

--

digitarald commented 5 years ago

Thanks @violasong for the input!

I think having a short title helps with cognitive load. Calling it "Share Performance Profile" ties it in with the button wording.

Makes sense. The recent wording we picked is "Publish", which felt more correct to the action and in line with other tools like Invision and Figma. But it sounds like your recommendation is mostly about reflecting the button label in the title.

v Include additional data that may be identifiable

Would you recommend to hide that section by default or just receive a "section" styling?

violasong commented 5 years ago

Ah, not sure - do you foresee these options used like 5% of the time or 30%+? Is it important to list out all the options for discoverability in case the dev is missing something? It’s not too much info if we just have 4-5 checkboxes, so maybe I’d err on default-visible.

On Wed, Mar 27, 2019 at 12:27 PM Harald Kirschner notifications@github.com wrote:

v Include additional data that may be identifiable

Would you recommend to hide that section by default or just receive a "section" styling?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/firefox-devtools/ux/issues/54#issuecomment-477314162, or mute the thread https://github.com/notifications/unsubscribe-auth/AADauo6Syf-aXuEyIcPxIN7wMN0DyvtXks5va8YOgaJpZM4bsDAd .

julienw commented 5 years ago

Hey, I filed an issue in https://github.com/firefox-devtools/profiler/issues/1957 after this was implemented because I found the way checkboxes work confusing. Especially sometimes checked means filter out and in other locations it means include.

digitarald commented 5 years ago

It’s not too much info if we just have 4-5 checkboxes, so maybe I’d err on default-visible.

Seems like that is the way forward until we get more checkboxes. Related https://github.com/firefox-devtools/profiler/issues/1957#issuecomment-484491272 had a great idea on how to conceptualize the removal of hidden information and private data.

Here's what I would suggest based on the above points:

@violasong how would this be worded for Nightly, where we want to share everything by default. Just pre-opening the section and having the checkboxes checked might be enough.

digitarald commented 4 years ago

v0 landed, closing for now.