x-dash icon indicating copy to clipboard operation
x-dash copied to clipboard

Hide podcast app launchers on desktop

Open alicebartlett opened this issue 6 years ago • 6 comments

Hello, this is my first foray into x-dash, so it's very possible I've done something obvious incorrectly. Please be vigilant when reviewing this PR!

We have had customer feedback that these buttons don't do anything on desktop and it is a concern that we are losing out on opportunities for engagement by showing people broken buttons.

This commit:

  • Uses a media query to hide the app launcher buttons on desktop as they don't work
  • Introduces an oGrid dependency to get the standard breakpoint for desktop

If this is your first x-dash pull request please familiarise yourself with the contribution guide before submitting.

I don't know how x-dash manages Origami dependencies. This is either a patch release because it is a very small change that won't break anything, or it is major because I have introduced a new Origami dependency which could break a dependency tree somewhere. Can anyone advise on this?

✅ Discuss features first (chatted with @robsquires) ✅ Update the documentation ✅ No hacks, experiments or temporary workarounds

  • Reviewers are empowered to say no
  • Reference other issues
  • Update affected stories and snapshots
  • Follow the code style ? Decide on a version (major, minor, or patch)

alicebartlett avatar Nov 19 '19 16:11 alicebartlett

LGTM @alicebartlett Re. patch/minor, does it play nicely when you pull this branch into next-article and the app? I can try the app if that helps

robsquires avatar Nov 20 '19 10:11 robsquires

@robsquires good tip Rob - I'll check that

alicebartlett avatar Nov 20 '19 13:11 alicebartlett

OK - I've checked this on next-article and it looks good. @robsquires is gonna check on the app so I don't have to get all that set up, and then I think we're good!

alicebartlett avatar Nov 20 '19 17:11 alicebartlett

@alicebartlett we've lost the buttons on a landscape ipad 😢

Screenshot 2019-11-21 at 17 27 10

robsquires avatar Nov 21 '19 17:11 robsquires

Woop! 🎯

Screenshot 2020-01-09 at 11 25 21

robsquires avatar Jan 09 '20 11:01 robsquires

🚢👈

robsquires avatar Jan 23 '20 08:01 robsquires