Skip to content

Porting System.Windows.Forms.Design.ListViewSubItemCollectionEditor#2198

Merged
RussKie merged 1 commit intorelease/3.1-uitypeeditorsfrom
dev/v-vlkres/EditorsPort/ListViewSubItemCollectionEditor
Oct 29, 2019
Merged

Porting System.Windows.Forms.Design.ListViewSubItemCollectionEditor#2198
RussKie merged 1 commit intorelease/3.1-uitypeeditorsfrom
dev/v-vlkres/EditorsPort/ListViewSubItemCollectionEditor

Conversation

@vladimir-krestov
Copy link
Contributor

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

Fixes #1277
Related issue: #1115

Proposed changes

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

Customer Impact

  • Changed ListViewItems SubItems 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 added the waiting-review This item is waiting on review by one or more members of team label Oct 25, 2019
@vladimir-krestov vladimir-krestov requested a review from a team as a code owner October 25, 2019 11:34
@vladimir-krestov vladimir-krestov self-assigned this Oct 25, 2019
@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.

@codecov
Copy link

codecov bot commented Oct 25, 2019

Codecov Report

Merging #2198 into release/3.1-uitypeeditors will decrease coverage by 0.00937%.
The diff coverage is 5.55556%.

@@                         Coverage Diff                         @@
##           release/3.1-uitypeeditors       #2198         +/-   ##
===================================================================
- Coverage                   26.38439%   26.37502%   -0.00937%     
===================================================================
  Files                            815         816          +1     
  Lines                         269523      269577         +54     
  Branches                       38228       38235          +7     
===================================================================
- Hits                           71112       71101         -11     
- Misses                        193329      193398         +69     
+ Partials                        5082        5078          -4
Flag Coverage Δ
#Debug 26.37502% <5.55556%> (-0.00938%) ⬇️
#production 26.37502% <5.55556%> (-0.00938%) ⬇️
#test 100% <ø> (ø) ⬆️

Copy link
Contributor

@zsd4yr zsd4yr left a comment

Choose a reason for hiding this comment

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

One small change, won't block for it here

@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/EditorsPort/ListViewSubItemCollectionEditor branch from 8bdd172 to edeadff Compare October 29, 2019 09:14
@ghost ghost removed the waiting-author-feedback The team requires more information from the author label Oct 29, 2019
@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
@vladimir-krestov
Copy link
Contributor Author

Squashed commits. Added ListViewSubItemCollectionEditor unit test case.

RussKie
RussKie previously approved these changes Oct 29, 2019
Copy link
Contributor

@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 few nits

Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
ListViewItem.ListViewSubItem _firstSubItem = null;
private ListViewItem.ListViewSubItem _firstSubItem = null;

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.

Comment on lines 17 to 19
Copy link
Contributor

Choose a reason for hiding this comment

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

[nit] missing new line

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/EditorsPort/ListViewSubItemCollectionEditor branch from edeadff to df2b098 Compare October 29, 2019 11:13
@vladimir-krestov vladimir-krestov force-pushed the dev/v-vlkres/EditorsPort/ListViewSubItemCollectionEditor branch from df2b098 to 4adf835 Compare October 29, 2019 11:44
@RussKie RussKie merged commit 7034876 into release/3.1-uitypeeditors Oct 29, 2019
@RussKie RussKie deleted the dev/v-vlkres/EditorsPort/ListViewSubItemCollectionEditor branch October 29, 2019 23:07
@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