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

fix: Create API usage notification butter bar #3698

Merged
merged 7 commits into from
Apr 3, 2024

Conversation

zachaysan
Copy link
Contributor

Thanks for submitting a PR! Please check the boxes below:

  • I have run pre-commit to check linting
  • I have added information to docs/ if required so people know about the feature!
  • I have filled in the "Changes" section below?
  • I have filled in the "How did you test this code" section below?
  • I have used a Conventional Commit title for this Pull Request

Changes

Extended existing functionality around monitoring when an organisation has gone beyond their limits to a new endpoint that is destined to serve a butter bar on the frontend. In order to support organisations that may have upgraded their API limits an after save hook on the subscription cache model was used to wipe out existing API notification models if there has been a change in the account limit.

How did you test this code?

Multiple tests that covered the core logic.

@zachaysan zachaysan requested a review from matthewelwell March 28, 2024 18:11
Copy link

vercel bot commented Mar 28, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs ✅ Ready (Inspect) Visit Preview Mar 28, 2024 6:12pm
flagsmith-frontend-preview ✅ Ready (Inspect) Visit Preview Mar 28, 2024 6:12pm
flagsmith-frontend-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 28, 2024 6:12pm

Copy link
Contributor

github-actions bot commented Mar 28, 2024

Uffizzi Preview deployment-49125 was deleted.

@zachaysan zachaysan added this pull request to the merge queue Apr 3, 2024
Merged via the queue into main with commit d99fb24 Apr 3, 2024
23 checks passed
@zachaysan zachaysan deleted the fix/create_api_usage_notification_butter_bar branch April 3, 2024 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issue related to the REST API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants