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

Change default upper section from "header" to "condensed_header" #209

Merged
merged 3 commits into from
Dec 12, 2023

Conversation

joseph-sentry
Copy link
Contributor

No description provided.

@joseph-sentry joseph-sentry marked this pull request as draft December 8, 2023 15:53
@codecov-qa
Copy link

codecov-qa bot commented Dec 8, 2023

Codecov Report

Merging #209 (5779656) into main (ee0621c) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
- Coverage   98.36%   98.33%   -0.04%     
==========================================
  Files         358      358              
  Lines       28831    28831              
==========================================
- Hits        28360    28351       -9     
- Misses        471      480       +9     
Flag Coverage Δ
integration 98.33% <100.00%> (-0.04%) ⬇️
latest-uploader-overall 98.33% <100.00%> (-0.04%) ⬇️
unit 98.33% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.71% <100.00%> (-0.09%) ⬇️
OutsideTasks 98.09% <100.00%> (-0.05%) ⬇️
Files Coverage Δ
conftest.py 94.77% <ø> (ø)
.../notification/notifiers/mixins/message/__init__.py 100.00% <100.00%> (ø)
...cation/notifiers/tests/integration/test_comment.py 92.34% <ø> (ø)
...s/notification/notifiers/tests/unit/test_checks.py 98.26% <ø> (ø)
.../notification/notifiers/tests/unit/test_comment.py 100.00% <ø> (ø)
tasks/tests/integration/test_notify_task.py 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

Copy link

codecov-public-qa bot commented Dec 8, 2023

Codecov Report

Merging #209 (5779656) into main (ee0621c) will decrease coverage by 0.04%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
- Coverage   98.36%   98.33%   -0.04%     
==========================================
  Files         358      358              
  Lines       28831    28831              
==========================================
- Hits        28360    28351       -9     
- Misses        471      480       +9     
Flag Coverage Δ
integration 98.33% <100.00%> (-0.04%) ⬇️
latest-uploader-overall 98.33% <100.00%> (-0.04%) ⬇️
unit 98.33% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.71% <100.00%> (-0.09%) ⬇️
OutsideTasks 98.09% <100.00%> (-0.05%) ⬇️
Files Coverage Δ
conftest.py 94.77% <ø> (ø)
.../notification/notifiers/mixins/message/__init__.py 100.00% <100.00%> (ø)
...cation/notifiers/tests/integration/test_comment.py 92.34% <ø> (ø)
...s/notification/notifiers/tests/unit/test_checks.py 98.26% <ø> (ø)
.../notification/notifiers/tests/unit/test_comment.py 100.00% <ø> (ø)
tasks/tests/integration/test_notify_task.py 100.00% <ø> (ø)

... and 1 file with indirect coverage changes

Copy link

codecov bot commented Dec 8, 2023

Codecov Report

Merging #209 (5779656) into main (ee0621c) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

Changes have been made to critical files, which contain lines commonly executed in production. Learn more

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #209      +/-   ##
==========================================
- Coverage   98.32%   98.30%   -0.03%     
==========================================
  Files         389      389              
  Lines       29527    29527              
==========================================
- Hits        29033    29026       -7     
- Misses        494      501       +7     
Flag Coverage Δ
integration 98.33% <100.00%> (?)
latest-uploader-overall 98.33% <100.00%> (?)
onlysomelabels 98.28% <100.00%> (-0.05%) ⬇️
unit 98.33% <100.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
NonTestCode 96.60% <100.00%> (-0.07%) ⬇️
OutsideTasks 98.09% <100.00%> (∅)
Files Coverage Δ
conftest.py 94.77% <ø> (ø)
.../notification/notifiers/mixins/message/__init__.py 100.00% <100.00%> (ø)
...cation/notifiers/tests/integration/test_comment.py 92.34% <ø> (ø)
...s/notification/notifiers/tests/unit/test_checks.py 98.26% <ø> (ø)
.../notification/notifiers/tests/unit/test_comment.py 100.00% <ø> (ø)
tasks/tests/integration/test_notify_task.py 100.00% <ø> (ø)

... and 3 files with indirect coverage changes

Related Entrypoints
run/app.tasks.notify.Notify

Copy link
Contributor

@giovanni-guidini giovanni-guidini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM but left small comment

@@ -209,7 +209,7 @@ def get_upper_section_names(self, settings):
sections = list(map(lambda l: l.strip(), (settings["layout"] or "").split(",")))
headers = ["newheader", "header", "condensed_header"]
if all(not x in sections for x in headers):
sections.insert(0, "header")
sections.insert(0, "newheader")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"condensed_header" is the new name for "newheader" given that "newheader" will not be "new" if it's the default.

NIT comment being use "condensed_header" as the value, not "newheader"

@joseph-sentry joseph-sentry changed the title Change default upper section from "header" to "newheader" Change default upper section from "header" to "condensed_header" Dec 12, 2023
@joseph-sentry joseph-sentry merged commit 8a1ac6d into main Dec 12, 2023
18 of 26 checks passed
@joseph-sentry joseph-sentry deleted the joseph/newheader-default branch December 12, 2023 16:46
scott-codecov added a commit that referenced this pull request Dec 12, 2023
* main:
  Change default upper section from "header" to "condensed_header" (#209)
  Add logs for some path fixes for each raw upload processing (#135)
  Create CleanLabelIndexTask (#205)
  fix: check if labels before popping (#208)
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.

2 participants