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

Porting System.Windows.Forms.Design.ListViewGroupCollectionEditor #2196

Conversation

vladimir-krestov
Copy link
Contributor

@vladimir-krestov vladimir-krestov commented Oct 25, 2019

Closes #1275
Related issue: #1115

Proposed changes

  • Add System.Windows.Forms.Design.ListViewGroupCollectionEditor class
  • Make code refactoring

Customer Impact

  • Changed ListViewGroup editor to compliance with .Net 4.8.

Regression?

  • Yes

Risk

  • Low

Screenshots

  • It made as in .Net 4.8:
    image

Test methodology

  • Manual UI testing

Test environment(s)

  • .Net Core version: 3.1.100-preview2-014533
  • Microsoft Windows [Version 10.0.18362.418]
Microsoft Reviewers: Open in CodeFlow

@vladimir-krestov vladimir-krestov requested a review from a team as a code owner October 25, 2019 09:46
@vladimir-krestov vladimir-krestov self-assigned this Oct 25, 2019
@vladimir-krestov vladimir-krestov added the waiting-review This item is waiting on review by one or more members of team label Oct 25, 2019
@codecov
Copy link

codecov bot commented Oct 25, 2019

Codecov Report

Merging #2196 into release/3.1-uitypeeditors will decrease coverage by 0.06785%.
The diff coverage is 5.88235%.

@@                        Coverage Diff                         @@
##           release/3.1-uitypeeditors      #2196         +/-   ##
==================================================================
- Coverage                   26.40136%   26.3335%   -0.06786%     
==================================================================
  Files                            816        817          +1     
  Lines                         269577     269611         +34     
  Branches                       38235      38238          +3     
==================================================================
- Hits                           71172      70998        -174     
- Misses                        193326     193535        +209     
+ Partials                        5079       5078          -1
Flag Coverage Δ
#Debug 26.3335% <5.88235%> (-0.06786%) ⬇️
#production 26.3335% <5.88235%> (-0.06786%) ⬇️
#test ?

@vladimir-krestov
Copy link
Contributor Author

Needs review.
Please check the second commit - code refactoring.
In this case, it needs to add TypeForwardTo statements manually.

@ghost ghost added the waiting-author-feedback The team requires more information from the author label Oct 25, 2019
@RussKie RussKie removed the waiting-review This item is waiting on review by one or more members of team label Oct 28, 2019
@vladimir-krestov vladimir-krestov force-pushed the dev/v-vlkres/ListViewGroupCollectionEditor_Port branch from 228d920 to fc4cdfe Compare October 29, 2019 09:22
@ghost ghost removed the waiting-author-feedback The team requires more information from the author label Oct 29, 2019
@vladimir-krestov
Copy link
Contributor Author

Squashed commits. Added ListViewGroupCollectionEditor unit test case.

@vladimir-krestov vladimir-krestov added the waiting-review This item is waiting on review by one or more members of team label Oct 29, 2019
RussKie
RussKie previously approved these changes Oct 29, 2019
Copy link
Member

@RussKie RussKie left a comment

Choose a reason for hiding this comment

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

👍 with a little nit

/// </summary>
internal class ListViewGroupCollectionEditor : CollectionEditor
{
object _editValue;
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
object _editValue;
private object _editValue;

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, fixed.

@RussKie RussKie removed the waiting-review This item is waiting on review by one or more members of team label Oct 29, 2019
@vladimir-krestov vladimir-krestov force-pushed the dev/v-vlkres/ListViewGroupCollectionEditor_Port branch from fc4cdfe to bc3eeb2 Compare October 29, 2019 11:48
RussKie
RussKie previously approved these changes Oct 29, 2019
@RussKie RussKie force-pushed the dev/v-vlkres/ListViewGroupCollectionEditor_Port branch from bc3eeb2 to c7616c2 Compare October 29, 2019 23:46
@RussKie RussKie merged commit 915b8be into release/3.1-uitypeeditors Oct 29, 2019
@RussKie RussKie deleted the dev/v-vlkres/ListViewGroupCollectionEditor_Port branch October 29, 2019 23:57
@ghost ghost locked as resolved and limited conversation to collaborators Feb 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants