-
-
Notifications
You must be signed in to change notification settings - Fork 62
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 'On this day' #937
Conversation
449ad34
to
07cc4a9
Compare
Yeah, freaking cool! Waited so long for this!
|
This comment has been minimized.
This comment has been minimized.
Merry Christmas 🎄 🎅
We can definitely discuss the date range. I'm not particular about this.
Not particular about the name either. :)
I'm more in favor of a dashboard widget, personally :) // cc @nextcloud/designers |
Good idea, it's better with a dashboard widget |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
? `<d:or>${Array(20).fill(1).map((_, years) => `<d:and> | ||
<d:gt> | ||
<d:prop> | ||
<d:getlastmodified /> |
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.
the behavior will be weird, cause lastmodified is impacted when you tag an image for instance, so it won't be exactly "on this day"
but I guess that's the best we can do with Dav
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.
Once nextcloud/server#30366 is merged this could be changed to creation_time
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.
ah interesting, I always thought this would cause performance issues
@skjnldsv am I wrong?
@marcelklehr |
Nope. |
Awesome @marcelklehr! So design-wise, I was thinking it could be in the first row of "Your photos", similarly to the recommendations in Files, or how we sort favorites up top. But after a very quick mock-up, I’m actually not sure anymore. :D I’d say it’s good how you did it – just thoughts about naming and timespan:
|
Thanks for the review!
Fixed
I've changed it now to also include 3 days before and 3 days after "today". "Memories" is a bit too generic, IMO, "Through the years" is nice but lacks the "current date" aspect. So far, I like "On this day" best, even though it may not always display photos from exactly the same date.
My bad. Fixed now :) New screenshot: |
First of all thank you very much, cool feature. A long term suggestion: once nextcloud/server#30416 will be included, some other possibilities could be considered. For example using the geo data and showing the photo farthest from your usual location |
Nice @marcelklehr! :) Only one detail, the heading bolding could be improved to what I mentioned:
Specifically the "x years ago" part bold, nd the "Month 20xx" part not bold. Additionally to what I mentioned before, for spacing there could be a middle dot inbetween with 2 spaces to either side. |
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 awesome! :) Great work @marcelklehr
/compile amend /js |
006106a
to
2e9cd2f
Compare
🤔 @skjnldsv Did I do something wrong? |
No, I had to merge another big PR bumping dependencies, you need to rebase and drop js changes. |
Signed-off-by: Marcel Klehr <[email protected]>
2e9cd2f
to
2a2a06d
Compare
Rebased |
Great feature :) what do you think about implementation of a plugin to dashboard showing a preview from 'on this day'? I would love it as this is my main landing page when working with Nextcloud :) |
Could you open an issue about this? :) |
there you go: |
It seems to be pushed to "master", but is there an additional step to enable it in the standard photos-app within NC 23.0.2? |
It will be released with the next feature release, this is 24. |
got it, thanks! |
fixes #179