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

Added 'Unable to Afford Expenses' Nag Dialog #4459

Merged
merged 3 commits into from
Jul 23, 2024

Conversation

IllianiCBT
Copy link
Collaborator

A new nag warning was added to alert the user when they cannot afford to cover all upcoming expenses at the end of the month. This was done by creating a new dialog box and implementing the appropriate checks and triggers at the necessary points.

This was added out of a sense of fairness. With the introduction of dynamic loyalty changes - and soon CamOps Morale - we will be punishing users for failing to pay their personnel. It seems only right that we offer a warning prior to kicking them in the shins.

A new nag warning was added to alert the user when they cannot afford to cover all upcoming expenses at the end of the month. This was done by creating a new dialog box and implementing the appropriate checks and triggers at the necessary points.
# Conflicts:
#	MekHQ/resources/mekhq/resources/GUI.properties
#	MekHQ/src/mekhq/MHQConstants.java
#	MekHQ/src/mekhq/gui/dialog/MHQOptionsDialog.java
@IllianiCBT IllianiCBT added GUI Finances UX User experience labels Jul 22, 2024
@IllianiCBT IllianiCBT self-assigned this Jul 22, 2024
@codecov-commenter
Copy link

codecov-commenter commented Jul 22, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 10.22%. Comparing base (4bb42a5) to head (2945938).
Report is 38 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #4459      +/-   ##
============================================
- Coverage     10.33%   10.22%   -0.12%     
+ Complexity     5819     5808      -11     
============================================
  Files           931      926       -5     
  Lines        128026   126710    -1316     
  Branches      18847    18824      -23     
============================================
- Hits          13228    12951     -277     
+ Misses       113522   112483    -1039     
  Partials       1276     1276              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

# Conflicts:
#	MekHQ/src/mekhq/gui/CampaignGUI.java
@IllianiCBT IllianiCBT merged commit 4ebf826 into MegaMek:master Jul 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Finances GUI UX User experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants