Closed Bug 1198757 Opened 9 years ago Closed 9 years ago

trigger suggester needs templated urls

Categories

(Input Graveyard :: Submission, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

References

Details

(Whiteboard: p=2 s=input.2015q3)

In bug #1175123, we wrote a trigger suggester that will show suggestions if the feedback response meets certain criteria. This can be used to suggest surveys for soliciting additional information about problems we're having difficulties with reproducing or sussing out. Gregg pointed out that it helps a lot if we can pass along things like the product, version and locale in the survey link url. This requires that we support templated urls where a url can be something like this: https://somesurvey/?product={PRODUCT}&locale={LOCALE}&version={VERSION} and the suggester will fill in the values from the feedback response. Requirements: * support PRODUCT, LOCALE, VERSION * if there is no value available, send an empty string * the help text for the trigger rule form should mention which variables are supported
I think this about a day of work or so. Tentatively assigning it 2 points. Grabbing it to work on today or tomorrow.
Assignee: nobody → willkg
Status: NEW → ASSIGNED
Whiteboard: u=2 s=input.2015q3
Making this block on bug #1198766 because that one has code changes this one will need landed first.
Depends on: 1198766
I have this mostly implemented, but it relies on bug #1198766 to land first. I added support for PRODUCT, VERSION, PLATFORM, LOCALE and HAPPY figuring those are all interesting. Once bug #1198766 lands, I'll make a PR for this.
This was a 2 point bug. Not sure why I had it as u=2.
Whiteboard: u=2 s=input.2015q3 → p=2 s=input.2015q3
Landed in master: https://github.com/mozilla/fjord/commit/433b7db36d17d049875249c08c04d54d323a7540 Pushed to stage. Created a "rehan" trigger that passes sentiment in the url. Works super. Pushed to prod. Marking as FIXED!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Input → Input Graveyard
You need to log in before you can comment on or make changes to this bug.