-
Notifications
You must be signed in to change notification settings - Fork 64
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
Review subscription workflow messages #1155
Comments
Message suggestion: "We are sorry. The Data Observatory is not enabled for your account. Contact your customer success manager or send an email to sales@carto.com to get access to it." @xavipereztr could you confirm this can be the message to show to people that don't have the DO enabled? |
w/ some minor changes in case you find them useful: "We are sorry, the Data Observatory is not enabled for your account yet. Please contact your customer success manager or send an email to sales@carto.com to request access to it." |
👍 |
We need to extend this feature to all the methods of DO: subscribe, enrich, download, etc... Not only when we want to subscribe. Thus, we need to add a more generic endpoint that we could request to check the status of the user. @alrocar where should be the right place to place this endpoint? |
If I'm not wrong, right now if a user does not have DO enabled the APIs raise an exception as stated in the description of the issue. Shouldn't be enough with capturing the error in each case? This concrete issue is a different case, what @Jesus89 proposes is to know in advance if the user has DO enabled or not to adapt the UI. In case we want to implement that, I think a good place could be the public |
Cool, I'd like to show an error if the user tries to perform an enrichment for example. CF should check it before running an operation and raises the exception if users have not data to DO. |
I think we can decide about this on a per case basis. Right now in enrichment, BQ throws an error (a 403 or similar) and we catch it in CF. Wouldn't be just enough with that? For other cases, it might be interesting the APIs to be the ones doing the validation, so we can store usage/interest metrics even when the user does not have DO enabled (just thinking out loud, not sure if this makes any sense). |
I think the following workflow would be easier since you don't need to catch the error at each method.
We could just create a generic decorator to catch generic error responses from BQ and our API, but it will be more difficult. |
Right now we are checking if DO is enabled for If we also check it when calling And as |
I have one question here... shouldn't be subscriptions open to anyone? Even when they don't have DO enabled, it'd be useful to understand possible users interested. |
We have different cases about that. User out of team account (without DO):
Team user without DO:
What I think we should offer to any user without DO:
Makes sense for you? |
After a call with @oleurud we've found a solution where we're going to use
Decorator is just a suggestion, feel free to use another approach if it fits better. |
In case the user has no access to DO, should we show the subscription info, with a different message to contact CARTO? #1155 (comment) |
No, the subscription info cannot be fetched if the user has no access to DO. The message to contact CARTO would be great any time we say the user has no access to DO: enrichment, subscribe, download, etc... |
Ok, then we have to check if it's enabled from the Do you think we should improve the message |
I think we can include the email to write to support or a link to a contact form. @cmongut please advise |
We have already talked about messaging above. I have updated the first comment with the message agreed 🙂 |
Oops, sorry! 😅 |
Because of an issue with speed licensing, instead of implementing this via the Blocked until CartoDB/cartodb#15254 will be completed |
This is unblocked with https://github.com/CartoDB/cartodb-central/pull/2620 |
Related to #1331 |
Now when a user wants to subscribe to a Dataset/Geography, after pressing the button the user gets an exception:
We should add a field in the
subscription_info
endpoint with this informationdo_enabled: true/false
so we can show a better message with a contact link instead of the buttons to subscribe.When should we show the request access message?
Message to show when the DO is not enabled
We are sorry, the Data Observatory is not enabled for your account yet. Please contact your customer success manager or send an email to sales@carto.com to request access to it.
Message to show in the subscription flow
cc @gonzaloriestra
The text was updated successfully, but these errors were encountered: