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: Gallery opening other image after closing #27957

Merged
merged 18 commits into from
Mar 13, 2023
Merged

fix: Gallery opening other image after closing #27957

merged 18 commits into from
Mar 13, 2023

Conversation

gabriellsh
Copy link
Member

Proposed changes (including videos or screenshots)

How to reproduce:
1 - Upload MANY images to a channel (they have to be images and the bigger and more images the easier to reproduce)
2 - Click on one of the images
3 - Try to close the glalery as QUICK as possible

If done correctly, another image will open after closing the gallery. You could also try opening different images or throttling the network thru the devtools in order to help reproduce it.

I also took some time to make part of the code more readable.

Issue(s)

Steps to test or reproduce

Further comments

TC-358

@codecov
Copy link

codecov bot commented Feb 6, 2023

Codecov Report

Merging #27957 (2afc9be) into develop (b090d22) will decrease coverage by 0.19%.
The diff coverage is 0.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop   #27957      +/-   ##
===========================================
- Coverage    45.46%   45.27%   -0.19%     
===========================================
  Files          760      760              
  Lines        14795    14802       +7     
  Branches      2086     2087       +1     
===========================================
- Hits          6726     6702      -24     
- Misses        7774     7806      +32     
+ Partials       295      294       -1     
Flag Coverage Δ
e2e 45.23% <0.00%> (-0.19%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

@alvaropmello alvaropmello added this to the 6.1.0 milestone Feb 14, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: needs QA labels Feb 18, 2023
@sampaiodiego sampaiodiego removed the stat: ready to merge PR tested and approved waiting for merge label Feb 28, 2023
@hugocostadev hugocostadev added the stat: ready to merge PR tested and approved waiting for merge label Mar 10, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 10, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 10, 2023
@gabriellsh gabriellsh changed the title [FIX] Gallery opening other image after closing fix: Gallery opening other image after closing Mar 10, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 13, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 13, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 13, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 13, 2023
@dionisio-bot dionisio-bot bot added stat: ready to merge PR tested and approved waiting for merge and removed stat: ready to merge PR tested and approved waiting for merge labels Mar 13, 2023
@kodiakhq kodiakhq bot merged commit e4bfde3 into develop Mar 13, 2023
@kodiakhq kodiakhq bot deleted the fix/gallery branch March 13, 2023 17:35
@casalsgh casalsgh modified the milestones: 6.1.0, 6.1.0 special Mar 27, 2023
@sampaiodiego sampaiodiego mentioned this pull request May 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stat: QA skipped stat: ready to merge PR tested and approved waiting for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants