Skip to content

fix(toast): allow to change position start/end of toast - #17961

Merged
brandyscarney merged 24 commits into
ionic-team:masterfrom
entom:full-width-toast
Apr 16, 2019
Merged

brandyscarney merged 24 commits into
ionic-team:masterfrom
entom:full-width-toast

Conversation

@entom

@entom entom commented Apr 4, 2019 •

Copy link
Copy Markdown
Contributor

Short description of what this resolves:

This allows user to set start and/or end position of toast-wrapper by using --start, --end.

Changes proposed in this pull request:

Ionic Version:
4.2.0
Fixes: #17854

@ionitron-bot ionitron-bot Bot added the package: core @ionic/core package label Apr 4, 2019

@liamdebeasi liamdebeasi left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This looks great! Can you just add some tests to src/components/toast/test/basic/index.html that show this working?

Thanks!

@entom

entom commented Apr 5, 2019

Copy link
Copy Markdown
Contributor Author

Ok, no problem. I have created some tests.

@liamdebeasi

liamdebeasi commented Apr 11, 2019 •

Copy link
Copy Markdown
Contributor

Hey there!

Sorry for the delay in reviewing this. We had an update to toast that we were trying to get merged in, and unfortunately there were some merge conflicts created as a result.

Would you be able to resolve the conflicts in your PR? After that I can take another look.

Thanks! 🙂

@entom

entom commented Apr 11, 2019

Copy link
Copy Markdown
Contributor Author

Ok, no problem. Thanks for response. I have resolved conflicts and merged changes.

@liamdebeasi liamdebeasi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great work! 👍

@liamdebeasi liamdebeasi changed the title fix(toast): allow to change position left/right of toast fix(toast): allow to change position start/end of toast Apr 16, 2019
@brandyscarney
brandyscarney self-requested a review April 16, 2019 21:33
@brandyscarney

brandyscarney commented Apr 16, 2019 •

Copy link
Copy Markdown
Member

Thanks for the PR! We made some changes that I just wanted to make aware, the big one being renaming the following:

left -> start
right -> end

The main reason for this is because in RTL applications the left is actually the right, and the right is the left so in many places we are using start and end now for RTL support. 🙂

I made a couple changes to the implementation but this is good to go! We can merge it once the build passes.

@brandyscarney
brandyscarney merged commit 07e739a into ionic-team:master Apr 16, 2019
@brandyscarney

Copy link
Copy Markdown
Member

Merged, thank you!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: core @ionic/core package

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants