Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Feat: add AppStore button in the footer #3710

Merged
merged 4 commits into from
Mar 22, 2022
Merged

Feat: add AppStore button in the footer #3710

merged 4 commits into from
Mar 22, 2022

Conversation

katspaugh
Copy link
Member

@katspaugh katspaugh commented Mar 22, 2022

What it solves

Part of safe-global/safe-pm#54

How this PR fixes it

Adds a simple button in the footer to boost mobile app installations.

This PR also enables the footer on all pages. It was previously shown only in Settings and Welcome. See #2766.

Screenshot 2022-03-22 at 12 10 01

@katspaugh katspaugh requested a review from DiogoSoaress March 22, 2022 11:36
@github-actions
Copy link

CLA Assistant Lite All Contributors have signed the CLA.

@github-actions
Copy link

github-actions bot commented Mar 22, 2022

ESLint Summary View Full Report

Annotations are provided inline on the Files Changed tab. You can also see all annotations that were generated on the annotations page.

Type Occurrences Fixable
Errors 0 0
Warnings 0 0
Ignored 0 N/A
  • Result: ✅ success
  • Annotations: 0 total

Report generated by eslint-plus-action

@github-actions
Copy link

Deployment links

🟠 Rinkeby Mainnet 🟣 Polygon 🟡 BSC Arbitrum 🟢 Gnosis Chain

@coveralls
Copy link

coveralls commented Mar 22, 2022

Pull Request Test Coverage Report for Build 2022842757

  • 2 of 3 (66.67%) changed or added relevant lines in 2 files are covered.
  • 62 unchanged lines in 2 files lost coverage.
  • Overall coverage decreased (-0.1%) to 35.014%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/components/AppLayout/index.tsx 0 1 0.0%
Files with Coverage Reduction New Missed Lines %
src/logic/safe/transactions/pendingTxMonitor.ts 10 55.26%
src/routes/CreateSafePage/components/SafeCreationProcess.tsx 52 7.46%
Totals Coverage Status
Change from base Build 2021464026: -0.1%
Covered Lines: 3395
Relevant Lines: 8762

💛 - Coveralls

Copy link
Member

@iamacook iamacook left a comment

Choose a reason for hiding this comment

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

Sleek

src/components/AppstoreButton/index.tsx Show resolved Hide resolved
src/assets/icons/appstore-alt.svg Show resolved Hide resolved
@@ -122,7 +115,7 @@ const Layout: React.FC<Props> = ({
</SidebarWrapper>
<ContentWrapper>
<div>{children}</div>
{hasFooter && <Footer />}
<Footer />
Copy link
Member

Choose a reason for hiding this comment

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

I thought we wanted to hide the footer outside of the welcome page?

Copy link
Member Author

Choose a reason for hiding this comment

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

We need it visible on all pages to expose the AppStore badge to as many users as possible.
Also seeing the app version at all times is very helpful.

@lukasschor you mind if we restore the footer?

Copy link
Member

Choose a reason for hiding this comment

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

I am in general unsure on the value of displaying the App Store badge like this. It feels unnatural and I would prefer to promote the mobile app in parts of the user flows where it is actually relevant (setting up a Safe, connecting a wallet) rather than just promoting it randomly in the footer.

There were some thoughts in not showing the footer everywhere (more screen estate, stronger focus on relevant content). If at all, I would suggest first displaying the app store button in the welcome screen in the footer only and track over some some time the effectiveness of this and how it compares to promoting the app in other places.

But even then, it might be worth exploring other places in the welcome page or onboarding flow where this would fit better.

Copy link
Member Author

@katspaugh katspaugh Mar 22, 2022

Choose a reason for hiding this comment

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

Let's consider this a temporary experiment until the next release then. We'll be able to gauge how many users will click on this with the footer visible on every screen.
I've made an issue to revert it here: #3712.

Unless you feel strongly we should not do it, in which case I'll revert it now.

@usame-algan
Copy link
Member

There are a few guidelines on using the App store badge e.g. it needs to have a minimum height of 40px and 10px whitespace around (one quarter of the height).

@katspaugh
Copy link
Member Author

@usame-algan good point, but 40 would be too big for the footer.

@katspaugh katspaugh merged commit 5d41c2f into dev Mar 22, 2022
@katspaugh katspaugh deleted the appstore-button branch March 22, 2022 14:25
@github-actions github-actions bot locked and limited conversation to collaborators Mar 22, 2022
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.

5 participants