Skip to content
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

[FEATURE] Kuwait Theme - Completion Pop up variant #2642

Merged
merged 8 commits into from
Dec 20, 2024

Conversation

FaithDaka
Copy link
Collaborator

PR Checklist

  • PR title descriptive (can be used in release notes)

Description

A new variant for the pop_up component that can be used as the completion modal.

Author Notes

variant: plh_completion

Git Issues

Closes #2635

Screenshots

@FaithDaka FaithDaka linked an issue Dec 19, 2024 that may be closed by this pull request
3 tasks
@FaithDaka FaithDaka self-assigned this Dec 19, 2024
@FaithDaka FaithDaka added the feature Work on app features/modules label Dec 19, 2024
@FaithDaka FaithDaka added this to the ParentApp Kids KW Dec 2024 milestone Dec 19, 2024
Copy link
Collaborator

@jfmcquade jfmcquade left a comment

Choose a reason for hiding this comment

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

Thanks @FaithDaka, looks good. It could be worth updating the PR description with something like the following:

Adds variant functionality to pop-ups, where the named variant is passed in at the point of launching the pop-up. Currently only one variant is implemented, specifically for the plh_kids_kw theme.

@@ -2,6 +2,7 @@
class="popup-backdrop"
(click)="dismissOnBackdrop($event)"
[attr.data-fullscreen]="props.fullscreen ? true : null"
[attr.data-variant]="props.variant ? props.variant : null"
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit(non-blocking) This could be simplified to props.variant || null

Copy link
Collaborator

@esmeetewinkel esmeetewinkel left a comment

Choose a reason for hiding this comment

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

Functional test passed on plh_kids_kw deployment.

image

Known issues (not blocking this PR): Note that the screenshot doesn't yet show a background image (awaiting merge of PR #2589) and shows the close-button on the RHS instead or LHS of the screen in RTL (awaiting resolution of issue #2618)

@esmeetewinkel esmeetewinkel merged commit ea428a4 into master Dec 20, 2024
6 checks passed
@esmeetewinkel esmeetewinkel deleted the feature-kw-pop-up-component-variant branch December 20, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Work on app features/modules
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE] Kuwait Theme - Pop Up component variant
3 participants