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

make a few frontend style tweaks #1514

Merged
merged 1 commit into from
Jan 12, 2025
Merged

Conversation

srabraham
Copy link
Member

  • "unttachedFieldReports" was misleading, because it included all field reports, including those attached to the current incident
  • we can use const rather than var in many places
  • title for "show days" is helpful to clarify it's about modification date, not creation date
  • no need for an additional drawMergedReportEntries call
  • split onStrikeSuccess into incident and field report versions, to get rid of the nasty "typeof ... !== 'undefined'" hack

* "unttachedFieldReports" was misleading, because it included
  all field reports, including those attached to the current incident
* we can use const rather than var in many places
* title for "show days" is helpful to clarify it's about modification
  date, not creation date
* no need for an additional drawMergedReportEntries call
* split onStrikeSuccess into incident and field report versions, to
  get rid of the nasty "typeof ... !== 'undefined'" hack
@srabraham srabraham enabled auto-merge (rebase) January 12, 2025 15:13
@srabraham srabraham merged commit 5abecde into master Jan 12, 2025
11 checks passed
@srabraham srabraham deleted the 2025-01-12-strike-enhance branch January 12, 2025 15:20
Copy link

codecov bot commented Jan 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 69.75%. Comparing base (3309922) to head (c39755a).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1514      +/-   ##
==========================================
- Coverage   69.77%   69.75%   -0.03%     
==========================================
  Files         181      181              
  Lines        9139     9139              
  Branches     1503     1503              
==========================================
- Hits         6377     6375       -2     
- Misses       2653     2654       +1     
- Partials      109      110       +1     

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

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