Skip to content

Conversation

@gpetrou
Copy link
Contributor

@gpetrou gpetrou commented Apr 9, 2024

Proposed changes

  • Enable nullability in GroupedContextMenuStrip and NewItemsContextMenuStrip.
Microsoft Reviewers: Open in CodeFlow

@gpetrou gpetrou requested a review from a team as a code owner April 9, 2024 17:27
@gpetrou gpetrou force-pushed the GroupedContextMenuStrip branch from 75c6f1b to c1bcb41 Compare April 9, 2024 17:28
@codecov
Copy link

codecov bot commented Apr 9, 2024

Codecov Report

Attention: Patch coverage is 74.28571% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 74.33714%. Comparing base (4317f31) to head (1730ee2).

Additional details and impacted files
@@                 Coverage Diff                 @@
##                main      #11183         +/-   ##
===================================================
+ Coverage   74.32617%   74.33714%   +0.01097%     
===================================================
  Files           3018        3019          +1     
  Lines         626381      626411         +30     
  Branches       46602       46602                 
===================================================
+ Hits          465565      465656         +91     
+ Misses        157419      157364         -55     
+ Partials        3397        3391          -6     
Flag Coverage Δ
Debug 74.33714% <74.28571%> (+0.01097%) ⬆️
integration 18.30948% <0.00000%> (-0.00139%) ⬇️
production 46.99488% <10.00000%> (+0.02239%) ⬆️
test 97.04175% <100.00000%> (+0.00021%) ⬆️
unit 43.91517% <10.00000%> (-0.00254%) ⬇️

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

@gpetrou gpetrou force-pushed the GroupedContextMenuStrip branch from c1bcb41 to a8f1b90 Compare April 11, 2024 05:10
@LeafShi1
Copy link
Member

LGTM! @lonitra Please review this PR.

@lonitra lonitra added the waiting-author-feedback The team requires more information from the author label Apr 15, 2024
@gpetrou gpetrou force-pushed the GroupedContextMenuStrip branch from a8f1b90 to a9f3bd2 Compare April 27, 2024 06:44
@dotnet-policy-service dotnet-policy-service bot removed the waiting-author-feedback The team requires more information from the author label Apr 27, 2024
@elachlan elachlan requested a review from lonitra April 29, 2024 00:05
@elachlan elachlan added the waiting-review This item is waiting on review by one or more members of team label Apr 29, 2024
[Fact]
public void Populate_WhenInitializedWithoutGroups_ItemsCountIsZero()
{
GroupedContextMenuStrip groupedContextMenuStrip = new();
Copy link
Member

Choose a reason for hiding this comment

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

Believe this is disposable

Suggested change
GroupedContextMenuStrip groupedContextMenuStrip = new();
using GroupedContextMenuStrip groupedContextMenuStrip = new();

Comment on lines 18 to 19
GroupedContextMenuStrip groupedContextMenuStrip = new();
ToolStripButton toolStripButton = new();
Copy link
Member

Choose a reason for hiding this comment

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

Ditto here and test below as well

Suggested change
GroupedContextMenuStrip groupedContextMenuStrip = new();
ToolStripButton toolStripButton = new();
using GroupedContextMenuStrip groupedContextMenuStrip = new();
using ToolStripButton toolStripButton = new();

@lonitra lonitra added waiting-author-feedback The team requires more information from the author and removed waiting-review This item is waiting on review by one or more members of team labels Apr 29, 2024
@gpetrou gpetrou force-pushed the GroupedContextMenuStrip branch from a9f3bd2 to 1730ee2 Compare April 29, 2024 18:02
@dotnet-policy-service dotnet-policy-service bot removed the waiting-author-feedback The team requires more information from the author label Apr 29, 2024
@gpetrou gpetrou requested a review from lonitra April 29, 2024 18:03
Copy link
Member

@lonitra lonitra left a comment

Choose a reason for hiding this comment

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

🚀

@lonitra lonitra merged commit a94848e into dotnet:main Apr 29, 2024
@dotnet-policy-service dotnet-policy-service bot added this to the 9.0 Preview5 milestone Apr 29, 2024
@gpetrou gpetrou deleted the GroupedContextMenuStrip branch April 30, 2024 04:12
@github-actions github-actions bot locked and limited conversation to collaborators May 30, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants