Skip to content

Add Pagination Helper #401

Open
Open

Description

@victorzheng02

Description of proposed feature

We previously wanted to paginate suggestions feature #32, but we should create a general helper, which takes in a list of items, and a pageLimit, can output a paginated version of that list. The user should be able to react with emotes to shift left to right in the pages.

How can the new feature be used?

Alongside user suggestions, this can potentially be used on the codeycoin leaderboard, and the upcoming company info command #122 .

Additional comments

Activity

  1. mcpenguin commented on Oct 20, 2022

    @mcpenguin
    Contributor

    Instead of using emotes, we can use buttons - see the RPS command for how we used buttons in an embed.

  2. self-assigned this
    on Jun 5, 2024
  3. linked a pull request that will close this issue401 add pagination helper #527on Jun 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

requestRequest for a new feature or other modification

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions