-
Notifications
You must be signed in to change notification settings - Fork 367
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
upcoming: [DI-22217] - Added the Alert Listing page with Alerting Table and added relevant api endpoints #11346
upcoming: [DI-22217] - Added the Alert Listing page with Alerting Table and added relevant api endpoints #11346
Conversation
…s, Table rows and added the GET api endpoint and mockServer for fetching alert definitions
…or the AlertListing Table and minor changes
Coverage Report: ✅ |
There are still on-going discussions with respect to the columns of the table in the Mockups with UX team, These are the currently agreed upon changes, there's a possibility of couple of columns re ordered or removed. |
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.test.tsx
Outdated
Show resolved
Hide resolved
…ses, unabbreviated UT to Unit Tests in changeset
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.
This file will be replaced before the PR is merged as the icon is not looking good on the UI. There are some confirmations from the UX side.
We will omit the file and then add the icon when we receive it from the UX team.
packages/manager/src/features/CloudPulse/Alerts/AlertsLanding/AlertsDefinitionLanding.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertActionMenu.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertActionMenu.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.test.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.tsx
Outdated
Show resolved
Hide resolved
…ved waitFor in the unit tests and removed Severity column, removed the Placeholder Icon for Alerts Landing empty state
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertTableRow.tsx
Outdated
Show resolved
Hide resolved
…he TableHead Row, Replaced referencing colors directly and used theme styling for colors
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.tsx
Outdated
Show resolved
Hide resolved
packages/manager/src/features/CloudPulse/Alerts/AlertsListing/AlertListing.tsx
Outdated
Show resolved
Hide resolved
<TableCell> | ||
<Typography | ||
color={ | ||
status === 'enabled' | ||
? theme.tokens.color.Green[70] | ||
: theme.tokens.color.Neutrals[60] | ||
} | ||
> | ||
{capitalize(status)} | ||
</Typography> | ||
</TableCell> |
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.
This is fine but I'm wondering why UX didn't just use our Status Icon
…er AlertListingTableLabelMap, used shorthand
@santoshp210-akamai Update with latest from develop and we'll merge this - it's good to go |
merging latest changes from linode/develop
Cloud Manager UI test results🎉 466 passing tests on test run #11 ↗︎
|
Cloud Manager E2E Run #6942
Run Properties:
|
Project |
Cloud Manager E2E
|
Branch Review |
develop
|
Run status |
Failed #6942
|
Run duration | 32m 30s |
Commit |
652b2aad72: upcoming: [DI-22217] - Added the Alert Listing page with Alerting Table and adde...
|
Committer | santoshp210-akamai |
View all properties for this run ↗︎ |
Test results | |
---|---|
Failures |
1
|
Flaky |
5
|
Pending |
2
|
Skipped |
0
|
Passing |
466
|
View all changes introduced in this branch ↗︎ |
Tests for review
cypress/e2e/core/linodes/linode-config.spec.ts • 1 failed test
Test | Artifacts | |
---|---|---|
Linode Config management > End-to-End > Clones a config |
Screenshots
Video
|
switch-linode-state.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
switch linode state > reboots a linode from details page |
Screenshots
Video
|
update-linode-labels.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
update linode label > updates a linode label from the "Settings" tab |
Screenshots
Video
|
backup-linode.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
linode backups > can enable backups |
Screenshots
Video
|
search-linodes.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
Search Linodes > create a linode and make sure it shows up in the table and is searchable in main search tool |
Screenshots
Video
|
rescue-linode.spec.ts • 1 flaky test
Test | Artifacts | |
---|---|---|
Rescue Linodes > Can reboot a Linode into rescue mode |
Screenshots
Video
|
Description 📝
Changes 🔄
List any change(s) relevant to the reviewer.
GET
request to fetch the alert definitionsAlertDefinitionType
to'system'|'user'
Target release date 🗓️
Please specify a release date (and environment, if applicable) to guarantee timely review of this PR. If exact date is not known, please approximate and update it as needed.
Preview 📷
How to test 🧪
Prerequisites
aclpAlerting
, the flag has been currently disabled. For testing enable the definitions part of theaclpAlerting
flag to be true.Verification steps
(How to verify changes)
/monitor/alerts/definitions
is the AlertListing componentAuthor 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 ✅