Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add pages + ironman filter to lb minigames #5994

Closed
wants to merge 5,702 commits into from

Conversation

TastyPumPum
Copy link
Contributor

@TastyPumPum TastyPumPum commented Aug 6, 2024

  • I have tested all my changes thoroughly.

🚀 This description was created by Ellipsis for commit 6ebc564

Summary:

Added pagination and ironman filter to minigames leaderboard in src/mahoji/commands/leaderboard.ts.

Key points:

  • Added pagination to minigames leaderboard in src/mahoji/commands/leaderboard.ts.
  • Introduced ironmanOnly parameter to minigamesLb function for filtering ironman-only results.
  • Updated SQL queries to include ironman filter and pagination.
  • Modified doMenuWrapper and doMenu functions to support new pagination feature.
  • Adjusted command options in leaderboardCommand to include ironmanOnlyOption.

Generated with ❤️ by ellipsis.dev

@TastyPumPum
Copy link
Contributor Author

@ellipsis-dev review this pr

Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

👍 Looks good to me! Reviewed everything up to 6ebc564 in 50 seconds

More details
  • Looked at 138 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. src/mahoji/commands/leaderboard.ts:311
  • Draft comment:
    Consider using the column variable instead of hardcoding champions_challenge in the SQL query to maintain consistency and reduce future maintenance issues.
  • Reason this comment was not posted:
    Confidence of 0% on close inspection, compared to threshold of 50%.

Workflow ID: wflow_sdbzH18Z4OyB4xVI


You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.

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

Successfully merging this pull request may close these issues.