Skip to content

feat(dialogs): Setting the size of popup dialog thru dialog options #8041

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

Merged
merged 14 commits into from
Dec 5, 2019

Conversation

slolam
Copy link
Contributor

@slolam slolam commented Oct 31, 2019

PR Checklist

What is the current behavior?

There is no way to set the size of the popup dialog on iOS

What is the new behavior?

This will allow to size the popup dialogs in iOS (primarily iPad based apps, for iPhone apps iOS ignores these properties). Here is the playground project to test https://play.nativescript.org/?template=play-ng&id=GeR8Q4&v=3

@cla-bot cla-bot bot added the cla: yes label Oct 31, 2019
@vakrilov vakrilov self-requested a review November 25, 2019 16:14
@vakrilov vakrilov changed the title feat(iOS popup dialog size): Setting the size of popup dialog thru dialog options feat(dialogs): Setting the size of popup dialog thru dialog options Dec 2, 2019
@vakrilov
Copy link
Contributor

vakrilov commented Dec 2, 2019

test

@slolam
Copy link
Contributor Author

slolam commented Dec 2, 2019

@vakrilov, how do I get to see the logs/details of the tests failed? By clicking on details, it is looking for nsbuild01.telerik.com which seems to be a internal DNS entry.

@vakrilov
Copy link
Contributor

vakrilov commented Dec 3, 2019

Hey @slolam
Can you please run npm run api-extractor in the root of the repo and then commit the changes in the NativeScript.api.md file. This is needed because this PR is changing the public API of the framework.

This should make the travis build green.

@slolam
Copy link
Contributor Author

slolam commented Dec 3, 2019

Hey @vakrilov,

sh: api-extractor: command not found it looks like I am missing some dependencies

@cla-bot
Copy link

cla-bot bot commented Dec 3, 2019

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Shailesh Lolam.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@slolam
Copy link
Contributor Author

slolam commented Dec 3, 2019

@vakrilov, never mind I did not update the npm packages. I have committed the NativeScript.api.md

@cla-bot
Copy link

cla-bot bot commented Dec 3, 2019

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Shailesh Lolam.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@cla-bot
Copy link

cla-bot bot commented Dec 3, 2019

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Shailesh Lolam.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@vakrilov
Copy link
Contributor

vakrilov commented Dec 3, 2019

test

@vakrilov
Copy link
Contributor

vakrilov commented Dec 4, 2019

Hey @slolam
Seems that the CLA bot is not satisfied any more (this might happen if you have changed you git config settings or if you have pushed a commit from another machine). Can you try signing the CLA again?

@cla-bot
Copy link

cla-bot bot commented Dec 4, 2019

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Shailesh Lolam.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@slolam
Copy link
Contributor Author

slolam commented Dec 4, 2019

@vakrilov, yes, I have committed from a different machine earlier. I committed again from the previous machine but still the CLA bot has hung up previous commit that had issue. Not sure how you want me to undo my previous commit. Could you please help me with this?

@cla-bot
Copy link

cla-bot bot commented Dec 5, 2019

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Shailesh Lolam.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@cla-bot
Copy link

cla-bot bot commented Dec 5, 2019

Thank you for your pull request and welcome to our community. We could not parse the GitHub identity of the following contributors: Shailesh Lolam.
This is most likely caused by a git client misconfiguration; please make sure to:

  1. check if your git client is configured with an email to sign commits git config --list | grep email
  2. If not, set it up using git config --global user.email email@example.com
  3. Make sure that the git commit email is configured in your GitHub account settings, see https://github.com/settings/emails

@dtopuzov
Copy link
Contributor

dtopuzov commented Dec 5, 2019

test

@vakrilov
Copy link
Contributor

vakrilov commented Dec 5, 2019

Tests are green. I've checked the CLA seems to be OK. Thanks @slolam !
Merging.

@vakrilov vakrilov merged commit cd5703a into NativeScript:master Dec 5, 2019
@slolam
Copy link
Contributor Author

slolam commented Dec 5, 2019

Thanks @vakrilov for your help !

@slolam slolam deleted the ios-dialog-size branch December 5, 2019 16:09
rynop pushed a commit to rynop/NativeScript that referenced this pull request Dec 6, 2019
…ativeScript#8041)

* Added iOS specific height and width attributes to ShowModalOptions

* Set the height and width of the popup dialog to the presenting controller

* dialog options ios attributes presentationStyle, height & width are made optional

* Updated NativeScript.api.md for public API changes

* Update with git properties

* Public API

* CLA update
vakrilov added a commit that referenced this pull request Jan 10, 2020
* feat: add 3d rotation

* chore: fix build errors

* chore: fix tslint errors

* chore: add @types/chai dev dep

* chore: unused import cleanup

* chore: update tests for x,y rotation

* chore: rebase upstream/master

* fix: iOS Affine Transform test verification

* feat(css): Added optional css-tree parser (#8076)

* feat(css): Added optional css-tree parser

* test: css-tree parser compat tests

* test: more css-tree compat tests

* feat(dialogs): Setting the size of popup dialog thru dialog options (#8041)

* Added iOS specific height and width attributes to ShowModalOptions

* Set the height and width of the popup dialog to the presenting controller

* dialog options ios attributes presentationStyle, height & width are made optional

* Updated NativeScript.api.md for public API changes

* Update with git properties

* Public API

* CLA update

* fix: use iOS native-helper for 3d-rotate

* test: Fix tests using _getTransformMismatchError

* fix: view.__hasTransfrom not set updating properly

* test: fix css-animations test page

Co-authored-by: Alexander Vakrilov <alexander.vakrilov@gmail.com>
Co-authored-by: Darin Dimitrov <darin.dimitrov@gmail.com>
Co-authored-by: Shailesh Lolam <slolam@live.com>
Co-authored-by: Dimitar Topuzov <dtopuzov@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants