influxdata / influxdata/influxdb

Use "After" Find Option in FindDashboards

Open
#19,487 0 comments 0 reactions 0 assignees View on GitHub
team/compute
Dominant language
Rust
Stars
31.7k
Forks
3.7k
Avg merge
13h 37m
Merged PRs (30d)
8

Description

FindDashboards currently only uses `offset` to paginate results. We should be able to use the `after` property defined on `FindOptions`, which is more optimal for pagination. This property was created and added to the Buckets code in https://github.com/influxdata/influxdb/pull/19219.

Contributor guide

Open the contributing guide

Research direction

Start by comparing the FindDashboards pagination path with the Buckets implementation in pull request 19219, focusing on how FindOptions.after is used. Trace the existing offset handling and confirm that FindDashboards uses the after property for pagination when the change is complete.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
databases
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.