Skip to content

Implement incident queue pagination - #94

Open
Pranita1846 wants to merge 1 commit into
Gautam-aman:mainfrom
Pranita1846:fix/incident-queue-pagination
Open

Pranita1846 wants to merge 1 commit into
Gautam-aman:mainfrom
Pranita1846:fix/incident-queue-pagination

Conversation

@Pranita1846

Copy link
Copy Markdown

Summary

  • Implemented pagination for the incident queue.
  • Added load-more functionality.
  • Preserved previously loaded incidents when the gateway becomes unreachable.
  • Updated incident state management and command page components.

Testing

  • TypeScript typecheck passed.
  • All 229 tests passed across 21 test files.

Related issue

Closes #9

@vercel

vercel Bot commented Oct 28, 2026

Copy link
Copy Markdown

@Pranita1846 is attempting to deploy a commit to the Aman's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions

github-actions Bot commented Oct 28, 2026 •

Copy link
Copy Markdown

ResQNet Guardian — READY_FOR_MAINTAINER_REVIEW

Automated readiness conditions are satisfied. A maintainer can perform the first review; human approval and merge eligibility are separate.

  • Pull request: Implement incident queue pagination #94 · head 6c969ed
  • Assignment policy: Linked issue assignment is compliant.
  • Checks: 1 expected check(s) passed.
  • Review: No current-head human approval yet. Approval is tracked separately from readiness.
  • AI review: not enabled — independent AI review is not part of this readiness decision

Findings

Finding Severity Title Detail
checks.optional-failed.legacy-status-vercel warning Optional check failed: Vercel GitHub reported 'failure' for 'Vercel'. This is Vercel authorization/deployment state, not a required repository test. It is visible here but does not block readiness.
checks.passed info Required checks passed 1 expected check(s) completed successfully (10 total observed).
policy.assignment-verified info Issue assignment verified The author is assigned to #9.
review.no-human-approval info No current-head human approval Approval is informational for Guardian readiness and is not required to request a maintainer review. Guardian does not approve or request reviewers automatically.

What happens next

A maintainer can now perform the first review. Human approval and merge eligibility are separate; Guardian never merges or approves.

Commands

  • /guardian status — show the last recorded readiness state.
  • /guardian explain — explain the current findings.
  • /guardian recheck — re-evaluate the pull request (repository write access required).
  • /guardian dismiss <finding-id> <reason> — dismiss a verified non-required finding (repository write access required). Policy, unknown-data, missing-expected-check, and security findings cannot be dismissed.
  • /guardian help — show command help.

Guardian is advisory. It never merges, approves, closes, deploys, or opens pull requests. Existing required checks and branch protection, when configured, remain authoritative.

@github-actions github-actions Bot added the contribution-policy-ok Managed by ResQNet PR assignment validation label Oct 28, 2026
@Gautam-aman

Copy link
Copy Markdown
Owner

Hi @Pranita1846,

Thanks for your contribution! The pagination implementation looks promising. However, I noticed a few issues that need to be addressed before merging:

  1. Severity filtering: The Load More button disappears when the first page has no matching incidents, even if matching incidents exist on subsequent pages. Please ensure filtering works correctly across pages.
  2. Filter changes: Changing the status or search query resets pagination but retains previously loaded incidents. This could mix results from different filters. Please ensure the list refreshes correctly when filters change.
  3. Test coverage: Please add tests for loading subsequent pages, handling empty results, preserving loaded pages during refreshes, and pagination edge cases.

Also, please ensure the required CI checks pass once the workflows are approved.

Overall, good progress! Please address these points and let me know once you've pushed the changes. I'll be happy to review the PR again.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution-policy-ok Managed by ResQNet PR assignment validation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Web: incident queue is truncated at 25 results with no pagination

2 participants