-
Notifications
You must be signed in to change notification settings - Fork 2
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
utterance-queue is dependent on scenery #33
Comments
I think PDOMUtils has too many things that are scenery specific or unique to PDOM to move the whole file out of scenery. I recommend we make a new file called DOMUtils.js in phet-core that will have @zepumph does this seem OK to you? If so, reassign and I am happy to do this. |
Yes, I think that is a really good idea. Thanks! |
I tried to do this but |
I wondered about moving |
While discussing phetsims/axon#361, @samreid suggested that the |
I tried this and noticed that a number of things would have to move from PDOMUtils to DOMUtils to support this ( Actually the majority of PDOMUtils is not specific to PDOM and could make sense in a DOMUtils. I think going through the following steps to move most of PDOMUtils into phet-core would preserve history best.
Would that work and make sense? Alternatively, both PDOMUtils and DOMUtils will exist at the end of this and a commit message like "move many PDOMUtils functions into phet-core so utterance-queue doesn't have to depend on scenery" will link history between the two. I am happy to do either but don't want to mess up the history in this move! @zepumph which would you recommend? I ask since you have knowledge of copy-history-to-different-repo and have expressed an interest in preserving history in the past. |
I like this idea! I thought that it would be best to move to phet-core, but it depends on axon, so utterance-queue sounds good for now. |
From meeting with JG today, we will rename to DOMUtils and move to utterance-queue using the copy history script. |
utterance-queue currently has a dependency on scenery because of a usage of PDOMUtils in AriaHerald. But scenery depends on utterance-queue, so this introduces a circular dependency. How should we handle? Move PDOMUtils to something that is a dependency for both scenery and utterance-queue? Move just the used function? Duplicate the used function?
The text was updated successfully, but these errors were encountered: