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

[stable20] Feat/virtual grid #550

Merged
merged 31 commits into from
Nov 25, 2020
Merged

[stable20] Feat/virtual grid #550

merged 31 commits into from
Nov 25, 2020

Conversation

skjnldsv
Copy link
Member

@skjnldsv skjnldsv commented Nov 15, 2020

Big packport of #503 #529 #507 #521 #514 #520 #468 #513 #488 #509 #477 #501 #495 #506 #500 #278 #435 #487 #480 #457 #478 #479

While lots of people are trying to move to nc photos, maybe it's worth backporting our recent improvements on perfs and rendering to stable20

cc @rullzer @MorrisJobke what do you think? Those are really important changes and makes a really big difference in photos usability 🚀

Corentin Mors and others added 27 commits November 15, 2020 09:15
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Ref #120

Signed-off-by: AJ Jordan <alex@strugee.net>
Ref #120

Signed-off-by: AJ Jordan <alex@strugee.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Jakob Röhrl <jakob.roehrl@web.de>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: Corentin Mors <corentin.mors@dashlane.com>
Signed-off-by: AJ Jordan <alex@strugee.net>
@skjnldsv

This comment has been minimized.

@skjnldsv skjnldsv self-assigned this Nov 15, 2020
@skjnldsv skjnldsv added the 3. to review Waiting for reviews label Nov 15, 2020
@skjnldsv skjnldsv changed the title Feat/virtual grid [stable20] Feat/virtual grid Nov 15, 2020
@skjnldsv
Copy link
Member Author

skjnldsv commented Nov 15, 2020

A bug found, not reproductible on master, did I miss something?

Describe the bug
Scrolling down and up doesn't show back the date divider

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Your photos'
  2. Scroll down a few rows
  3. See the page jump slightly when the date divider hides
  4. Scroll back up
  5. See missing top padding and missing date divider

Expected behavior
Date divider shows again

Screenshots
Peek 15-11-2020 11-25

EDIT: vue-virtual-grid ^2.1.1 → ^2.2.1, might be the issue, let's try
EDIT2: doesn't seems like it, ring a bell Corentin?

@Mikescops
Copy link
Member

You missed something probably, I don't know what.

@rullzer rullzer mentioned this pull request Nov 16, 2020
1 task
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
@skjnldsv
Copy link
Member Author

You missed something probably, I don't know what.

Actually I can reproduce on master.
Can you review this @Mikescops :)
20.0.2 have been release, so we can go for 20.0.3 🚀

@skjnldsv
Copy link
Member Author

@phurrelmann @Thovi98 @Tachi107 @tacruc Feel free to test this if you have the possibility.
You can download the release here: https://github.com/nextcloud/photos/archive/feat/virtual-grid.zip

Remember to backup the original photos app. If you don't know what you're doing, please don't test it!
Only check if you feel confident :)

@skjnldsv skjnldsv mentioned this pull request Nov 25, 2020
@Thovi98
Copy link

Thovi98 commented Nov 25, 2020

I would like to help test but I’ve never done that.. And I don’t know how to backup the original photos app 😢
And I’m still on Nextcloud 20.0.1, I don’t know if it’s a problem ?

I still will search how to do this to help you testing !!

@skjnldsv
Copy link
Member Author

skjnldsv commented Nov 25, 2020

And I’m still on Nextcloud 20.0.1, I don’t know if it’s a problem ?

No problem here.
You copy the old photos folder and you make a backup of it.
Then you replace it by the archive above.
Your nextcloud will ask you to upgrade, do it.
Then test the photos app.
When done, delete the photos folder and restore the old one

Make sure you have backups of everything, as always :)

@Mikescops
Copy link
Member

No bugs on my side except the fact that on tags if you don't have any tag there is "empty" image displayed.

image

@Tachi107
Copy link

Not sure if this is caused by the super slow laptop that I'm using at the moment, but when I scroll down a bit recent photos overlap with older ones and the top of the grid remains empty.
image

Also, some photos completely refuse to show up, leaving empty spaces into the grid.
image

@Mikescops
Copy link
Member

I don't reproduce @Tachi107 bug nor yours @skjnldsv

@skjnldsv
Copy link
Member Author

@Tachi107 please make sure to clear your cache !

@Mikescops it only happens when there is only one date for me.
I'll open an issue :)

@skjnldsv skjnldsv merged commit 665b79d into stable20 Nov 25, 2020
@skjnldsv skjnldsv deleted the feat/virtual-grid branch November 25, 2020 15:05
@Mikescops
Copy link
Member

it only happens when there is only one date for me.

Sounds very possible then

@Mikescops
Copy link
Member

@Tachi107 I tried again with plenty of png images like you but nothing similar :/

@Tachi107
Copy link

@skjnldsv what cache are you referring to?

@skjnldsv
Copy link
Member Author

@skjnldsv what cache are you referring to?

Browser and server (OCC maintenance:repair if you want)

@Tachi107
Copy link

Perfect, occ maintenance:repair seems to have fixed everything. You all did an amazing job! :)

@Thovi98
Copy link

Thovi98 commented Nov 25, 2020

No problem here.
You copy the old photos folder and you make a backup of it.
Then you replace it by the archive above.
Your nextcloud will ask you to upgrade, do it.
Then test the photos app.
When done, delete the photos folder and restore the old one

Make sure you have backups of everything, as always :)

Thanks for the tip. I’ve tried but I didn’t success, I guess I’m to much a newbie still 😄
I’m glad to see that everything works, I will try again some other time when needed. It was very nice to try haha, and yes my backups are okay, I could retrieve the original state of the app !

Thanks for you explanation and all your work both @skjnldsv and @Mikescops ! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews bug Something isn't working enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants