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

Updated Edge Handling and GUI Support (Sentry) #6579

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

IllianiCBT
Copy link
Collaborator

  • Refactored PersonViewPanel to display current and total edge without support role-specific logic.
  • Updated resetCurrentEdge logic in Person to apply universally instead of being restricted to support roles.
  • Marked processWeeklyEdgeResets in Campaign as deprecated, consolidating its usage into resetCurrentEdge.
  • Removed check that prevented non-support characters from having their current Edge levels stored on save.

Dev Notes

Historically, the expectation was that only techs could use their Edge outside of scenarios. Therefore only techs had their current Edge levels stored in the save file. Everyone else had their current Edge reset to 0 on load.

Furthermore, previously Edge and Current Edge (for techs, nobody else displayed current edge) were displayed on separate lines of the View Person pane. I condensed those into the same line so it appears as shown below.

image

- Refactored `PersonViewPanel` to display current and total edge without support role-specific logic.
- Updated `resetCurrentEdge` logic in `Person` to apply universally instead of being restricted to support roles.
- Marked `processWeeklyEdgeResets` in `Campaign` as deprecated, consolidating its usage into `resetCurrentEdge`.
- Removed check that prevented non-support characters from having their current Edge levels stored on save.
@IllianiCBT IllianiCBT added Bug Personnel Personnel-related Issues GUI Severity: Medium Issues described as medium severity as per the new issue form labels Apr 7, 2025
@IllianiCBT IllianiCBT self-assigned this Apr 7, 2025
Copy link

codecov bot commented Apr 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.44%. Comparing base (f44952c) to head (4afb5c6).
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##             master    #6579   +/-   ##
=========================================
  Coverage     11.43%   11.44%           
- Complexity     6451     6452    +1     
=========================================
  Files          1087     1087           
  Lines        139447   139428   -19     
  Branches      21560    21558    -2     
=========================================
+ Hits          15944    15951    +7     
+ Misses       121908   121881   -27     
- Partials       1595     1596    +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.

@IllianiCBT IllianiCBT changed the title Updated Edge Handling and GUI Support Updated Edge Handling and GUI Support (Sentry) Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GUI Personnel Personnel-related Issues Severity: Medium Issues described as medium severity as per the new issue form
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant