-
Notifications
You must be signed in to change notification settings - Fork 191
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
Media playback team bug reporting to webcompat.com #1356
Comments
That's very cool.
We probably would benefit to keep a clean structure for these data, so we can parse them correctly and make a nice layout in webcompat.com. Also to avoid weird characters and filtering into markdown. @squelart Our form currently is loosely structured. We could probably improve that.
Thanks. |
Hmm is looking at the code and I guess that would be a good opportunity to improve our form handling. |
@karlcow Thank you for opening this issue. Here are some examples of information I'd like to get into a webcompat form, in addition to the page's URL:
A simple solution would be to just give the ability to pre-propulate the "Give more details" box with some arbitrary text, in which I could gather all this extra information. Bonus: It'd be great if I could pre-select the "Video doesn't play" radio button. A more difficult solution (I'm guessing) would be to add more fields to match. |
not necessary more difficult. In the end we handle a python dictionary that we format as a payload for GitHub. {
'description': u'1. Navigate to: http://www.example.com/\r\n2. \u2026\r\n\r\nExpected Behavior: FOO\r\n\r\nActual Behavior: BAR\r\n',
'url': u'http://www.example.com/',
'os': u'Mac OS X 10.12',
'metadata': u'<!-- @browser: Firefox 53.0 -->\n<!-- @ua_header: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:53.0) Gecko/20100101 Firefox/53.0 -->\n<!-- @reported_with: web -->\n',
'problem_type': u"Something else - I'll add details below",
'browser': u'Firefox 53.0'
} |
Thanks for filing the bug @karlcow! (I was supposed to last week but uh... forgot. 😢) We could do this in a couple of ways:
Any preference @squelart? |
Hi @miketaylr, thank you for following up. Selfishly, 1 would be easier for me because all I'm (currently) doing is opening a tab with a hand-built URL. |
|
Cool, good to know. |
If JSON is more future-proof, I could send JSON in my GET too. ;-) |
One more question @squelart -- Do you think it would be more useful to open the Or would you prefer just sending along the data and an issue is created from that? (sounds like @karlcow's option 3) I think the answer to that question will help us pick between option 1 and option 3. :) |
@miketaylr And they should be given the opportunity to edit it, just like they can already alter the main URL. Or alternatively, these special fields (old URL, and new extra info) could be made read-only when provided through GET/POST, because altering them could render the submission useless. (Disclaimer, if you hadn't noticed yet: I'm not a web-dev!) |
yes. This is the front-end facing part of the story.
yes. Then once all the information has been edited there is the way we send it through HTTP to webcompat.com. :) Two separate layers. Maybe what I'm missing to fully understand the context is what is happening on the firefox side, before the HTTP request. When there is a media problem, what is showed to the users. |
@karlcow When there is some kind of decode error that prevents starting/continuing playback, we will show a notification bar above the page, saying something like "An error occurred while decoding a media resource.", with a "Report Site Issue" button. For the implementation on my side, the code handling the button press will be based on this one: |
@squelart Thanks. It helps a lot. so indeed two solutions:
Thinking |
Food for thought |
So the media team is not blocked forever on an elegant solution (which would probably require UX on the Firefox side), I think we should go this route and file bugs to come up with nicer things in the future, and migrate towards them. I'll file some follow up bugs. |
I guess we can leave this open until the 3 following bugs are fixed: |
I agree with this, FWIW. |
Welcome back @miketaylr , the Firefox code is pretty much complete, I need to finish writing front-end tests before sending it for review... |
@squelart cool! I think it's safe to plan on there being a |
@miketaylr I probably should have told you in advance, but the media errors notification bar has recently landed in Nightly, so there may be a bit of traffic coming from that now. Please contact me if you see anything bad... |
@miketaylr We are seeing issues like this one, which are tagged with:
as we would expect for issues that contain something like:
in the description. Then other issues like this one that are reported are not labeled as media:
but also contain in the description:
Edit: maybe this comment probably belongs in #1360 instead. Edit again: I filed a bug for it #1516 |
This can be closed now, I think! |
by @squelart
The text was updated successfully, but these errors were encountered: