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

Experimental Fullscreen Modal #2679

Merged
merged 86 commits into from
Jan 27, 2023
Merged

Conversation

mark-drastrup
Copy link
Contributor

Which issue does this PR close?

This PR closes #2585

What is the new behavior?

New Fullscreen Modal both as a component and through a new modal controller

Does this PR introduce a breaking change?

  • Yes
  • No

Are there any additional context?

Checklist:

The following tasks should be carried out in sequence in order to follow the process of contributing correctly.

Reminders

  • Make sure you have implemented tests following the guidelines in: "The good: Test".
  • Make sure you have updated the cookbook with examples and showcases (for bug fixes, enhancements & new components).

Review

  • Determine if your changes are a fix, feature or breaking-change, and add the matching label to your PR. If it is tooling, dependency updates or similar, add ignore-for-release.
  • Do a self-review.
  • Request that the changes are code-reviewed
  • Request that the changes are UX reviewed (only necessary if your PR introduces visual changes)

When the pull request has been approved it will be merged to develop by Team Kirby.

@github-actions github-actions bot temporarily deployed to pr-2585-new-kirby-modal January 10, 2023 13:04 Inactive
Copy link
Collaborator

@RasmusKjeldgaard RasmusKjeldgaard left a comment

Choose a reason for hiding this comment

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

I absolutely love this Mark, great work!

A first round of suggestions for the documentation here, .component.ts files etc. look awesome but I will circle back and review the last of the scss later, ran out of time :)

Remember to get an initial UX approval from Henrik, nothing major as we are still experimental, just to make sure it is as close as possible to the correct design.

@github-actions github-actions bot temporarily deployed to pr-2585-new-kirby-modal January 12, 2023 09:07 Inactive
(willDismiss)="_onWillDismiss($event)"
(didDismiss)="_onDidDismiss($event)"
>
<ng-template>
Copy link
Collaborator

@RasmusKjeldgaard RasmusKjeldgaard Jan 17, 2023

Choose a reason for hiding this comment

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

Just out of curiosity - why is this wrapped in <ng-template>?
I cant find the place where we are actually telling angular to render what is inside, what am I missing 😅

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good question! :D It's required by the modal component. It's in the modal component's default slot, so I suspect that it handles the <ng-template> behind the scenes :D

Copy link
Collaborator

Choose a reason for hiding this comment

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

image

Copy link
Collaborator

@RasmusKjeldgaard RasmusKjeldgaard left a comment

Choose a reason for hiding this comment

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

MEGA APPROVE!

Titanic Ship

@github-actions github-actions bot temporarily deployed to pr-2585-new-kirby-modal January 17, 2023 12:49 Inactive
@RasmusKjeldgaard RasmusKjeldgaard enabled auto-merge (squash) January 27, 2023 09:44
@RasmusKjeldgaard RasmusKjeldgaard added the feature Add this PR to the changelog as a feature label Jan 27, 2023
@RasmusKjeldgaard RasmusKjeldgaard merged commit 7685b36 into develop Jan 27, 2023
@RasmusKjeldgaard RasmusKjeldgaard deleted the component/2585-new-kirby-modal branch January 27, 2023 09:53
SigurdVilstrup pushed a commit that referenced this pull request Mar 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature Add this PR to the changelog as a feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[COMPONENT] New Kirby modal component / module based on Ionic's default modals
3 participants