upcoming: [M3-9113] - Add Interface History table
Description ๐
Adds the interface history dialog/table. Some background info: earlier in the year, the API team put this endpoint on hold for further reevaluation. They've since brought it back (see internal ticket comments for API's PRs), so we're adding this table back as well.
[!NOTE]
The API PR has not yet been merged. For now, I've added mocks via MSW crud to help with testing + will keep an eye out to merge this once the API's prs get merged (or wait until a release after)
Changes ๐
- Add dialog and table
- Add react query / tests
- Add mock data
Target release date ๐๏ธ
depending on API's releasing of this endpoint, keeping an eye out
Preview ๐ท
| button | dialog + table |
|---|---|
How to test ๐งช
Prerequisites
For now, use MSW crud and create a Linode using new interfaces (once the API pr gets merged, we'll be able to test with live data via devenv)
Verification steps
- confirm history table dialog opens
- confirm it matches the screenshot in the ticket
- to test pagination, change the number of history objects returned in handlers/linodes.ts
- confirm tests pass
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
- [ ] I have read and considered all applicable items listed above.
As an Author, before moving this PR from Draft to Open, I confirmed โ
- [ ] All unit tests are passing
- [ ] TypeScript compilation succeeded without errors
- [ ] Code passes all linting rules
This PR is stale because it has been open 15 days with no activity. Please attend to this PR or it will be closed in 5 days
I feature flagged the Interface History table so we can go ahead and merge it to keep it from going stale.
The feature works in lower environments, we just need to toggle the flag once this is available in production.
Cloud Manager UI test results
:tada: 809 passing tests on test run #28 โ๏ธ
| :x: Failing | :white_check_mark: Passing | :arrow_right_hook: Skipped | :clock1: Duration |
0 Failing | 809 Passing | 9 Skipped | 44m 45s |