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

fix: update ImageView #4071

Merged
merged 1 commit into from
Apr 26, 2023
Merged

Conversation

luka-nextcloud
Copy link
Contributor

📝 Summary

🖼️ Screenshots

🏚️ Before 🏡 After
B A

🚧 TODO

  • ...

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests
  • Documentation (README or documentation) has been updated or is not required

@cypress
Copy link

cypress bot commented Apr 24, 2023

1 flaky tests on run #9512 ↗︎

0 142 1 0 Flakiness 1

Details:

fix: update ImageView
Project: Text Commit: 84788d5ccc
Status: Passed Duration: 04:23 💡
Started: Apr 26, 2023 1:20 PM Ended: Apr 26, 2023 1:24 PM
Flakiness  cypress/e2e/conflict.spec.js • 1 flaky test

View Output Video

Test Artifacts
Open test.md in viewer > resolves conflict using current editing session Output Screenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

Copy link
Collaborator

@max-nextcloud max-nextcloud left a comment

Choose a reason for hiding this comment

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

I wonder why @blur did not do the trick. But this also seems fine.

@juliusknorr juliusknorr added bug Something isn't working 3. to review labels Apr 25, 2023
@juliusknorr
Copy link
Member

The @blur seems to work just fine, however I noticed that the actual issue seems to be that the component might be re-rendered if the user moves the mouse out which then restores the old value even before the blur was triggered

@mouseover="showIcons = true"

Anyways I think always updating seems more safe to me 👍

@juliusknorr juliusknorr force-pushed the bugfix/image-caption-updating-failed branch from 823a2ce to 9e2815e Compare April 26, 2023 06:44
@juliusknorr
Copy link
Member

/compile amend /

@max-nextcloud
Copy link
Collaborator

shall we backport this?

@juliusknorr
Copy link
Member

/compile amend /

@juliusknorr
Copy link
Member

/backport to stable26

@juliusknorr
Copy link
Member

/backport to stable25

Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@nextcloud-command nextcloud-command force-pushed the bugfix/image-caption-updating-failed branch from 9e2815e to 84788d5 Compare April 26, 2023 13:09
@juliusknorr juliusknorr merged commit 70b9768 into main Apr 26, 2023
@delete-merged-branch delete-merged-branch bot deleted the bugfix/image-caption-updating-failed branch April 26, 2023 13:30
@backportbot-nextcloud
Copy link

The backport to stable26 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable26
git pull origin/stable26

# Create the new backport branch
git checkout -b fix/foo-stable26

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable26

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

@backportbot-nextcloud
Copy link

The backport to stable25 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable25
git pull origin/stable25

# Create the new backport branch
git checkout -b fix/foo-stable25

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts. Resolve them.
git cherry-pick abc123

# Push the cherry pick commit to the remote repository and open a pull request
git push origin fix/foo-stable25

More info at https://docs.nextcloud.com/server/latest/developer_manual/getting_started/development_process.html#manual-backport

@juliusknorr
Copy link
Member

@luka-nextcloud Please backport manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Editing image description fails if enter isn't pressed
3 participants