Skip to content

Conversation

@StrawberryClover
Copy link

@StrawberryClover StrawberryClover commented Apr 28, 2025

This PR adds manual control over commendation behavior via new context menu options.

✨ Features:

  • Adds a context menu option on party members during duties to manually select a player to automatically commend at the end of the duty, overriding random selection.
  • Adds a context menu option to exclude a player from being randomly selected for commendation if you do not want to commend them.
  • Manual commendation and exclusion are mutually exclusive (a player cannot be both selected and excluded at the same time).
  • Context menu options are designed based on other Pandora context menu option standards.
  • Added a config setting to toggle the context menu options on or off.

🔎 Motivation:
AutoVoteMvp previously only allowed random or condition-based commendations (such as prioritizing tanks, DPS, or avoiding players who died).
However, there was no way for the user to exercise manual control mid-duty — for example, to commend someone who was especially helpful, friendly, or performed very well.
If a specific commendation was desired, the only option was to temporarily disable the auto-commend feature entirely mid-run.
Similarly, if a party member behaved poorly, users had no way to exclude them from being randomly selected without also disabling the feature.
This change introduces simple, in-duty options to manually select a player to commend or exclude a player from being commended, without having to open configuration menus mid-run.

Example of context menu:
image
image

- Added context menu items for party list for both selecting someone for commend, along with excluding members from being commended
- Added config option to show context menu items
- Made auto-commend and exclude from commend mutually exclusive - can no longer be both as that makes no sense
- If there are no party members left to pick from (excluded all party members, for some reason), it will make one final attempt to pick a member at random as a fallback condition.
Also, removed fallback logic in case no valid members exist, as there are situations where you don't want to commend anybody.
Cleaned up some of the log.
Removed validPartyMembers fallback list I previously created, as since it is no longer being used for fallback in cases of no members available in the list, it is unnecessary.
@StrawberryClover StrawberryClover changed the title [Enhance][AutoVoteMvp] Allow manual commendation selection/override and exclusions via context menu [Enhancement][AutoVoteMvp] Allow manual commendation selection/override and exclusions via context menu Jun 1, 2025
@StrawberryClover StrawberryClover changed the title [Enhancement][AutoVoteMvp] Allow manual commendation selection/override and exclusions via context menu [Enhance][AutoVoteMvp] Allow manual commendation selection/override and exclusions via context menu Jun 1, 2025
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