8000 Company Generator & Contract Market Now Trigger On New Campaign; Adjusted StratCon Promo Trigger by IllianiBird · Pull Request #6452 · MegaMek/mekhq · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Company Generator & Contract Market Now Trigger On New Campaign; Adjusted StratCon Promo Trigger #6452

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

Merged
merged 1 commit into from
Mar 28, 2025

Conversation

IllianiBird
Copy link
Collaborator
  • Introduced triggerStartUpDialogs method to streamline and sequence startup dialogs.
    • Displays StratCon notice, if enabled.
    • Launches Company Generation Dialog for initial company setup.
    • Opens Contract Market Dialog when contract market method is active.
  • Updated showStratConNotice method to no longer rely on date for trigger.

Dev Notes

In short, when a player starts a new campaign, following setting up campaign options they will automatically be presented with the StratCon Promo dialog (if appropriate), then the Company Generator dialog, finally the Contract Market (if contract market isn't disabled).

It's my hope this will significantly streamline the new campaign process, while also making things easier on new users.

…sted StratCon Promo Trigger

- Introduced `triggerStartUpDialogs` method to streamline and sequence startup dialogs.
  - Displays StratCon notice, if enabled.
  - Launches Company Generation Dialog for initial company setup.
  - Opens Contract Market Dialog when contract market method is active.
- Updated `showStratConNotice` method to no longer rely on date for trigger.
@IllianiBird IllianiBird added GUI UX User experience labels Mar 27, 2025
@IllianiBird IllianiBird self-assigned this Mar 27, 2025
Copy link
codecov bot commented Mar 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.27%. Comparing base (c2f4e0d) to head (8cce51d).
Report is 49 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6452      +/-   ##
============================================
- Coverage     11.28%   11.27%   -0.01%     
+ Complexity     6284     6281       -3     
============================================
  Files          1072     1072              
  Lines        136384   136375       -9     
  Branches      21090    21090              
============================================
- Hits          15389    15380       -9     
+ Misses       119460   119459       -1     
- Partials       1535     1536       +1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@IllianiBird IllianiBird merged commit 0282496 into MegaMek:master Mar 28, 2025
6 checks passed
@IllianiBird IllianiBird deleted the newGameTriggers branch March 31, 2025 03:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GUI UX User experience
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0