Skip to content

Fix 1273 port ImageCollectionEditor#1299

Merged
RussKie merged 5 commits intodotnet:masterfrom
RussKie:fix_1273_port_ImageCollectionEditor
Jul 18, 2019
Merged

Fix 1273 port ImageCollectionEditor#1299
RussKie merged 5 commits intodotnet:masterfrom
RussKie:fix_1273_port_ImageCollectionEditor

Conversation

@RussKie
Copy link
Contributor

@RussKie RussKie commented Jul 8, 2019

Closes #1273

Proposed changes

  • Port IntegerCollectionEditor from NET Fx
  • Port auxiliary ImageListImage and ImageListImageEditor
  • Fix xml-docs
  • Fix names
  • Remove unused usings
  • Remove this.
  • Add missing braces
  • Use arrow functions, where appropriate
  • Inverted ifs to reduce nesting

Screenshots

Before

image

After

image
image

Test methodology

  • manual tests with visual inspection

@RussKie RussKie requested a review from a team as a code owner July 8, 2019 01:25
@RussKie RussKie self-assigned this Jul 8, 2019
@RussKie RussKie force-pushed the fix_1273_port_ImageCollectionEditor branch from 04c10a5 to c94ab92 Compare July 8, 2019 02:23
@RussKie RussKie force-pushed the fix_1273_port_ImageCollectionEditor branch 3 times, most recently from 1596e26 to 89a117f Compare July 11, 2019 07:26
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@Tanya-Solyanik @dreddy-work @ericstj @danmosemsft How do we define the version and the public key for our own assemblies?

Copy link
Member

Choose a reason for hiding this comment

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

See

<AssemblyVersion>4.0.0.0</AssemblyVersion>
<StrongNameKeyId>ECMA</StrongNameKeyId>

@RussKie RussKie changed the title Fix 1273 port ImageCollectionEditor WIP: Fix 1273 port ImageCollectionEditor Jul 12, 2019
@RussKie RussKie force-pushed the fix_1273_port_ImageCollectionEditor branch from 89a117f to e04c79d Compare July 12, 2019 06:23
@dreddy-work
Copy link
Member

@RussKie , what was the issue with adding images to collection editor?

@RussKie
Copy link
Contributor Author

RussKie commented Jul 13, 2019

what was the issue with adding images to collection editor?

Missing implementations. You can see them added in 936831a

@RussKie RussKie force-pushed the fix_1273_port_ImageCollectionEditor branch from 5a530f4 to c7c66e0 Compare July 17, 2019 06:43
@ericstj
Copy link
Member

ericstj commented Jul 17, 2019

CI will be fixed once you can ingest an arcade build with dotnet/arcade#3310.

Additionally port required
* ImageListImage
* ImageListImageEditor

Closes dotnet#1273
@RussKie RussKie force-pushed the fix_1273_port_ImageCollectionEditor branch from c7c66e0 to 76ba23d Compare July 18, 2019 05:38
@codecov
Copy link

codecov bot commented Jul 18, 2019

Codecov Report

Merging #1299 into master will decrease coverage by 0.02299%.
The diff coverage is 0%.

@@                Coverage Diff                @@
##              master       #1299       +/-   ##
=================================================
- Coverage   37.01403%   36.99103%   -0.023%     
=================================================
  Files           1124        1127        +3     
  Lines         330137      330299      +162     
  Branches       39002       39025       +23     
=================================================
- Hits          122197      122181       -16     
- Misses        203379      203559      +180     
+ Partials        4561        4559        -2
Flag Coverage Δ
#Debug 36.99103% <0%> (-0.023%) ⬇️
#production 23.4648% <0%> (-0.01995%) ⬇️
#test 98.75463% <ø> (ø) ⬆️

RussKie added 4 commits July 18, 2019 10:28
- Fix xml-docs
- Fix names
- Remove unused usings
- Remove `this.`
- Add missing braces
- Use arrow functions, where appropriate
- Inverted `if`s to reduce nesting
Exercise functionality manually and provide a way to visually confirm
the editor is operational.
Implement missing conversions to and from `ImageListImage`.

Fixes dotnet#1335
@RussKie RussKie closed this Jul 18, 2019
@RussKie RussKie reopened this Jul 18, 2019
@RussKie RussKie force-pushed the fix_1273_port_ImageCollectionEditor branch from 76ba23d to d2bf6c7 Compare July 18, 2019 07:41
@RussKie RussKie closed this Jul 18, 2019
@RussKie RussKie reopened this Jul 18, 2019
Copy link
Member

@ericstj ericstj left a comment

Choose a reason for hiding this comment

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

Looks like the Arcade fix addressed the failure in CI. 👍

@RussKie
Copy link
Contributor Author

RussKie commented Jul 18, 2019

Yes, it did. Thank you

@RussKie RussKie changed the title WIP: Fix 1273 port ImageCollectionEditor Fix 1273 port ImageCollectionEditor Jul 18, 2019
@RussKie RussKie merged commit ca71024 into dotnet:master Jul 18, 2019
@RussKie RussKie deleted the fix_1273_port_ImageCollectionEditor branch July 18, 2019 18:44
@RussKie RussKie added area-DesignerSupport tenet-compatibility Incompatibility with previous versions or with WinForms for .NET Framework labels Oct 18, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Feb 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-DesignerSupport tenet-compatibility Incompatibility with previous versions or with WinForms for .NET Framework

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Port System.Windows.Forms.Design.ImageCollectionEditor

3 participants