- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 18 Jan 2023 17:39:10 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-view-transitions-1] domUpdated isn't the right term`, and agreed to the following: * ``RESOLVED: adopt suggested change to rename to `updateCallbackDone`` <details><summary>The full IRC log of that discussion</summary> <JakeA> View transitions wraps a state change - we attempt generate a transition from that state change<br> <JakeA> The developer provides a callback where they do that change, usually by modifying the DOM in some way. It can be async.<br> <JakeA> Sometimes you just want to know when the state change is complete<br> <JakeA> We provided a promise for that,`domUpdated`, which fulfills when the promise returned by the callback fulfills<br> <JakeA> Anne said "we don't really expose DOM as a term to web content", so the name is bad<br> <JakeA> So, we need a new name<br> <JakeA> Couple of options: `stateUpdated` - avoids using DOM, but a bit vague, might be confusing due to frameworks use of 'state'.<br> <JakeA> Vlad suggested that, since the promise resolves along with the callback, we name it `updateCallbackDone`.<br> <JakeA> I like that, since if the developer does stuff other than DOM updating in the callback, the promise name still makes sense.<br> <JakeA> Anne is happy with that.<br> <bramus> JakeA: I can take up this one. posted a bunch of messages above<br> <TabAtkins> +1 to suggested name change, it's clear and tied directly to what's actually happening, and I think will make sense for an author.<br> <masonf> `DOMContentLoaded` ?<br> <bramus> JakeA: I guess we are saying: any objections?<br> <bramus> astearns: not knowing what the callback is named that seems vague. what is it?<br> <bramus> JakeA: it does not have an developer visible name. authors pass it in as argument<br> <bramus> JakeA: `updateCallback` and then `updateCallbackDone`<br> <florian> have not followed deeply, but seems reasonable<br> <bramus> TabAtkins: I like it. makes sense and matches spec language<br> <bramus> bramus: +1<br> <bramus> astearns: proposed resolution: adopt suggested change to rename to `updateCallbackDone `<br> <bramus> RESOLVED: adopt suggested change to rename to `updateCallbackDone<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8144#issuecomment-1387463625 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 18 January 2023 17:39:11 UTC