Skip to content

[🚩esl-modal]: beta release version of esl-modal module - #1969

Draft
NastaLeo wants to merge 39 commits into
mainfrom
epic/esl-modal
Draft

[🚩esl-modal]: beta release version of esl-modal module#1969
NastaLeo wants to merge 39 commits into
mainfrom
epic/esl-modal

Conversation

@NastaLeo

@NastaLeo NastaLeo commented Oct 2, 2023

Copy link
Copy Markdown
Collaborator

Closes: #1376

NastaLeo and others added 26 commits July 18, 2023 22:00
@NastaLeo NastaLeo added feature New feature needs review The PR is waiting for review labels Oct 2, 2023
@NastaLeo NastaLeo added this to the ⚡ESL: 4.13.0 Minor release milestone Oct 2, 2023
@NastaLeo
NastaLeo requested a review from a team October 2, 2023 12:32
@ala-n ala-n removed the needs review The PR is waiting for review label Oct 18, 2023
Comment thread src/modules/esl-utils/test/template.ts Outdated
Comment on lines +62 to +65
if (!this.cache[selector]) {
this.cache[selector] = this.$fragment.querySelector(selector);
}
return this.cache[selector];

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess you missed clearing the cache in the clear() method (in row number 52).

expect(ESLModalStack.store[1]).toBe(TEMPLATE.$modal2);
expect(ESLModalStack.store.length).toBe(2);
});
test('Closing and removing parent modal from store leads to hide all nested modals in case their are opened before target modal closes and its removing from store', () => {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it can be simplified

Suggested change
test('Closing and removing parent modal from store leads to hide all nested modals in case their are opened before target modal closes and its removing from store', () => {
test('Removing the parent modal leads to hiding all nested modals if opened', () => {

@ala-n
ala-n force-pushed the main branch 4 times, most recently from df09192 to 5f44df3 Compare January 17, 2025 02:32
@ala-n ala-n removed this from the ⚡ESL: 5.1.0 Minor release milestone Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[🚩esl-modal]: beta release version of esl-modal module

3 participants