Skip to content

feat(score_explorer): Improve score explorer UI and functionality#1600

Merged
mkmccarty merged 1 commit intomainfrom
mm-branch-2
Sep 27, 2025
Merged

feat(score_explorer): Improve score explorer UI and functionality#1600
mkmccarty merged 1 commit intomainfrom
mm-branch-2

Conversation

@mkmccarty
Copy link
Owner

This commit introduces several improvements to the score explorer feature:

  1. Removes the hardcoded fairShare array and replaces it with a dynamic array that includes more granular values.
  2. Changes the FairShare field in the ScoreCalcParams struct to be a float64 instead of an int.
  3. Replaces the static "Fair Share" button with a dynamic select menu that allows the user to choose from a range of fair share values.
  4. Adds a deferred response to the interaction, displaying a "Processing request..." message while the score is being calculated.
  5. Switches from using InteractionRespond to FollowupMessageCreate to send the final score explorer message, which allows for more flexibility in the message content.

These changes improve the user experience by providing more granular control over the fair share value and making the UI more responsive and informative.

This commit introduces several improvements to the score explorer feature:

1. Removes the hardcoded `fairShare` array and replaces it with a dynamic array that includes more granular values.
2. Changes the `FairShare` field in the `ScoreCalcParams` struct to be a `float64` instead of an `int`.
3. Replaces the static "Fair Share" button with a dynamic select menu that allows the user to choose from a range of fair share values.
4. Adds a deferred response to the interaction, displaying a "Processing request..." message while the score is being calculated.
5. Switches from using `InteractionRespond` to `FollowupMessageCreate` to send the final score explorer message, which allows for more flexibility in the message content.

These changes improve the user experience by providing more granular control over the fair share value and making the UI more responsive and informative.
@mkmccarty mkmccarty merged commit 5d37219 into main Sep 27, 2025
12 checks passed
@mkmccarty mkmccarty deleted the mm-branch-2 branch September 27, 2025 15:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant