Skip to content

fix(tags): send page size in resource picker requests - #46569

Open
dmunozv04 wants to merge 1 commit into
apache:masterfrom
dmunozv04:fix-tag-picker-pagination
Open

dmunozv04 wants to merge 1 commit into
apache:masterfrom
dmunozv04:fix-tag-picker-pagination

Conversation

@dmunozv04

Copy link
Copy Markdown
Contributor

SUMMARY

The resource pickers when creating a new tag use 100 results per page, but their requests omit a page_size which returned the default of 20 values.

The fix passes the page_size to the request and adds a regression test that fails without the fix applied.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

BEFORE: not all resources load (charts in this example)

before.mp4

AFTER: all resources load (charts in this example)

after.mp4

TESTING INSTRUCTIONS

  1. Go to settings -> Tags and create a new Tag
  2. Select any resource picker (charts for example) and confirm all the charts in the instance are shown on the picker.

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codeant-ai-for-open-source

codeant-ai-for-open-source Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor

CodeAnt  CodeAnt PR Risk

🟢  Low Risk

  • The PR appears safe to merge; no actionable issues were identified in the review.

Assessed commit: d040f99fbcd8

@codecov

codecov Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.42%. Comparing base (7a46732) to head (d040f99).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #46569   +/-   ##
=======================================
  Coverage   86.42%   86.42%           
=======================================
  Files        3183     3184    +1     
  Lines      222605   222615   +10     
  Branches    52996    53003    +7     
=======================================
+ Hits       192377   192394   +17     
+ Misses      26758    26751    -7     
  Partials     3470     3470           
Flag Coverage Δ
javascript 83.42% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@dmunozv04
dmunozv04 force-pushed the fix-tag-picker-pagination branch from 163d832 to d040f99 Compare November 29, 2026 14:54

This branch has not been deployed

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant