Closed Bug 1086237 Opened 10 years ago Closed 9 years ago

Add details about browser type, version and platform to feedback form metadata

Categories

(Hello (Loop) :: Client, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: RT, Unassigned)

References

Details

The following fields are currently being filled-up with the feedback form on the standalone link clicker UI:
https://wiki.mozilla.org/Loop/Data_Collection#Example_Payloads

On input, this gives
https://input.mozilla.org/en-US/dashboard/response/4644800 for
standalone,
https://input.mozilla.org/en-US/dashboard/response/4644783 for desktop.

The issue is that currently the link clicker UI does not fill in the following fields: "channel" (browser type), "version" and "platform"

The data about browser type, version and platform is contained in the user agent string although can't be parsed on the server side so needs to be added to the relevant fields by the client, these fields already exist and are used by the desktop client: "platform", "version" and "channel".
Related: bug 1085344, bug 1048785.

Atm the Loop standalone web application only sends the user's browser User Agent string to the Input API on feedback.

We need to extract the OS, platform and version information out of the UA string and fill the realted field instead, so these data are viewable and filterable on the Input website.

We could use UAParser.js[0] to ease extraction.

[0]: https://github.com/faisalman/ua-parser-js
Assignee: nobody → nperriault
See Also: → 1085344
Cheng and I are talking about making the user agent parsing on Input meet your needs now. Bug #1085430 covers part of that work.

I think I'd hold off on working on this bug until we can figure out whether we can implement it on Input in the near future.
backlog: --- → Fx38?
No longer blocks: 1077257
Depends on: 1085430
backlog: Fx38? → ---
Assignee: nperriault → nobody
Bug 1171415 is removing the feedback form, so I'm going to wontfix this.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.