Skip to content
This repository was archived by the owner on May 4, 2022. It is now read-only.

Conversation

ulesta
Copy link
Contributor

@ulesta ulesta commented Feb 16, 2017

…hing tabs and navigating to children views.

Short description of what this resolves:

This fixes a Back Button issue (#122) which occurs when a View's backViewId reference is removed during a View transition (usually happens on Tab switch). This is a result of setting backViewId to null whenever there is a circular cycle (which creates an infinite loop), i.e.: T1V1 -> T2V1 -> T2V2 -> T1V1. The iteration through Views, however, does not take into account Views in the same History stack. This could potentially remove backViewId from Views within the same History stack causing the Back Button to disappear when navigating to a child View.

Changes proposed in this pull request:

  • Only set backViewId to null for Views not in the same History stack

Ionic Version: 1.3.2
Fixes: #122

@gabrielbazan7
Copy link

I just tested on https://github.com/bitpay/copay. I can confirm it works.

@JDonadio
Copy link

Any update about this? Copay it's looking forward to this fix 😉

@mlynch mlynch merged commit 980126d into ionic-team:master Feb 22, 2017
@mlynch
Copy link
Contributor

mlynch commented Feb 22, 2017

Nothing like a PR with tests, thanks so much! 🍻

@mlynch mlynch mentioned this pull request Feb 22, 2017
@JDonadio
Copy link

@mlynch can you tell me when this fix will be on production?

@gabrielbazan7
Copy link

I can't see this changes on the release folder. Thanks

@ulesta
Copy link
Contributor Author

ulesta commented Feb 22, 2017

Hey @gabrielbazan7, since it's not part of the release yet, you'd have to build the release yourself via RELEASE=true gulp build and copy the files from dist to release. We have our own forked release branch if you want to use it: https://github.com/UltimateSoftware/ionic-v1/tree/release

Ideally, we still want to be pointing to the official repo, so let's wait on @mlynch to see what the ETA is for the next release

@mlynch
Copy link
Contributor

mlynch commented Feb 22, 2017

Thanks @ulesta, was thinking of doing a release today, need to spend some time testing

@ulesta
Copy link
Contributor Author

ulesta commented Feb 22, 2017

@mlynch awesome, thanks! Keep us posted! 💯

@mlynch
Copy link
Contributor

mlynch commented Feb 22, 2017

Okay, code updated and the release directory updated with 1.3.3. Try cloning the repo and using the version in that directory.

Our CI isn't quite hooked up to v1 now that we moved it out of the core ionic repo, so it'll be a bit before it makes it to bower/etc.

@ulesta
Copy link
Contributor Author

ulesta commented Feb 22, 2017

Thanks @mlynch ! Any chance we could publish the release to NPM or at least tag it as a release on Github? Let me know! Thanks again! 😄

@ulesta
Copy link
Contributor Author

ulesta commented Mar 3, 2017

@mlynch any ETA on tagging this as a release so we can start updating our dependencies?

@ajmesa9891
Copy link

@ulesta and @mlynch It would be great to get this tagged soon.

@mastronaute
Copy link

I could I benefit the fix? Can I update my Ionic version with NPM or should I build a release? If so, how could I do it?

@mlynch
Copy link
Contributor

mlynch commented Apr 3, 2017

Hi all, please find the new release files here: https://github.com/driftyco/ionic-v1/tree/master/release

Unfortunately, we won't be able to get this tagged soon, our release system is in a state of flux and we don't have the automation working at the moment.

For now, this is a 100% legitimate way to get the releases. Going to lock this issue so others can see the note here. Thanks.

@ionic-team ionic-team locked and limited conversation to collaborators Apr 3, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants