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

Campaign Options IIC - Test Branch #4963

Draft
wants to merge 129 commits into
base: master
Choose a base branch
from

Commits on Oct 1, 2024

  1. Added New Campaign Preset Selection Dialog

    Introduced a new dialog for selecting campaign presets within the campaign options. Updated `CampaignPreset` to include a `getTitle()` method and added resource strings for dialog configuration.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    3103db6 View commit details
    Browse the repository at this point in the history
  2. Remove unused logger and format comments.

    Eliminated the unused logger variable in SelectPresetDialog.java to reduce clutter. Additionally, formatted comments in CampaignPreset.java to improve readability and follow documentation standards.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    14bef77 View commit details
    Browse the repository at this point in the history
  3. Restructure CampaignOptions package

    Moved CampaignOptions and related classes to a new package structure under mekhq.campaign.campaignOptions. This improves code organization and clarity. Updated all references to reflect the new package structure.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6934999 View commit details
    Browse the repository at this point in the history
  4. Add new empty classes for campaign options panes

    Created 20 new empty classes under the campaignOptions and campaignOptions.panes packages. These classes will serve as placeholders for future implementation of various campaign option functionalities.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    3532c96 View commit details
    Browse the repository at this point in the history
  5. Rename controller and add GeneralTab class

    Renamed `campaignOptionsDialogController.java` to `CampaignOptionsDialogController.java` and implemented `CampaignOptionsDialogController` with added functionalities. Included new `GeneralTab` class for campaign's general settings and updated resources for localization.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    fdc6335 View commit details
    Browse the repository at this point in the history
  6. Rename campaign option classes and delete empty class

    Changed the package name of all campaign option classes from 'panes' to 'tabs' for consistency. Removed the empty `RepairAndMaintenance` class. Updated the `CampaignOptionsDialogController` to reflect these changes.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    6da4a24 View commit details
    Browse the repository at this point in the history
  7. Add Repair and Maintenance tab with detailed options

    Enhanced campaign options dialog by adding a Repair and Maintenance tab. Implemented detailed options for repair and maintenance settings, including various checkboxes and spinners.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    bcd4f2d View commit details
    Browse the repository at this point in the history
  8. Refactor CampaignOptionsDialog for new Controller

    Replaced CampaignOptionsPane with CampaignOptionsDialogController to streamline campaign options management. Commented out methods related to the old pane's options handling to avoid conflicts. Added Javadoc comments to GeneralTab to improve code documentation.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    71396a0 View commit details
    Browse the repository at this point in the history
  9. Refactored CampaignOptionsDialogController removal

    Removed CampaignOptionsDialogController and replaced its functionality with CampaignOptionsPane and CampaignOptionsUtilities. This change aimed at modularizing the code, improving maintainability and readability. Updated relevant imports and class usages accordingly.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    269bd3d View commit details
    Browse the repository at this point in the history
  10. Refactor: Remove inheritance from AbstractMHQTabbedPane

    Removed the inheritance from AbstractMHQTabbedPane in RepairAndMaintenanceTab and GeneralTab. Adjusted constructors and methods to accommodate this change and updated utility imports to reflect the new package structure.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    aa0a915 View commit details
    Browse the repository at this point in the history
  11. Rename CampaignOptionsPane to supports subpackage structure

    Moved CampaignOptionsPane to the "tabs" subpackage for better organization. Updated the import statements in relevant classes to reflect the new package path.
    IllianiCBT committed Oct 1, 2024
    Configuration menu
    Copy the full SHA
    86b8f51 View commit details
    Browse the repository at this point in the history

