Skip to content

Conversation

@seungyeoneeee
Copy link
Contributor

Skip Review (optional)

  • Minor changes that don't affect the functionality (e.g. style, chore, ci, test, docs)
  • Previously reviewed in feature branch, further review is not mandatory
  • Self-merge allowed for solo developers or urgent changes

Description (optional)

Things to Talk About (optional)

Signed-off-by: 이승연 <sylee1274@mz.co.kr>
@seungyeoneeee seungyeoneeee requested a review from Copilot May 26, 2025 07:21
@seungyeoneeee seungyeoneeee added the self_approved/review Pull Request has been reviewed and approved by the author without requiring additional reviewers. label May 26, 2025
@github-actions
Copy link
Contributor

✅ There are no commits in this PR that require review.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR fixes a pagination issue by always resetting the healthy and unhealthy page numbers whenever filters change, rather than only when a full name filter is applied.

  • Removed the isFullNameOnly check.
  • Moved page reset calls outside of the conditional guard.
  • Ensures pagination is reset on any filter update.
Comments suppressed due to low confidence (2)

apps/web/src/services/alert-manager/v2/components/ServiceList.vue:88

  • Add a unit test to verify that both healthy and unhealthy page numbers are reset to 1 on any filter change, ensuring the new behavior is covered.
serviceListPageStore.setUnhealthyPage(1);

apps/web/src/services/alert-manager/v2/components/ServiceList.vue:88

  • [nitpick] Consider extracting the consecutive page reset calls into a single helper method (e.g., serviceListPageStore.resetPages()) to reduce duplication and clarify intent.
serviceListPageStore.setUnhealthyPage(1);

@vercel
Copy link

vercel bot commented May 26, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cost-report ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 26, 2025 7:31am
2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
console ⬜️ Ignored (Inspect) Visit Preview May 26, 2025 7:31am
web-storybook ⬜️ Ignored (Inspect) May 26, 2025 7:31am

@seungyeoneeee seungyeoneeee merged commit db62c2f into master May 26, 2025
14 checks passed
@seungyeoneeee seungyeoneeee deleted the hotfix-service-pagination branch May 28, 2025 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pass/signedoff self_approved/review Pull Request has been reviewed and approved by the author without requiring additional reviewers.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants