-
Notifications
You must be signed in to change notification settings - Fork 650
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
Privacy toggler within create dataset dialog #5340
Conversation
… or not in the create dataset process
Deployed in staging ruis |
@javier could you take a quick look to this, specially to the texts? |
Code looks @javierarce what do you think? |
👍 code looks good to me. I'm going to review the texts before merging. |
<button type="button" class="PrivacyToggler js-toggler PrivacyToggler--<%- privacy %> <%- isDisabled ? 'is-disabled' : '' %>" | ||
data-title=" | ||
<% if (!isDisabled) { %> | ||
Your new dataset will be <%- privacy.toLowerCase() %>. Click to change it to <%- nextPrivacy.toLowerCase() %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's add a new line here, so "Click" appears in the next line.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're totally right, I'll make the change. |
Privacy toggler within create dataset dialog
👏 👏 |
Basically it will let you to change the privacy of the import you want to start. But, if you don't have private_tables enabled under your user, it will redirect to your upgrade page when it is clicked.
For open source users that link will be disabled and it will show a "standard" text.
One important thing, by default, if user can create private datasets, the privacy value will be "PRIVATE", if the user can create private tables, of course, the value will be "PUBLIC".
Example:
We should review the texts of the tooltips cc @csobier @javierarce.
Possibility to change the privacy:
Upgrade:
Fixes #3111
REVIEWER: @alonsogarciapablo
cc @javierarce @saleiva