Commits on Oct 2, 2024

  1. Add Supplies and Acquisition Tab to Campaign Options

    Reorganized properties and labels in various tabs. Introduced a new Supplies and Acquisition tab with Acquisition, Delivery, and Planetary Acquisition sub-tabs while maintaining existing functionality for Repair and Maintenance.
    IllianiCBT committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    a95b7f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    aa3d586 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b56cafd View commit details
    Browse the repository at this point in the history
  4. Simplify checkbox and spinner creation methods

    Replaced the createLabeledSpinner method with distinct createSpinner and createLabel methods to simplify spinner creation. This change reduced redundancy by removing the need for label creation in spinner methods and updated relevant sections across multiple files. Additionally, the getDimensionWidthForComboBox and getDimensionWidthForButton helper methods were removed to streamline the codebase.
    IllianiCBT committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    95f6c04 View commit details
    Browse the repository at this point in the history
  5. Remove hardcoded panel width parameters

    Removed explicit maximum width parameters in the createParentPanel method. Adjusted width handling to dynamically ensure a minimum width of 500 for the parent panels. Simplified the import statements by consolidating them. Deleted an unused utility method related to panel size calculation.
    IllianiCBT committed Oct 2, 2024
    Configuration menu
    Copy the full SHA
    b2220be View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2024

  1. Add new tabs for various campaign options categories

    Added new tabs for Combat Readiness, Human Resources, Unit Development, Logistics and Maintenance, and Strategic Operations to the Campaign Options Pane. Updated the resource file with corresponding titles for the new tabs. These changes enhance the structure and organization of the campaign options interface.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    839f706 View commit details
    Browse the repository at this point in the history
  2. Remove TODO comments for parent tab creation methods

    The TODO comments for creating various parent tabs in different sections were removed. This cleanup helps to reduce clutter and improves the readability of the code. It also indicates that the initial implementation for these tabs is complete.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    3c08d2c View commit details
    Browse the repository at this point in the history
  3. Refactor tab creation for better alignment and UI enhancements

    Refactored the creation of campaign option tabs to use wrapper panels for better alignment and added decorative borders with contextual quotes. Also, centralized tab creation into a utility method for improved readability and maintainability of the code.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    89f8df0 View commit details
    Browse the repository at this point in the history
  4. Refactored comments for code clarity

    Updated Javadoc comments in CampaignOptionsPane.java to remove unnecessary link annotations and improve readability.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    4a5c720 View commit details
    Browse the repository at this point in the history
  5. Refactor and reorganize campaign options tabs

    Moved header creation to a separate method for better readability and reusability. Updated text field dimensions to be dynamically set based on preferred height. Enhanced scroll speeds for better user experience and added quotes to tabs for improved UI aesthetics.
    IllianiCBT committed Oct 3, 2024
    Configuration menu
    Copy the full SHA
    e30aee3 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2024

  1. Add TechLimitsTab to campaign options

    Replaced the empty TechLimits class with a fully implemented TechLimitsTab to manage technical limit settings within the campaign options. Updated the properties for the new tab and made minor adjustments to CampaignOptionsUtilities and CampaignOptionsPane for integration.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    e5af951 View commit details
    Browse the repository at this point in the history
  2. Add new tech limit options to TechLimitsTab

    Included 'allowISPurchasesBox' and 'allowCanonOnlyBox' components in the TechLimitsTab for enhanced configuration of tech limit options. Also organized comments in CampaignOptionsPane for better readability.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    0347435 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'refs/heads/master' into campaignOptionsIIC

    # Conflicts:
    #	MekHQ/resources/mekhq/resources/NEWCampaignOptionsDialog.properties
    #	MekHQ/src/mekhq/campaign/campaignOptions/CampaignPreset.java
    #	MekHQ/src/mekhq/gui/dialog/CampaignOptionsDialog.java
    #	MekHQ/src/mekhq/gui/dialog/CampaignPresetSelectionDialog.java
    #	MekHQ/src/mekhq/gui/panes/CampaignPresetPane.java
    #	MekHQ/src/mekhq/gui/panes/campaignOptions/SelectPresetDialog.java
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    c0b5242 View commit details
    Browse the repository at this point in the history
  4. Refactor imports for CampaignPreset

    Moved CampaignPreset from campaignOptions to campaign package.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7aa9fcf View commit details
    Browse the repository at this point in the history
  5. Refactored CampaignOptionsDialog to disable option interactions

    Commented out methods and imports related to campaign options handling via the CampaignOptionsPane. This change disables the updating, validation, and application of campaign options while keeping the overall structure intact.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3138157 View commit details
    Browse the repository at this point in the history
  6. Refactor campaign options GUI: delete unused class, rename and expand…

    … PersonnelTab
    
    Deleted the unused RandomAssignmentTables class. Renamed Personnel to PersonnelTab and expanded its contents with multiple new tabs for different settings. Modified comments and reorganized imports in RepairAndMaintenanceTab and GeneralTab. Updated properties file with new labels and placeholders.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    0f3497b View commit details
    Browse the repository at this point in the history
  7. Add tabs for Administrators and Awards in PersonnelTab

    Implemented new tabs within PersonnelTab for administrators and awards. Added respective UI elements and layout configurations to support negotiation, scrounge, and award options.
    IllianiCBT committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    3ce82e9 View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2024

  1. Add Personnel and Prisoner/Dependent Management Features

    Implemented new UI components and functionality for personnel cleanup and prisoner/dependent management in the campaign options dialog. This includes new panels and options for enabling/disabling personnel removal, managing prisoner statuses, and handling dependents.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a869a76 View commit details
    Browse the repository at this point in the history
  2. Implement comprehensive Personnel Tab features

    Added multiple sub-tabs within the Personnel Tab to streamline various functionalities including general information, logs, awards, medical, prisoners, dependents, and salaries. Updated tooltips and configured new UI elements with appropriate settings for improved user experience. This structure enhances the management and display of essential personnel data.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    77d885a View commit details
    Browse the repository at this point in the history
  3. Prioritize General Options Tab in Campaign Options

    Ensured that the 'generalTab' always appears first in the campaign options tabs. This change improves the user experience by making general options more accessible. The sorting logic was adjusted to handle this special case.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    ae1d244 View commit details
    Browse the repository at this point in the history
  4. Add base salaries configuration to PersonnelTab

    Expanded PersonnelTab to include configuration for base salaries. Added labels and spinners for various personnel roles, and updated layout handling to dynamically accommodate the new elements.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    a097681 View commit details
    Browse the repository at this point in the history
  5. Corrected PersonnelTab comments

    Replaced ampersand with "and" in "Prisoners & Dependents Tab" for clarity and consistency with the rest of the text. This improves readability and maintains a uniform style throughout the documentation.
    IllianiCBT committed Oct 8, 2024
    Configuration menu
    Copy the full SHA
    4bb8702 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2024

  1. Fix UI layout and header component references

    Updated the reference from imagePanel to headerPanel across multiple tabs to ensure consistent header naming conventions. Adjusted alignment for headerPanel components to CENTER for better UI consistency. Enhanced panel dimensions setup to improve layout appearance. Standardized label text formatting by removing HTML tags.
    IllianiCBT committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    99c55a9 View commit details
    Browse the repository at this point in the history
  2. Refactored campaign options UI quotes for better readability.

    Condensed multi-line quotes into single lines in the properties file to improve consistency. Updated the UI code to enhance the layout and presentation of the quotes in the campaign options dialog.
    IllianiCBT committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2b88619 View commit details
    Browse the repository at this point in the history
  3. Add Life Paths tab and enhance personnel tab in Campaign Options

    Renamed 'Personnel Tab' as 'Human Resources Tab' and included tooltips and checkboxes for various options. Added new Life Paths tab with General and Background sub-tabs, introducing options for random gender, family display, random personalities, and origins.
    IllianiCBT committed Oct 9, 2024
    Configuration menu
    Copy the full SHA
    2bac6e8 View commit details
    Browse the repository at this point in the history

