-
-
Notifications
You must be signed in to change notification settings - Fork 61
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
Implement new Vue Virtual Grid #468
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found few bugs:
- (not related to this PR) XML parsing has an issue when there is no images
- when resizing the window the computation goes wrong for full width items (this has to be fixed in the virtual grid lib)
- the viewer is locked to folders once again (maybe we will also have to edit the virtual grid lib to manually trigger the next batch of data)
Both issues are now fixed + the ones reported by @skjnldsv @jancborchardt if you can give a try |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice! Only some small feedback:
- With the new date headings, the "Your photos" heading is not necessary anymore and can be cut :) But make sure there’s some nice whitespace on top of the first date heading
- The date headings could do with some more whitespace above them, let’s say double of what’s there now (so 72px)
- I get this strange preview glitch when scrolling (in Firefox) where already loaded pictures fall back to displaying only the filetype icon:
I have the same glitches and I'm not sure why they are there, and it seems somehow that the old grid what already doing that but less visible. I'll try to find why and fix the other spacing issues. |
38ea86a
to
1eca940
Compare
@jancborchardt it's fixed 😄 |
1eca940
to
9f5e274
Compare
Congrats! Was not that easy :p |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Header Navigation is missing when there is pictures (present when there is none)
- Loading indicator is missing
- Grid sizes config is not used anymore
- See inline comments too :)
@jancborchardt asked to remove it when there is pictures
I'm not sure how we can re-add the loading indicator, the lib is not ready for this, I think we can open an issue on the lib and fix this later, I'm not convinced it's a blocker
As answered in the small comments, gridconfig is now handled on the lib side. It is configurable through functions passed to the grid component. In my opinion we can remove it and set the batch size with a param. |
I have fixed all suggested issues except the loading icon when waiting for next batch. |
@jancborchardt nice catch! done |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good design-wise! :) Nice!
@skjnldsv can I let you merge this? |
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>
267ac59
to
39b85f9
Compare
Hey guys, that is maybe a long shot but have you thought about implementing a little side timeline (a litle line with points on it on the site) where every point is a month so you can easily find pictures. Like at amazon cloud? |
See #426 |
Should we update the screenshot in Readme.md with the one provided here ? |
Would it be somehow possible to separate not only by months, but also by days? |
You should open a new issue to request it :) |
This implement the new virtual grid lib I created: https://www.npmjs.com/package/vue-virtual-grid
Also fast forward #125
And finally fix a bug with title rendering and the new sidebar.
Please take time to QA this to make sure there is no regression I couldn't catch.
Preview of it:
and: