Skip to content

fix: [DI-26621] - Replaced isFetching check with isLoading check - #12636

Merged
nikhagra-akamai merged 3 commits into
linode:developfrom
nikhagra-akamai:fix/edit-alert
Aug 5, 2025
Merged

fix: [DI-26621] - Replaced isFetching check with isLoading check#12636
nikhagra-akamai merged 3 commits into
linode:developfrom
nikhagra-akamai:fix/edit-alert

Conversation

@nikhagra-akamai

@nikhagra-akamai nikhagra-akamai commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

Description 📝

Replaced isFetching check with isLoading check in EditAlertLanding

Changes 🔄

List any change(s) relevant to the reviewer.

  1. Updated EditAlertLanding to use isFetching instead of isLoading state

Scope 🚢

Upon production release, changes in this PR will be visible to:

  • All customers
  • Some customers (e.g. in Beta or Limited Availability)
  • No customers / Not applicable

Target release date 🗓️

12th August

Preview 📷

Include a screenshot <img src="" /> or video <video src="" /> of the change.

🔒 Use the Mask Sensitive Data setting for security.

💡 For changes requiring multiple steps to validate, prefer a video for clarity.

Before After
Edit_Alert_Auto_Refresh.mov
Edit_Alert_Fix.mov

How to test 🧪

  1. Go to alerts tab
  2. Edit any alert
  3. Wait on that page for >= 2 min
  4. Without this change you'll notice page gets auto refresh every 2 min but now it'll not
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 tests and CI checks are passing
  • TypeScript compilation succeeded without errors
  • Code passes all linting rules

@pmakode-akamai pmakode-akamai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

The page is no longer auto-refreshing after 2 minutes ✅

@pmakode-akamai pmakode-akamai added the Add'tl Approval Needed Waiting on another approval! label Aug 5, 2025
@github-project-automation github-project-automation Bot moved this from Review to Approved in Cloud Manager Aug 5, 2025
@nikhagra-akamai nikhagra-akamai added Approved Multiple approvals and ready to merge! and removed Add'tl Approval Needed Waiting on another approval! labels Aug 5, 2025

@dwiley-akamai dwiley-akamai left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No longer observing auto-refresh ✅

@linode-gh-bot

Copy link
Copy Markdown

Cloud Manager UI test results

🔺 2 failing tests on test run #4 ↗︎

❌ Failing✅ Passing↪️ Skipped🕐 Duration
2 Failing703 Passing4 Skipped127m 18s

Details

Failing Tests
SpecTest
linode-storage.spec.tsCloud Manager Cypress Tests→linode storage tab » delete disk
qemu-reboot-upgrade-notice.spec.tsCloud Manager Cypress Tests→QEMU reboot upgrade notification » should display maintenance banner in 'Linode' landing page when one or more Linodes get impacted.

Troubleshooting

Use this command to re-run the failing tests:

pnpm cy:run -s "cypress/e2e/core/linodes/linode-storage.spec.ts,cypress/e2e/core/notificationsAndEvents/qemu-reboot-upgrade-notice.spec.ts"

@nikhagra-akamai
nikhagra-akamai merged commit 67c502e into linode:develop Aug 5, 2025
34 of 35 checks passed
@github-project-automation github-project-automation Bot moved this from Approved to Merged in Cloud Manager Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

5 participants