Commits on Oct 10, 2024

  1. Configuration menu
    Copy the full SHA
    138e311 View commit details
    Browse the repository at this point in the history
  2. Add Marriage Tab to Life Paths Configuration

    Introduced a new Marriage Tab in the Life Paths configuration panel, including options for manual, clan personnel, and prisoner marriages. Enhanced random marriage settings with various input components and panels to customize marriage characteristics, logging, and random generation methods. Adjusted spinners in CampaignOptionsUtilities to align text to the left for improved readability.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    0814741 View commit details
    Browse the repository at this point in the history
  3. Add divorce options tab in campaign settings

    Included a new Divorce tab with various settings such as manual, clan personnel, and prisoner divorces, along with random divorce configurations. Updated the campaign options pane to integrate the new tab and revised related resource files.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    d2f7b2c View commit details
    Browse the repository at this point in the history
  4. Add procreation tab with divorce options

    Implemented a new procreation tab in the LifePathsTab with various divorce options, including manual, clan personnel, and prisoner divorces. Updated the campaign options dialog properties to reflect the inclusion of new relationship categories for marriage and divorce.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    c61476f View commit details
    Browse the repository at this point in the history
  5. Add Procreation Tab to Campaign Options

    Implemented a new Procreation Tab in the Campaign Options dialog. This includes various settings related to manual, clan, and random procreation methods, as well as options for managing offspring attributes and maternity leave.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    e2c660b View commit details
    Browse the repository at this point in the history
  6. Add Death Tab to Campaign Options

    Introduced a new Death tab in the Campaign Options pane, including various settings for simulating character deaths such as random death methods and death by age group. Implemented corresponding UI components and placeholders in the properties file.
    IllianiCBT committed Oct 10, 2024
    Configuration menu
    Copy the full SHA
    c7533e7 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2024

  1. Rename and expand TurnoverAndRetention class

    Renamed TurnoverAndRetention.java to TurnoverAndRetentionTab.java to better reflect its extended functionality. Added comprehensive GUI elements for configuring turnover and fatigue settings, including numerous panels, checkboxes, labels, and spinners. Enhanced the structure and layout using Swing components to provide a detailed and user-friendly experience.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    42d188a View commit details
    Browse the repository at this point in the history
  2. Remove HTML formatting from text strings

    Replaced HTML tags with plain text in various labels to improve readability and maintain consistency across the user interface. Also updated component creation and layout handling in PersonnelTab.java to ensure proper alignment and sizing of labels and spinners.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    56155f9 View commit details
    Browse the repository at this point in the history
  3. Add new Education tab to campaign options

    Renamed relationship-related tabs and integrated a comprehensive Education tab. This includes various education settings such as XP rates, dropout chances, and accident rates, as well as new configuration panels and controls.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e2b28a2 View commit details
    Browse the repository at this point in the history
  4. Add entrance exam modifier label to LifePathsTab

    Added a new label to display the entrance exam modifier in the LifePathsTab for better clarity. Also updated the properties file to accommodate this new label and adjusted related UI components accordingly.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    0272552 View commit details
    Browse the repository at this point in the history
  5. Add RelationshipsTab for campaign options

    Created a new `RelationshipsTab` class in the campaign options GUI, featuring separate tabs for marriage, divorce, and procreation settings. Each tab includes options for manual, clan personnel, and prisoner actions, along with configurations for randomization.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    97bcd5b View commit details
    Browse the repository at this point in the history
  6. Remove unused NameAndPortraitGeneration.java file

    This file was no longer needed and its presence could cause confusion. The removal helps in maintaining a cleaner and more understandable codebase.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e40404c View commit details
    Browse the repository at this point in the history
  7. Make methods private in various campaign options tabs

    Updated method visibility to private in several campaign options tabs to encapsulate functionality and improve code maintainability. This change affects multiple panels related to relationships, supplies, biographies, repairs, turnovers, technical limits, and more.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    47ad105 View commit details
    Browse the repository at this point in the history
  8. Add "Name and Portrait Generation" tab

    Introduced a new "Name and Portrait Generation" tab in campaign options. This includes functionality for assigning names based on origin faction and managing portrait generation/settings. Updated related UI components and properties accordingly.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8c2d687 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fc8353d View commit details
    Browse the repository at this point in the history
  10. Add Rank System tab and adjust panel dimensions to 750px

    Implemented a new Rank System tab in the campaign options and adjusted various panel dimensions from 500px to 750px for better layout consistency. Removed redundant instruction text for rank systems to streamline the user interface.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    ca95042 View commit details
    Browse the repository at this point in the history
  11. Add Javadoc for createRankTab method

    The Javadoc was added to the createRankTab method to describe its purpose and functionality. Also, a variable name in the layout setup was changed for better readability. This improves the code documentation and clarity for future maintenance.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    1093707 View commit details
    Browse the repository at this point in the history
  12. Refactor tab initialization methods

    Reorganized initialization of components into separate methods for better readability and maintainability. This change involves splitting the initialization logic for each tab into distinct methods across multiple files, enhancing code modularity.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    e071ed0 View commit details
    Browse the repository at this point in the history
  13. Rename biographyTab.java to BiographyTab.java

    Renamed the biographyTab class and its references to BiographyTab to follow Java naming conventions. Updated Javadocs and comments to reflect the new class name and added an explanatory class header.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    27ab0b2 View commit details
    Browse the repository at this point in the history
  14. Refactor and simplify campaign options UI components

    Refactored various campaign option tabs to use cleaner and more consistent styles. Eliminated HTML tags in labels, standardized panel creation methods, and integrated utility scaling methods where necessary. This improves readability, maintainability, and ensures UI scalability.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    d0a393e View commit details
    Browse the repository at this point in the history
  15. Remove unnecessary comments and simplify JScrollPane usage

    Removed a non-informative comment from CampaignOptionsUtilities.java for cleaner code. Simplified JScrollPane constructor usage in CampaignOptionsPane.java by using default scrollbar policy.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    df16e38 View commit details
    Browse the repository at this point in the history
  16. Fix component alignment in SuppliesAndAcquisitionTab

    Corrected the order of combo and label components to ensure proper alignment in the UI layout. This change enhances the readability and consistency of the user interface.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    def629d View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8ad9b9e View commit details
    Browse the repository at this point in the history
  18. Refactored font size initialization and added error handling

    Simplified the font size initialization by using a constant and added error handling for missing UI scale property. This ensures consistent font size usage across tabs and improves code readability and robustness.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    8af5dec View commit details
    Browse the repository at this point in the history
  19. Refactor tab and class names for consistency

    Renamed several parent and content tabs to align with new naming conventions for better clarity and maintainability. Adjusted class names and method calls accordingly, ensuring application consistency and code readability.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    4872979 View commit details
    Browse the repository at this point in the history
  20. Merge EquipmentTab into EquipmentAndSuppliesTab

    Consolidated the functionality of EquipmentTab into EquipmentAndSuppliesTab and removed the obsolete EquipmentTab class. This simplifies the structure and reduces redundancy by having all related settings under a single tab.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    fc98d5b View commit details
    Browse the repository at this point in the history
  21. Rename Logistics Parent Tab

    Changed the title of the 'logisticsAndMaintenanceParentTab' to 'Logistics' in the campaign options dialog. Also, standardized comment formatting in CampaignOptionsPane.java for better readability.
    IllianiCBT committed Oct 11, 2024
    Configuration menu
    Copy the full SHA
    806a40f View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2024

  1. Delete unused classes and change initialize methods to private

    Removed redundant classes in the campaignOptions package to streamline the codebase. Also modified the accessibility of initialize methods from protected to private in various tabs for better encapsulation and maintenance.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    248dcda View commit details
    Browse the repository at this point in the history
  2. Add new financial options to FinancesTab

    Enhanced the FinancesTab with detailed financial settings including loan limits, percentage maintenance costs, taxation, and share system options. Created separate panels for payments, sales, taxes, and other systems, and updated resource properties to reflect these changes.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    d02cf4d View commit details
    Browse the repository at this point in the history
  3. Add price multipliers tab to finances options

    Introduced a new "Price Multipliers" tab within the finances options of the campaign settings. This tab includes configurable multipliers for various parts, units, and conditions, enhancing customization and economic control. Adjusted related methods and integrated new labels and properties accordingly.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    bb1acf9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4b222d8 View commit details
    Browse the repository at this point in the history
  5. Add Javadoc comments for methods in FinancesTab.java

    Enhanced code documentation by adding comprehensive Javadoc comments to methods in the `FinancesTab.java` file. This includes detailed explanations for the `FinancesTab` class and its methods, improving code readability and maintainability by providing clear descriptions of their functionality and parameters.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    478f0fc View commit details
    Browse the repository at this point in the history
  6. Add MarketsTab functionality

    Implemented a new MarketsTab in the CampaignOptionsPane, including a Personnel Market options panel with various configuration settings. Updated the relevant properties file to support the new tab and its features.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    01a7bac View commit details
    Browse the repository at this point in the history
  7. Refactor checkbox and spinner creation methods

    Updated the methods for creating checkboxes and spinners to remove redundant arguments. Refactored the relevant code in the GUI panels to use these streamlined methods for clarity and simplicity. This change improves code readability and maintainability.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    30f38f3 View commit details
    Browse the repository at this point in the history
  8. Add Javadoc comments and implement Unit Market in GUI

    Added detailed Javadoc comments to utility methods in CampaignOptionsUtilities.java for better code documentation. Implemented the Unit Market tab in MarketsTab.java, including new UI components and layout adjustments. Simplified label and text field creation in GeneralTab.java by removing redundant parameters.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    f6a9290 View commit details
    Browse the repository at this point in the history
  9. Add Unit Market Tab in Campaign Options

    This commit introduced a new Unit Market Tab in the Campaign Options screen. The new tab allows users to configure various settings related to unit markets, including special unit chances, rarity modifiers, and instant delivery options. Labels and tooltips for these new options were also added to the resource file.
    IllianiCBT committed Oct 12, 2024
    Configuration menu
    Copy the full SHA
    848ecdd View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2024

  1. Update history.txt

    also a few boards
    HammerGS committed Oct 13, 2024
    Configuration menu
    Copy the full SHA
    9c268b3 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2024

  1. Merge remote-tracking branch 'origin/campaignOptionsIIC' into campaig…

    …nOptionsIIC
    
    # Conflicts:
    #	MekHQ/docs/history.txt
    IllianiCBT committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    21ea3b7 View commit details
    Browse the repository at this point in the history
  2. Add contract market tab in campaign options

    Integrated a new contract market tab into the campaign options pane. This included creating various input elements and labels for managing contract details and configurations.
    IllianiCBT committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    0d8c8f6 View commit details
    Browse the repository at this point in the history
  3. Add checkbox for limiting mercenary size

    Introduced a new checkbox `chkMercSizeLimited` to the MarketsTab. This checkbox allows users to set a limit on the size of mercenary units. Updated the layout and initialization code to include this new component.
    IllianiCBT committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    1586bb3 View commit details
    Browse the repository at this point in the history
  4. Update history.txt

    HammerGS committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    b9a199e View commit details
    Browse the repository at this point in the history
  5. Add RulesetsTab.java for campaign options

    Introduced a new `RulesetsTab` class to handle various campaign options in MekHQ. This tab includes universal options, legacy AtB options, and StratCon options for enhanced scenario and map generation configuration.
    IllianiCBT committed Oct 14, 2024
    Configuration menu
    Copy the full SHA
    7afcb14 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    5bffeee View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    709bd08 View commit details
    Browse the repository at this point in the history

Commits on Oct 15, 2024

  1. Refactored UI components to use scaleForGUI for size adjustments

    This change updated various UI components in different tabs to use the `UIUtil.scaleForGUI` method for setting their sizes. The adjustment ensures that the components scale appropriately, improving the application's compatibility with different display settings and resolutions.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    be3d92f View commit details
    Browse the repository at this point in the history
  2. Remove maximum size constraints from GUI components

    Removed maximum size constraints to allow GUI components to scale more dynamically based on window size and user settings. This change ensures a more flexible and responsive user interface. Adjusted size comparison directly to enhance code readability and simplicity.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    3b31e4c View commit details
    Browse the repository at this point in the history
  3. Add font scaling utility method

    Introduced setFontScaling method to apply font scaling to JComponents. This method allows customization of text attributes, including boldness and size.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2c4aa5e View commit details
    Browse the repository at this point in the history
  4. Add font scaling to UI components in campaign options

    Implemented the setFontScaling method for various UI components such as checkboxes, spinners, labels, text fields, and buttons. This update ensured consistent font scaling across different UI elements, improving readability and visual consistency in the campaign options interface.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    7701ddc View commit details
    Browse the repository at this point in the history
  5. Remove redundant UI scaling code

    Removed unnecessary setting of minimum and maximum sizes for various UI components in multiple tabs to clean up the code. This improves code readability and may prevent potential UI bugs related to fixed component sizes.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    25d0b50 View commit details
    Browse the repository at this point in the history
  6. Refactor panel layout in CampaignOptionsUtilities.java

    Removed unnecessary GroupLayout configuration in favor of BoxLayout for a simpler and more flexible layout management. This change enhances code readability and maintains consistent GUI scaling across different components.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    4e7d2ba View commit details
    Browse the repository at this point in the history
  7. Scale and smooth header panel images

    Scaled and smoothed header panel images to improve UI appearance. Updated `CampaignOptionsUtilities` and `GeneralTab` to adjust image sizes dynamically and enhance display quality.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    28d7689 View commit details
    Browse the repository at this point in the history
  8. Refactor campaignOptions tabs to a higher package level

    Moved all CampaignOptions tabs from the 'tabs' subpackage to the parent 'campaignOptions' package for better organization. Updated imports accordingly to reflect the new package structure.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    0836a8e View commit details
    Browse the repository at this point in the history
  9. Refactor scaling logic and button creation

    Renamed variables for clarity in image scaling methods across various files. Updated font scaling function to accept double instead of int. Refactored button creation and layout setup in SelectPresetDialog.java for better code reuse and consistency.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    cfbbeda View commit details
    Browse the repository at this point in the history
  10. Set dialogs to always be on top

    Ensured that the main date chooser dialog and turning points dialog are always on top of other windows. This change helps maintain visibility and user workflow by preventing these dialogs from being obscured by other windows.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    70300bd View commit details
    Browse the repository at this point in the history
  11. Refactored GeneralTab layout and added utility methods

    Separated the GeneralTab panel layout into a distinct method for better organization. Added new utility methods to handle text field sizing and creating empty panels to manage whitespace.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    c22eeba View commit details
    Browse the repository at this point in the history
  12. Remove unused method createEmptyPanel

    Deleted the createEmptyPanel method and its associated documentation from CampaignOptionsUtilities.java. Also removed references to this method in GeneralTab.java as it was no longer necessary.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    cdded51 View commit details
    Browse the repository at this point in the history
  13. Refactor UI element creation to use nested static classes

    Unified the creation of UI components like JCheckBox, JSpinner, JLabel, JTextField, and JButton into nested static classes. These changes streamline the code by encapsulating the creation logic within dedicated classes, improving readability and maintainability. Additionally, all resource fetching and tooltip handling are kept consistent across the various components.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    a7f1c64 View commit details
    Browse the repository at this point in the history
  14. Refactor panel and label initialization

    Replaced direct JPanel and JLabel initialization with anonymous class instantiation. Converted layout setting to GroupLayout for better alignment control and updated HTML structuring for label text.
    IllianiCBT committed Oct 15, 2024
    Configuration menu
    Copy the full SHA
    2ddfbd5 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2024

  1. Refactor icon button action and clean up code

    Replaced inline icon button action listener with a dedicated method. Removed commented-out legacy code to improve readability and maintainability of GeneralTab.java.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    790dd3d View commit details
    Browse the repository at this point in the history
  2. Fix border title formatting and UI layout issues

    Fixed the nested String.format issue for border titles in CampaignOptionsUtilities. Adjusted the GeneralTab layout to use FlowLayout and added a titled border for the icons panel. Also set preferred sizes for button components to enhance UI consistency.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e73d72b View commit details
    Browse the repository at this point in the history
  3. Update layouts and remove administrators tab

    Replaced `createStandardLayout` with `createGroupLayout` across multiple panels to streamline layout management. Removed the unused administrators tab and added a new `CampaignOptionsGridBagConstraints` class for more flexible layout handling.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    403cb16 View commit details
    Browse the repository at this point in the history
  4. Refactor Awards Tab initialization

    Renamed and reorganized variables and methods for better clarity and maintainability. Updated the initialization process in `createAwardsTab` and related methods to create more structured and readable code. Eliminated redundant code blocks to enhance readability.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    81ddd9d View commit details
    Browse the repository at this point in the history
  5. Refactor medical and personnel tab creation

    Separated the creation logic for medical and personnel logs panels into distinct methods. This improves the manageability and readability of the code. Additionally, adjusted the tab structure to reflect the new panel separations.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9e1a678 View commit details
    Browse the repository at this point in the history
  6. Switch PersonnelTab layout from GroupLayout to GridBagLayout

    Converted the layout management in PersonnelTab.java from GroupLayout to GridBagLayout. This improves the organization of UI components and allows for more flexible layout configurations. Simplified the code by removing unnecessary GroupLayout definitions.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6ee7167 View commit details
    Browse the repository at this point in the history
  7. Switch PersonnelTab layouts to GridBagConstraints

    Replaced GroupLayout with GridBagConstraints in PersonnelTab and SalaryMultipliersPanel. This change provides more flexibility in component positioning and alignment, improving overall layout management. The modifications ensure that UI elements are better organized and maintainable.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    3382dcb View commit details
    Browse the repository at this point in the history
  8. Remove AdministratorsTab and reorder icons in GeneralTab

    The AdministratorsTab initialization was removed and its components were relocated. Also, reordered the layout of icons in the GeneralTab for better organization.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    141c6e7 View commit details
    Browse the repository at this point in the history
  9. Add motivational quote to campaign options dialog

    Inserted a quote "No job too tough, no fee too high!" into the campaign options UI for better user engagement. The quote was added as a new label at the bottom of the relevant panel.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    34f4a20 View commit details
    Browse the repository at this point in the history
  10. Merge branch 'refs/heads/master' into campaignOptionsIIC

    # Conflicts:
    #	MekHQ/docs/history.txt
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    2c2feee View commit details
    Browse the repository at this point in the history
  11. Add panel for Random Backgrounds in Biography Tab

    This commit integrated a new "Random Backgrounds" panel into the Biography Tab. It included the UI elements and layout adjustments to accommodate the new panel, ensuring consistency with existing design patterns. All related properties and labels were also updated to support the new feature.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9d89b9e View commit details
    Browse the repository at this point in the history
  12. Refactor campaign options panel layouts

    Revised grid layout configuration for PersonnelTab and BiographyTab to improve readability and maintainability. Moved component initialization and layout setup for better logical grouping and updated layout constraints to align with standard practices.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    21e282f View commit details
    Browse the repository at this point in the history
  13. Remove unnecessary boolean parameters from panel constructors

    Eliminated the redundant boolean parameters from the `CampaignOptionsStandardPanel` and `CampaignOptionsGridBagConstraints` constructors to simplify the code. Adjusted the layout creation accordingly and made minor updates to related property labels and method documentation.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    9a56bcb View commit details
    Browse the repository at this point in the history
  14. Refactor layout and scaling logic in campaign options UI

    Updated the GUI layout for several panels to use GridBagLayout for enhanced flexibility and clarity. Adjusted scaling logic using `UIUtil.scaleForGUI` to ensure consistent UI appearance across different resolutions. Also made minor text label changes for better clarity.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    254505e View commit details
    Browse the repository at this point in the history
  15. Refactor layout configurations for consistency

    Updated layout configurations in GeneralTab, BiographyTab, and CampaignOptionsUtilities to ensure consistency across panels. Replaced GroupLayout with GridBagConstraints in BiographyTab and adjusted layout settings for better alignment.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    db0cbb3 View commit details
    Browse the repository at this point in the history
  16. Refactor layout management in RelationshipsTab.java

    Replaced GroupLayout with GridBagLayout for more flexible and concise layout management. Simplified panel structure by removing unnecessary intermediate containers, which reduces code duplication and enhances readability.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    f4232c1 View commit details
    Browse the repository at this point in the history
  17. Add initialization for Tech Limits and Rank Systems

    Added the initialization of the Tech Limits Tab in EquipmentAndSuppliesTab and moved the initialization of the Rank Systems Pane in BiographyTab. This ensures that both tabs are set up correctly, improving the UI consistency and functionality.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    e2c86d9 View commit details
    Browse the repository at this point in the history
  18. Switch TurnoverAndRetentionTab.java layout to GridBagLayout

    Refactored the campaign options pane to use GridBagLayout for better alignment and consistent spacing. This change impacts multiple panels, providing a more maintainable and visually organized layout structure for the UI components.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    4997f83 View commit details
    Browse the repository at this point in the history
  19. Combine Acquisition and Delivery Tabs

    Merged acquisition and delivery panels into a single tab for consistency and better user experience. Removed the redundant initialization and layout code, and updated related resource strings to reflect the changes.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    28909e7 View commit details
    Browse the repository at this point in the history
  20. Switch to GridBagLayout for Campaign Options Tabs

    Replaced GroupLayout with GridBagLayout for better control over component positioning and layout consistency across the Campaign Options tabs. Adjusted component placements and grid constraints accordingly to ensure all elements are arranged properly.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    8c074c2 View commit details
    Browse the repository at this point in the history
  21. Refactor Repair and Maintenance tab layout

    Separated the Repair and Maintenance tab into two panels using GridBagLayout. This change improves the layout structure and readability of the GUI code, making it easier to manage and extend in the future. Updated relevant properties file with new labels and tooltips.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    0848b5a View commit details
    Browse the repository at this point in the history
  22. Refactor layout management for campaign options panels

    Reorganized the layout configurations in PersonnelTab, EquipmentAndSuppliesTab, and CampaignOptionsUtilities to improve code readability and maintainability. Adjusted the use of GridBagConstraints and other layout constraints to ensure consistent GUI element alignment and spacing.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    c900b81 View commit details
    Browse the repository at this point in the history
  23. Refactor RepairAndMaintenanceTab layout

    Replaced GroupLayout with GridBagLayout for improved readability and maintainability. This change also standardized the panel layout code and simplified adding components to the panel.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    02e0218 View commit details
    Browse the repository at this point in the history
  24. Rename maintenance spinner variable

    Renamed `spnDamageMargin` to `spnMaintenanceDays` in `RepairAndMaintenanceTab.java` for clarity and consistency. Additionally, rearranged UI elements to properly display `spnMaintenanceDays` and added new maintenance logging component.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    7067d9a View commit details
    Browse the repository at this point in the history
  25. Fix layout issue in RepairAndMaintenanceTab

    Reset the gridx value before adding lblMaintenanceBonus. This ensured that the layout of the panel elements aligned correctly, avoiding UI misalignment in the campaign options.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    bfc34dc View commit details
    Browse the repository at this point in the history
  26. Switch to GridBagLayout in FinancesTab.java

    Replaced GroupLayout with GridBagLayout in various panels within FinancesTab.java for improved layout management. Adjusted the positions and alignments of UI components to maintain the visual structure. Updated properties file for Strategic Operations tab title.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    6b27cc4 View commit details
    Browse the repository at this point in the history
  27. Switch to GridBagLayout for market options panels

    Replaced GroupLayout with GridBagLayout in `MarketsTab` and related panels. Simplified the layout management, making the panels more flexible and easier to maintain. Adjusted constraints and component placements to ensure a consistent user interface.
    IllianiCBT committed Oct 16, 2024
    Configuration menu
    Copy the full SHA
    1ac79c0 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2024

  1. Standardize GridBagLayout usage

    Revised layout configurations to consistently use GridBagLayout across various campaign options tabs. This ensures uniformity in the layout management and improves maintainability of the UI code.
    IllianiCBT committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    14f643c View commit details
    Browse the repository at this point in the history
  2. Simplify General Panel Title

    Changed "General Information" to "General" for the general panel title in the campaign options dialog. This makes the title more concise and aligns with the naming convention of other panels.
    IllianiCBT committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    93c2ab0 View commit details
    Browse the repository at this point in the history
  3. Rename Unit Development Tab to Advancement

    Changed the "Unit Development" tab title to "Advancement" in the campaign options dialog. This update makes the tab name more concise and better reflects its content. It also ensures consistency with the naming convention of other panels.
    IllianiCBT committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    8a767aa View commit details
    Browse the repository at this point in the history
  4. Update comments to include additional skill categories

    Clarified the categorization of skills in the comments section by adding "Combat Skills," "Non-Combat Skills," and "Roleplay Skills." This improves code readability and provides better insight into the skill classification system.
    IllianiCBT committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    3c11d6f View commit details
    Browse the repository at this point in the history
  5. Rename unit development tab and add AdvancementTab

    Renamed the "unitDevelopmentParentTab" to "advancementParentTab" and introduced the new "AdvancementTab" class. Added comprehensive components for managing experience awards and skill randomization within the advancement tab, enhancing the campaign options functionality.
    IllianiCBT committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    08fe1e3 View commit details
    Browse the repository at this point in the history
  6. Remove unused variables from AdvancementTab.java

    Deleted unused JLabel and JSpinner variables associated with XP cost multipliers to clean up the code. This reduces memory footprint and potentially improves maintainability and readability.
    IllianiCBT committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    01ae0aa View commit details
    Browse the repository at this point in the history
  7. Added XP Cost Multiplier to Advancement Tab

    Included a new XP Cost Multiplier label and spinner in the AdvancementTab. Updated the layout to accommodate these new components and added corresponding entries in the resource file.
    IllianiCBT committed Oct 17, 2024
    Configuration menu
    Copy the full SHA
    97ccf22 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Merge branch 'refs/heads/master' into campaignOptionsIIC

    # Conflicts:
    #	MekHQ/unittests/mekhq/gui/dialog/nagDialogs/UnableToAffordJumpNagDialogTest.java
    IllianiCBT committed Oct 21, 2024
    Configuration menu
    Copy the full SHA
    d2e644f View commit details
    Browse the repository at this point in the history