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

🪟 🐛 Hide no credits banner for no billing accounts #21218

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

timroes
Copy link
Collaborator

@timroes timroes commented Jan 10, 2023

What

Hide the "We stopped all your syncs because you ran out of credits" for accounts that actually are still working (no billing accounts). They will still have creditStatus on "positive" even when ran out. There's not real way we know those accounts before they ran out of credit, so we keep showing the "Low credit warning" still, but at least hide the banner that tells we stopped their syncs (which would not happen).

Copy link
Contributor

@josephkmh josephkmh left a comment

Choose a reason for hiding this comment

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

I'm not sure I follow why a workspace could have remainingCredits <= 0 and simultaneously CreditStatus.POSITIVE? Are these special accounts where we are allowing negative credit balance but continuing syncs?

Approving because the change looks fine, I'm just missing some context.

@timroes timroes merged commit e55a7c6 into master Jan 11, 2023
@timroes timroes deleted the tim/low-credits-banner branch January 11, 2023 14:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/frontend Related to the Airbyte webapp team/compose
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants