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

Intent to Ship Email #747

Closed
shell1 opened this issue Jan 3, 2019 · 15 comments
Closed

Intent to Ship Email #747

shell1 opened this issue Jan 3, 2019 · 15 comments
Assignees
Milestone

Comments

@shell1
Copy link

shell1 commented Jan 3, 2019

This email should only be generated if they click "send email" next to the checklist item for "Intent to Ship email Sent".

All comments will be addressed and included in this the template here: https://docs.google.com/document/d/1LknFtapAZ2OQtXzufRlgwwHjDrkCrQHucXgBTzDlZ5g/edit#heading=h.54ufojhvugj6

this is what I'd like the template to say and where it should get it's info

help should link here: https://mana.mozilla.org/wiki/display/FIREFOX/Pref-Flip+and+Add-On+Experiments#Pref-FlipandAdd-OnExperiments-IntenttoShipemailsent

To: [email protected]
cc: {Creator and anyone else we know about from experiment}
From: {either Experimenter Bot (if possible) or use [email protected]}
Summary: SHIELD Study Intent to ship: {SHIELD_study_name} on Firefox {version} {channel}

Hello Release Drivers,

This request is coming from information entered in Experimenter. Please reach out to the person(s) on cc: with any questions, details, or discussion. They will email an update if any of the key information changes. Otherwise they will reach out once the study has fully passed QA for Release Management sign-off.

Experimenter Bug: {Experimenter bug number}
Experimenter URL: {link to experiment detail page}
Study owner: {experiment requester}
Description: {Short Description}
Timeline & Channel: {version} {channel}
Intended study dates: {proposed start date} - {proposed end date}
Percent of Population: {percent of population}
Platforms: {platforms}
Locales: {Locales and Geographic areas}
QA Status: {QA Status}
Meta Bug: {Feature Meta Bug}
Related links: {links to related work}
Risk: {Risk Box - only if it exists}
Technical Complexity: {Technical Complexity Box - only if it exists}

Thank you!!

@jaredlockhart jaredlockhart added this to the Backlog milestone Jan 3, 2019
@jaredlockhart jaredlockhart changed the title DO LATTER IN DAY: Intent to ship email generate from Experimenter info on "send email" click Intent to Ship Email Jan 4, 2019
@jaredlockhart jaredlockhart modified the milestones: Backlog, 2.20.0 Jan 7, 2019
@jaredlockhart jaredlockhart self-assigned this Jan 7, 2019
@jaredlockhart jaredlockhart modified the milestones: 2.20.0, 2.21.0 Jan 14, 2019
@jaredlockhart jaredlockhart modified the milestones: 2.21.0, Backlog, 2.23.0 Jan 23, 2019
@shell1
Copy link
Author

shell1 commented Jan 29, 2019

I made a mistake at the end of this email template - and grouped Risk and Technical Complexity together. The last item that is populated should be....

Risk: {Risk Box - only if it exists}
Technical Complexity: {Technical Complexity Box - only if it exists}

@peterbe
Copy link
Contributor

peterbe commented Feb 27, 2019

@shell1

I made a mistake ...

I see that you edited the issue description. Did you correct the "Risk" and "Technical Complexity" as per that second comment? Because it doesn't seem to match.
Perhaps I'm just reading you wrong. Perhaps what you mean is to simply add one more line that is "Technical Complexity: {Technical Complexity Box - only if it exists}"

@shell1
Copy link
Author

shell1 commented Feb 28, 2019

ugh - sorry @peterbe . I didn't realize I could edit old comments and was treating it like bugzilla. Just edited the Initial comment to reflect the desired state. It is to replace single "risk and technical complexity" with 2 options. One for "risk" and one for "technical complexity".

Sorry to make you parse the initial ask and change requests - instead of updating the initial ask.

@peterbe
Copy link
Contributor

peterbe commented Feb 28, 2019

Regarding...

Platforms: {platforms}

Where does this come from? I see no mention of platforms (or platform) anywhere in the code.

@peterbe
Copy link
Contributor

peterbe commented Feb 28, 2019

Regarding...

Locales: {Locales and Geographic areas}

As far as I can, we don't have this. But in the Population Filtering we have a textarea which we could attempt to parse out by looking for Locales: .... But that feels very fragile.

And what is "Geographic areas"? Again, in the Population Filtering it has "Geographic regions:".

@shell1
Copy link
Author

shell1 commented Feb 28, 2019

:( this should be blocked on landing #971. that will break those out into separate fields - from all inside "population filtering" blob.

@jaredlockhart jaredlockhart modified the milestones: 2.25.0, 2.26.0 Mar 4, 2019
@peterbe
Copy link
Contributor

peterbe commented Mar 8, 2019 via email

@peterbe peterbe removed the Blocked label Mar 18, 2019
@jaredlockhart jaredlockhart modified the milestones: 2.26.0, 2.27.0 Mar 18, 2019
@jaredlockhart jaredlockhart modified the milestones: 2.27.0, 2.28.0 Mar 26, 2019
@glasserc
Copy link
Contributor

Following up on this. Front-end code to make this work is a little more complicated than is suggested in #984 (comment) because we're already "in" a <form>, which is not permitted to contain other <form>s. Options I see:

  • Make the button submit to the same view as the rest of the form, but do so in a way that is detectable by the view somehow. This means making ExperimentReviewUpdateForm more complicated.
  • Wire up some AJAX to intercept the button and fire a request to a standalone view. This is technically easier but is a bit of a different UX than the rest of Experimenter.

One question that might help clarify: what happens if I check a bunch of checkboxes and then click Send Email? Is it preferable that we save those checked boxes, that we lose the checked boxes, or that we stay on the same page with the same state of the checked boxes?

@glasserc
Copy link
Contributor

I guess "only if it exists" means if the field is a non-empty string?

How should "locales and countries" be displayed? One list, or maybe some text to distinguish between locales vs. countries?

@glasserc
Copy link
Contributor

Should "proposed start date" and "proposed end date" have any specific format? How do you feel about "Jan 02, 2019 - Jan 14, 2019 (12 days)"? Or would you prefer 2019-01-02 - 2019-01-14?

@glasserc
Copy link
Contributor

glasserc commented Mar 29, 2019

Should "locales" and "countries" be displayed as codes, or as human-friendly descriptions, or what? Edit: I guess I can just go with the existing formats, which are e.g. Paraguay (PY).

@mythmon
Copy link
Contributor

mythmon commented Mar 29, 2019

+1 to the existing format of using both the human-friendly description and the code.

@peterbe
Copy link
Contributor

peterbe commented Mar 29, 2019

Should "locales" and "countries" be displayed as codes, ...

The template for experiment details page
https://github.com/mozilla/experimenter/blob/master/app/experimenter/templates/experiments/section_population.html#L11-L27
demonstrates how it displays the countries and locales when you're looking at the experiment. It uses the Locale.__str__ and Country.__str__ as the formatter.

@glasserc
Copy link
Contributor

glasserc commented Apr 2, 2019

Not all experiments have projects. What should I do if it doesn't have one?

@jaredlockhart
Copy link
Collaborator

@glasserc Sorry that was miscommunicated it shoudln't be project it should be:

     Experimenter URL: {link to experiment detail page}

which can be accessed by

    experiment.experiment_url

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants