-
Notifications
You must be signed in to change notification settings - Fork 144
Refactor websocket, fullscreen, gamepad #1104
Comments
Thanks for these changes @irenesmith ! Review comments for WebSocket events
|
Review comments for fullscreen events
you could say:
this could also reaffirm that the event is a toggling event:
(btw that example does not work in Firefox Nightly, though I don't know why. It does work in Chrome.) |
Review comments for GamePad events
|
@irenesmith , also, I'm not clear what the status of this one is, can you give an update please? |
@wbamberg I want to make sure that I incorporated all of your suggested changes. I will update this later today (after the mid-sprint meeding) |
WebSocket page event descriptions updated |
Thanks for the update @irenesmith ! Review comments for WebSocket
|
Just goes to show you should never edit stuff at two in the morning. |
@irenesmith , @chrisdavidmills, I just saw that this story doesn't seem to be in the current sprint - are you still planning to work on it in this sprint or should we plan to get to it in the next one? |
@wbamberg WebSocket events and interface page have been updated. |
There is still an open BCD PR that relates to this issue: mdn/browser-compat-data#3812 |
@irenesmith , please let me know when you've updated all the pages so I can review them all together. |
@wbamberg I have made updates according to your comments on fullscreen and gamepad events as well as the WebSocket events and all BCD information has been submitted (see pull request links on my previous comment.) |
@wbamberg I am not ignoring your final comments on fullscreen events. I will make those changes later this afternoon. In the meantime, because my PR was totally and completely messed up, I have created a new pull request with a copy of the data that was accidentally pushed to github with the same branch name but different capitalization right before everything went bad. |
OK, so here it looks like you just need to respond to the comments at #1104 (comment) And make sure the new PR you submitted has been merged. Can you link to it here please? |
BCD PR for this: mdn/browser-compat-data#4054 |
I've closed mdn/browser-compat-data#4054 and filed mdn/browser-compat-data#4198 instead. |
Thanks @wbamberg. |
@jswisher, I think the comments in #1104 (comment) still need to be addressed here. |
I've looked at this again, and gone through all the pages related to the fullscreen events. the following comments from @wbamberg still have not been responded to:
you could say:
this could also reaffirm that the event is a toggling event:
(btw that example does not work in Firefox Nightly, though I don't know why. It does work in Chrome.) In addition, https://developer.mozilla.org/en-US/docs/Web/API/Element/fullscreenerror_event doesn't have the full sections filled in — Examples, Specifications, Browser compatibility, See also. |
All comments not related to the example are now implemented. However, I'm having trouble making a working example. I saw Will's comment that it only works in Chrome, but I'm trying to find a way to code an example that works in Firefox as well. |
The comments in #1104 (comment) are still not addressed. |
Are we looking at the same docs? I made sure that all those comments except for the example had been implemented in the docs before I made the comment. |
Well, I just checked https://developer.mozilla.org/en-US/docs/Web/API/Document/fullscreenchange_event Which are the docs we are on about that still need fixes made. Then I checked the first comment that still remains from Will's comments that were not addressed, which is as follows: I think it would be helpful if instead of the exact same content for Document and Element to tweak the content. For example, in the Document version instead of:
you could say:
You've only made this change in the first page out of the four I listed. I think you need to check them again. |
I should know better than to ever say things like I did. It always seems to turn out that you're wrong. Sometimes I get too focused and miss the forest for the trees (the tree being the event I edited and the forest being the rest of the pages) |
I have updated the content and, for fullscreenerror, have implemented the suggestions Will sent me in email. @wbamberg can you please take another look? |
I've made most of the remaining fixes. One last thing though. At the start of https://developer.mozilla.org/en-US/docs/Web/API/Element/fullscreenchange_event it says "The fullscreenchange event is fired immediately before an Element switches into or out of full-screen mode". But in the Examples section it says "Remember that by the time the fullscreenchange event is handled, the status of the element has already changed". Which is true? |
What is true is that the event happens directly after the change because there wouldn't be a fullScreenElement otherwise. I have updated both Element and Document appropriately. |
Thanks for the clarification @irenesmith ! Then I think this is finished :). |
This is a work item for #685.
websocket:
fullscreen:
gamepad:
Acceptance criteria:
The text was updated successfully, but these errors were encountered: