Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[NT-876] Pop ProjectPamphlet to root after project is backed #1075

Conversation

justinswart
Copy link
Contributor

@justinswart justinswart commented Feb 20, 2020

📲 What

Pops the ProjectPamphletViewController's navigation stack to root after a project is backed.

Note: This is based off #1072's branch.

🤔 Why

Now that we are presenting the checkout flow from the project campaign details in #1072, once the thanks page is presented and dismissed we want the user to land back on the project page and not the campaign details page. If they exit out of the checkout flow earlier than completion then we do want them to return to the campaign details page.

🛠 How

We were already observing the projectBacked notification in order to refresh the project after backing. We've now repurposed this signal to pop the navigation stack.

👀 See

Before 🐛 After 🦋
2020-02-19 16 22 56 2020-02-19 16 25 05

✅ Acceptance criteria

  • Tap Back this project on the project campaign details. Upon completing the checkout flow and observing the thanks screen, dismissing the modal should land back on the project view.

@justinswart justinswart merged commit 45803a4 into NT-876-back-project-campaign-details Feb 21, 2020
@justinswart justinswart deleted the NT-876-pop-pp-to-root-from-thanks branch February 21, 2020 00:35
justinswart added a commit that referenced this pull request Feb 21, 2020
* Add pledge CTA to project description

* Update tests

* Add goToRewards to ProjectDescriptionViewController

* Tidy up

* Tidy up

* Fix line lengths

* [NT-876] Pop ProjectPamphlet to root after project is backed (#1075)

* Pop project pamphlet to root VC after project is backed

* Alphabetize
justinswart added a commit that referenced this pull request Mar 4, 2020
* [NT-878, NT-873] Add Experiment and Read More is a full-width button (#1073)

* read more button experiment

* testing experiment outputs

* swift format

* naming changes

* new snapshots

* feedback

* swift format

* corrected typo

* [NT-876] Add Pledge CTA to ProjectDescriptionViewController (#1072)

* Add pledge CTA to project description

* Update tests

* Add goToRewards to ProjectDescriptionViewController

* Tidy up

* Tidy up

* Fix line lengths

* [NT-876] Pop ProjectPamphlet to root after project is backed (#1075)

* Pop project pamphlet to root VC after project is backed

* Alphabetize

* [NT-876] Add Project Campaign Experiment Tests (#1076)

* Add tests

* Fix tests

* Remove duplicate

* Hide the back this project button to creators of their own projects (#1078)

* [NT-877] Project page Optimizely Events (#1079)

* optimizely tracking events

* swiftlint fix

* swift format

* Add loader to read more button in second variant (#1077)

Co-authored-by: Christella <cdolm92@gmail.com>
ifbarrera pushed a commit that referenced this pull request Mar 18, 2020
* [NT-878, NT-873] Add Experiment and Read More is a full-width button (#1073)

* [NT-876] Add Pledge CTA to ProjectDescriptionViewController (#1072)

* [NT-876] Pop ProjectPamphlet to root after project is backed (#1075)

* [NT-876] Add Project Campaign Experiment Tests (#1076)

* Hide the back this project button to creators of their own projects (#1078)

* [NT-877] Project page Optimizely Events (#1079)

* Add loader to read more button in second variant (#1077)

* [NT-930] Add Project Creator Details Query and VM outputs (#1086)

* [NT-940] Activate Creator Details Experiment (#1088)

* [NT-931] Add creator byline view (#1089)

Co-authored-by: Justin Swart <justinswart@users.noreply.github.com>

* [NT- 956] CreatorByline View Model and Tests (#1095)

* [NT-937] Creator Details Shimmer Loading View (#1097)

* [NT- 939] Creator details tracking events (#1098)

* translated copy (#1111)

Co-authored-by: Christella <cdolm92@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants