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

I/9568 resizing linked images #9598

Merged
merged 9 commits into from
May 5, 2021

Conversation

magda-chrzescian
Copy link
Contributor

Suggested merge commit message (convention)

Fix (image): It should be possible to resize a linked image with the image handles. Closes #9568.
Fix (image): It should be possible to resize an image nested in a to-do list. See #9568.


Additional information

For example – encountered issues, assumptions you had to make, other affected tickets, etc.

@magda-chrzescian magda-chrzescian linked an issue Apr 30, 2021 that may be closed by this pull request
@magda-chrzescian magda-chrzescian requested a review from oleq April 30, 2021 08:14
Copy link
Member

@oleq oleq left a comment

Choose a reason for hiding this comment

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

Looks great 👍

We're missing a "real-life-scenario test", though. Well, as real as resizerMouseSimulator.dragTo() will allow.

Tests you added check what ._getResizeHost() would return (which is fine). Still, if the mechanics of the feature changes and _getResizeHost logic is gone in the future (and its tests...) the code will be vulnerable again. A real-life (user) scenario test will prevent that because it is immune to the changes under the hood.

@magda-chrzescian magda-chrzescian requested a review from oleq May 5, 2021 10:21
@oleq oleq merged commit 01bdba9 into i/2052-inline-images May 5, 2021
@oleq oleq deleted the i/9568-image-resize-link-integration branch May 5, 2021 13:02
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.

Linking image results in resize value NaN%
2 participants