-
Notifications
You must be signed in to change notification settings - Fork 366
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
feat: [M3-6715] - Allow sorting by amount on billing activity table #10941
feat: [M3-6715] - Allow sorting by amount on billing activity table #10941
Conversation
Coverage Report: ❌ |
Hey @pmakode-akamai, were you able to mock this? I was having trouble verifying the change because as an employee, all my invoices are $0.00 and I've got no payment history (and I assume that's the same for you). When I turned the MSW on and set it to Preset Mocking to use our legacy handlers, I was still seeing the |
Hey Mariah (@mjac0bs), yes, I'm able to mock by setting this to |
For some reason, I was thinking Legacy was called Preset, even though it's clearly not. 🤦🏼♀️ Thanks! |
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.
Sorting and pagination worked well with the mocks using the Legacy MSW Handlers once I learned how to read. 🙂
Approving pending a few comments that I left.
...ges/manager/src/features/Billing/BillingPanels/BillingActivityPanel/BillingActivityPanel.tsx
Outdated
Show resolved
Hide resolved
...ges/manager/src/features/Billing/BillingPanels/BillingActivityPanel/BillingActivityPanel.tsx
Outdated
Show resolved
Hide resolved
...ges/manager/src/features/Billing/BillingPanels/BillingActivityPanel/BillingActivityPanel.tsx
Outdated
Show resolved
Hide resolved
6dc8b5b
to
b53089d
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.
Sorting is working!
...ges/manager/src/features/Billing/BillingPanels/BillingActivityPanel/BillingActivityPanel.tsx
Outdated
Show resolved
Hide resolved
0658126
to
f7bd03d
Compare
f7bd03d
to
0b33cc1
Compare
Cloud Manager E2E Run #6629
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Passed #6629
|
Run duration | 24m 57s |
Commit |
b9f0379d8c: feat: [M3-6715] - Allow sorting by amount on billing activity table (#10941)
|
Committer | Purvesh Makode |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
0
|
Flaky |
2
|
Pending |
2
|
Skipped |
0
|
Passing |
414
|
View all changes introduced in this branch ↗︎ |
…inode#10941) * Add allow sorting by amount on billing activity table * Added changeset: Allow sorting by amount on billing activity table * Update getOrderedPaginatedData function * refactor: use useMemo to optimize orderedPaginatedData * Fix: Change colSpan 5 to 4 * Few fixes... * Add default case to order data by date in descending order * Use createDisplayPage to paginate ordered data list
Description 📝
As a user, when I click the "Amount" column header, the Billing Activity table should be ordered by the amount column.
Related discussion: #9271 (comment)
Note
We are considering client-side ordering.
Changes 🔄
List any change relevant to the reviewer.
Target release date 🗓️
N/A
How to test 🧪
Prerequisites
Legacy MSW Handlers
Verification steps
As an Author I have considered 🤔
Check all that apply