-
Notifications
You must be signed in to change notification settings - Fork 396
fix: STORIF-247 - Thoughput quota formatting fixed. #13371
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
base: develop
Are you sure you want to change the base?
Conversation
da693a6 to
35ec98b
Compare
35ec98b to
7fd15ce
Compare
packages/manager/src/features/Account/Quotas/QuotasTable/QuotasTableRow.tsx
Outdated
Show resolved
Hide resolved
d8c7412 to
679cecc
Compare
679cecc to
f49481d
Compare
Cloud Manager UI test results🔺 1 failing test on test run #7 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: pnpm cy:run -s "cypress/e2e/core/account/quotas-storage.spec.ts" |
|||||||||||||||||
| export const getQuotaMapper = (service: QuotaType) => { | ||
| return { | ||
| mapQuota(quota: Quota, usage: null | QuotaUsage): QuotaWithUsage { |
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.
The types make it pretty clear but maybe we could improve the naming here? getQuotaMapper/ mapQuota don't give me the full picture of what the function does
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.
@bnussman-akamai Do you have any proposals for a different name? This function allows for each quota service (e.g. object-storage, block-storage, etc.) to transform/adjust the quota data (like quota name in case of object-storage).
Description 📝
Thoughput quota formatting fixed.
Preview 📷
How to test 🧪
/quotaspage.Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