Skip to content

Privacy popup #3192

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

Merged
merged 7 commits into from
Dec 13, 2019
Merged

Privacy popup #3192

merged 7 commits into from
Dec 13, 2019

Conversation

siddharthkp
Copy link
Contributor

Add a way to change privacy of a sandbox - which is a pro feature right now

Design: https://www.figma.com/file/CB73VJsBOHZYiqFYV4NxBS/Go-Pro

@@ -47,6 +47,7 @@ export const Centered = styled.div`
display: flex;
justify-content: center;
z-index: 0; /* So pointer events on left and right continue */
z-index: 10; /* override: this probably breaks something, not sure what */
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@CompuIves @christianalfoni Overriding this, what should I be testing for this?

@@ -94,7 +94,7 @@ const ContentSplit: React.FC = () => {
right: 0,
bottom: bottomOffset,
height: statusBar ? 'auto' : 'calc(100% - 3.5rem)',
zIndex: 999999,
zIndex: 9,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@CompuIves @christianalfoni I'm sure this breaks something, any tips on where should I start looking?


export const Container = styled.div(
css({
'.tippy-content': {
Copy link
Contributor Author

@siddharthkp siddharthkp Dec 12, 2019

Choose a reason for hiding this comment

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

Note: Override tippy design inside this popup. Would be nice when we can move this to common

@lbogdan lbogdan temporarily deployed to pr3192 December 12, 2019 14:29 Inactive
@lbogdan
Copy link
Contributor

lbogdan commented Dec 12, 2019

Build for latest commit 2f8aa33 is at https://pr3192.build.csb.dev/s/new.

@lbogdan lbogdan temporarily deployed to pr3192 December 12, 2019 15:30 Inactive
@lbogdan lbogdan temporarily deployed to pr3192 December 13, 2019 11:27 Inactive
@CompuIves
Copy link
Member

When I'm not signed in I see this, with the disabled select:
image

Would it make sense to let the user know to sign in or something? Or refer to Pro anyway?

@CompuIves
Copy link
Member

What do you think @DannyRuchtie ?

@CompuIves
Copy link
Member

When seeing the sandbox you don't own there seems to be a margin missing:

image
image

@CompuIves
Copy link
Member

I can change the privacy as a patron, but there is still a message for upgrading to pro, would it make sense to remove it in that case?

image

@siddharthkp
Copy link
Contributor Author

@CompuIves Added check for owner which takes care of logged out case as well

@siddharthkp
Copy link
Contributor Author

I can change the privacy as a patron, but there is still a message for upgrading to pro, would it make sense to remove it in that case?

You shouldn't be seeing this as a patron 🤔

The logic is on user.subscription which both pro and patron have

@lbogdan lbogdan temporarily deployed to pr3192 December 13, 2019 15:24 Inactive
@DannyRuchtie
Copy link
Contributor

DannyRuchtie commented Dec 13, 2019

Screenshot 2019-12-13 at 16 26 12

The selectbox is not rendering correctly on safari.
I know people have opinions about this. But for an application, I would like to strive for an as holistic experience as much as possible. Let me know if you need help

Also missing the level-1 dropshadow

Nice work btw!!

@DannyRuchtie DannyRuchtie merged commit 19688a5 into master Dec 13, 2019
@DannyRuchtie DannyRuchtie deleted the privacy-popup branch December 13, 2019 15:34
@siddharthkp siddharthkp restored the privacy-popup branch December 13, 2019 15:36
siddharthkp added a commit that referenced this pull request Dec 13, 2019
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.

5 participants