Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Enable hiding apps in app switcher #84

Merged
merged 2 commits into from
Apr 26, 2019

Conversation

kellyi
Copy link
Contributor

@kellyi kellyi commented Apr 26, 2019

Overview

This PR enables hiding specific apps from the app switcher menu so that we can use the Unity Bar in applications which have been deployed while other applications have not been deployed.

First commit here fixes an issue via npm audit fix.

Connects #83

Demo

Screen Shot 2019-04-26 at 11 40 56 AM

Notes

I intentionally did not attempt to change the width or of the App Switcher when not all of the apps are visible. If it becomes desirable to do that in the future -- for instance, if there's a long interval between the PV deployment and GARP deployment -- then we can handle it in another issue.

Testing Instructions

  • visit the netlify site
  • toggle the apps in the app switcher and verify that they are displayed or hidden properly

Kelly Innes added 2 commits April 26, 2019 10:59
Add props which host applications can use to toggle which links to other
PWD apps are displayed in the app switcher. This enables using the
UnityBar in applications which have been deployed while the others have
not yet been deployed.
@jwalgran
Copy link
Member

Looking at this now.

@kellyi kellyi force-pushed the ki/enable-hiding-apps-in-app-switcher branch from 753c748 to 5b977f6 Compare April 26, 2019 16:29
@jwalgran
Copy link
Member

Browsing https://5cc331cf1e070e000c24e9ba--staging-pwd-unitybar.netlify.com/

I can't scroll the page in Chrome, Safari, or Firefox.

In all screen captures I am scrolling up and down with my trackpad.

Chrome

2019-04-26 09 34 03

Safari

2019-04-26 09 34 36

Firefox

2019-04-26 09 35 13

Copy link
Member

@jwalgran jwalgran left a comment

Choose a reason for hiding this comment

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

The actual hiding of the apps looks good. Just need to sort out the demo page scrolling issue.

@kellyi kellyi force-pushed the ki/enable-hiding-apps-in-app-switcher branch from 5b977f6 to 9bcf5ca Compare April 26, 2019 16:55
@kellyi
Copy link
Contributor Author

kellyi commented Apr 26, 2019

Thanks for catching that. I'm just going to drop the demo app scroll changes related to #81 for now as they are not important for making the Unity Bar release. I pushed an amended commit and will update the testing instructions.

@jwalgran jwalgran removed their assignment Apr 26, 2019
@kellyi
Copy link
Contributor Author

kellyi commented Apr 26, 2019

Thanks!

@kellyi kellyi merged commit 707fc80 into develop Apr 26, 2019
@kellyi kellyi deleted the ki/enable-hiding-apps-in-app-switcher branch April 26, 2019 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants