Draft
Conversation
Contributor
|
Thanks for the PR! 🎉 We've deployed an automatic preview for this PR - you can see your changes here:
Note The build needs to finish before your changes are deployed. |
ca89028 to
1703061
Compare
duncanuszkay-d2l
commented
Apr 7, 2026
| } | ||
| :host([_state="showing"]), | ||
| :host([_state="shown"]), | ||
| :host([_state="loading"]), |
Contributor
Author
duncanuszkay-d2l
commented
Apr 7, 2026
| if (this._state === 'hidden') return nothing; | ||
| return html` | ||
| <div class="backdrop" @transitionend="${this.#handleTransitionEnd}" @transitioncancel="${this.#hide}"></div> | ||
| <div class="backdrop" @transitionend="${this.#handleTransitionEnd}" @transitioncancel="${this.#handleTransitionEnd}"></div> |
Contributor
Author
There was a problem hiding this comment.
This resolved a bug I began to run into once I adjusted the demo to allow the more rapid state changes- we can't assume that a cancellation of a transition must indicate that we need to hide, we need to check to make sure that we're in the hiding state.
duncanuszkay-d2l
commented
Apr 8, 2026
Comment on lines
+185
to
+186
| await this.shadowRoot.querySelector('d2l-empty-state-simple').getUpdateComplete(); | ||
| await this.shadowRoot.querySelector('d2l-empty-state-action-button').getUpdateComplete(); |
Contributor
Author
There was a problem hiding this comment.
This ensures that we're accurately measuring the height offset for the dialog box, this should remain consistent regardless of the text content
6c65b4d to
1d1bf11
Compare
499ce36 to
5e9287c
Compare
0b7aca8 to
2ae18aa
Compare
2ae18aa to
3663e8c
Compare
3663e8c to
e56e8ff
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Note for reviewers- looking for some early input on direction before finishing this up 👀
This PR is split up into commits to make it easier to review.
https://desire2learn.atlassian.net/browse/NTNGL-5471?atlOrigin=eyJpIjoiMDk2MmRlZjZmMjkxNGNhZjlmMTIxMTdiMjJiODZjODYiLCJwIjoiaiJ9
Functional Testing
Moving between the new backdrop states:
Recording.2026-04-07.163437.mp4
Using the new system in the downstream consumer (WIP integration PR)
Recording.2026-04-07.163602.mp4