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-872] Hide back this project button for project creators #1078

Merged

Conversation

justinswart
Copy link
Contributor

@justinswart justinswart commented Feb 21, 2020

📲 What

Hides the back this project button for project creators.

🤔 Why

Creators are not allowed to back their own projects.

🛠 How

Added in a line to the logic that hides this view that includes checking that the current user is not the creator of the project.

✅ Acceptance criteria

  • Back this project button is hidden on the campaign description to creators if it's their own project.

Copy link
Contributor

@eoji eoji left a comment

Choose a reason for hiding this comment

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

you're stronger than me

@justinswart justinswart merged commit 6472aa9 into NT-872-feature-project-page-experiment Feb 21, 2020
@justinswart justinswart deleted the NT-872-hide-for-creators branch February 21, 2020 22:52
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.

3 participants