-
Notifications
You must be signed in to change notification settings - Fork 14
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
New Monthly Contributors Error Dialog #640
Conversation
1f24f80
to
b187b78
Compare
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.
Just few things I am not quite sure to understand otherwise look good to me
I added few general tips feel free to ignore them and mark them as solved
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.
Looking good on the plugin side, only some tiny comment. Feel free to squash and merge after addressing it!
quota = self.server_response.get("contributors_quota", "#NA") | ||
quota_text = ( | ||
f"You've reached the maximum number of active monthly contributors ({quota}) for your current subscription." | ||
) |
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.
Just some nit picking - this might seem more friendly for users in case we have issues reading the quota
quota = self.server_response.get("contributors_quota", "#NA") | |
quota_text = ( | |
f"You've reached the maximum number of active monthly contributors ({quota}) for your current subscription." | |
) | |
quota = self.server_response.get("contributors_quota", None) | |
quota_text = ( | |
f"You've reached the maximum number of active monthly contributors {'(' + quota + ')' if quota else ''} for your current subscription." | |
) |
Let's just bear in mind that we need a new Python-api-client version when releasing this one! |
This work is not needed now with the recent changes |
Displays
Monthly Contributos Error Dialog
when creating a project or syncing in case of failure.Resolves #643, Python-api-client update: MerginMaps/python-api-client#221