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

Showing dates/years on timeline scrollbar #426

Open
wein-geist opened this issue Aug 23, 2020 · 33 comments
Open

Showing dates/years on timeline scrollbar #426

wein-geist opened this issue Aug 23, 2020 · 33 comments
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request feature: timeline Related to the timeline section

Comments

@wein-geist
Copy link

Is your feature request related to a problem? Please describe.
My photo folder contains 43688 pictures. Going back more than a couple of hundred pictures is not really doable, since it would take a day to go back that far.

Describe the solution you'd like
I propose a real timeline as or next to the scrolling bar. Kind of like Plex but using the full height for spreading out the dates or like Google Photos and probably some others as well,

Cherry on top: if you drag the right-hand side vertical scrollbar to the left, it zooms in allowing for a more precise positioning. Or maybe when clicking it holding ctrl it zooms in to the range of a year.

Describe alternatives you've considered
Album view. Which makes me never ever use the timeline.

Additional context
I'm aware that this could be challenging given the way pictures are loaded step by step. I assume that somehow the total length of the page would need to be known beforhand. The upside is, that this concept could be applied to everything, not just dates, but alphabetical and size sorting too.

This feature request is part of the big picture of my Photos vision discussion at the forum.

@wein-geist wein-geist added 0. Needs triage Pending approval or rejection. This issue is pending approval. enhancement New feature or request labels Aug 23, 2020
@skjnldsv skjnldsv added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending approval or rejection. This issue is pending approval. labels Aug 24, 2020
@skjnldsv

This comment has been minimized.

@wein-geist

This comment has been minimized.

@mattis75
Copy link

mattis75 commented Sep 7, 2020

I value the photo app and would also appreciate a possibility to view and scroll between dates in the slideshow view. This would be great and make the app far more usable. regards. matthias

@Mikescops
Copy link
Member

This is a very complex feature given the Dav backend, we would have to pre-process all existing image in the background to create "groups" of photos by date to be able to know how much data we have per day/month/year.

@skjnldsv
Copy link
Member

This is a very complex feature given the Dav backend, we would have to pre-process all existing image in the background to create "groups" of photos by date to be able to know how much data we have per day/month/year.

Unless we take just pre-defined ranges. Like for the last year we take every month and then every year
Then if you click we just show the closest 🤷

@Mikescops
Copy link
Member

Could be completely irelevant if we don't have an idea of what the actual data is.

@da-anda
Copy link

da-anda commented Oct 13, 2020

do frontend applications have to use the DAV backends? Just curious if there is some rule for this (I am new to NC)

@skjnldsv
Copy link
Member

do frontend applications have to use the DAV backends? Just curious if there is some rule for this (I am new to NC)

The dav backend is already there, so it's simpler if we all use this.
Otherwise we'd have to implement our own endpoint and that can get complicated. I am afraid we'd end up with too many custom endpoints for apps.

@darrepac
Copy link

My report has been flaged as duplicated of this report, so I copy it here:
The new timeline view of latest Beta is very nice and permits to have a similar user experience than Google Photos or others.
Yet there are an issue when scrolling: it takes time to load next photos and it makes it impossible to jump from exemple from now to 5 years ago very quickly as it is possible on google photos and others.
May-be other services are generating a global date index in order to quickly jump at the right place (?)

@Mikescops
Copy link
Member

Yes it's the case, they have an index of pictures by range of dates. For Google Photos this comes also with a pre-computed rendering size so that the scroll feels "natural".
Given Nextcloud backend it's not that easy to compete with that.

Considering loading speed, this is related to your machine and the fact that you have or not pre-rendered thumbnails.
I do agree there is work to invest on jumping to old dates in order to speedup the browsing experience.

@JamesBelchamber
Copy link

So, for anyone else's reference, this is a good long read on how Google Photos does it's thing (from one of the developers).

I really would like this as a feature so I wanted to knock about some ideas (with a view to possibly contributing, or persuading someone else in my network to 😅). Google Photos is really lovely - but as @Mikescops points out, they have some luxuries Nextcloud does not (or, at least, without added complexity) - as well as all that AdSense revenue 💵.

I wonder if we can approximate this, not with an actual scrollbar but with a calendar (or a meter along a vertical edge that approximates a calendar) - and no attempt to even try and make the meter proportional to the amount of photos on each date. The calendar "length" is calculated with a SEARCH request on getlastmodified - but ascending, giving us the oldest photo in the collection. When part of the calendar is clicked on, it refreshes the page with the standard SEARCH request - but for files that were last modified before the selected date. It then allows you to scroll down the timeline as normal.

This solution would have one obvious flaw, which is that you can't scroll up - but honestly, you'd have 90% of what people actually want from this feature (being able to jump to a point in the timeline) without needing any precomputed data.

(Feel free to shoot me down on this one - I might be missing something obvious, I'm just trying to come up with an approximate solution that fits within the limitations of WebDAV)

@andrzej-r
Copy link

Having a "scrubbable view" mentioned in the article with a preallocated page size for all the photos would be great. At least users would be able to scroll down roughly to a desired area. I think (I may be wrong) that a scrubbable or a paginated view is also a prerequisite for any kind of a timeline or a calendar widget. It would be awkward to implement them with an infinite-scroll view.

I'm perfectly fine with a square pitch of photo images - all that variable aspect ratio stuff the article spends a lot of time explaining is not very useful in practice and complicates the layout considerably. I'd rather trade this feature for simplicity and speed.

@darrepac
Copy link

I'm perfectly fine with a square pitch of photo images - all that variable aspect ratio stuff the article spends a lot of time explaining is not very useful in practice and complicates the layout considerably. I'd rather trade this feature for simplicity and speed.

I do agree

@galandilias
Copy link

How to sponsor this ticket? I am really interested in the implementation and willing to put some money for it.

@darrepac
Copy link

Hello,

what is the status of this issue? is the implementation planned? thx

@blacklight
Copy link

blacklight commented Jan 21, 2022

The scrollable timeline would be amazing, but difficult to implement given the DAV constraints.

The calendar selector sounds like a good trade-off and, as mentioned by @JamesBelchamber, it's even relatively trivial to implement with a filter on the last modified date.

Given that this issue has been open for one year and a half, it'd be interesting to know if it has been prioritized - and, if not, what are the objections around a datetime picker.

Yes, competing with Google is difficult. But there's a baseline of features that any modern photos app is supposed to have in order to be usable. NextCloud has already pushed back on having something as simple as a folder filter "because of WebDAV". There's a pushback also on datetime filters "because of WebDAV". After you give up on too many basic features "because of WebDAV" (and don't even make an effort to think of how to circumvent those limitations), you just end up with a photos app that provides a 15-year-old user experience and nobody wants to use.

@svenb1234
Copy link

svenb1234 commented Jan 22, 2022

implement with a filter on the last modified date.

For photos this is useless. Is there any other photo app out there which uses file system's modified date instead of date taken?

@darrepac

This comment was marked as off-topic.

@nZeus

This comment was marked as off-topic.

@invario
Copy link

invario commented Oct 15, 2022

I check on the progress of this periodically with great interest.

In the meantime, what I've discovered as an acceptable alternate on my Android phone is to use an app called File Manager+. I add in my server as a Cloud location, change the view settings and end up with this:
Screenshot_20221015_163102

Note this is in a folder with 9820 files. The folder loads VERY fast. And I am able to scroll to any point from top to bottom (sorted reverse Modified Date) instantly and with thumbnails (thanks to Preview Generator)

If File Manager+ can do this, I'm not understanding why apps or the web interface can't.

Granted, this is using modified date, not photo/video EXIF data but surely that's better than nothing...?

@invario
Copy link

invario commented Oct 15, 2022

Here's a video demonstrating how fast this can go. This is with the settings for 'details' with large thumbnail.

Screen_Recording_20221015_165044_File.Manager.+_1.mp4

@invario
Copy link

invario commented Oct 16, 2022

Here's an app on Android that does exactly what Google photos does.
https://play.google.com/store/apps/details?id=com.nkming.nc_photos

@kylew01
Copy link

kylew01 commented Oct 28, 2022

I too would love to see this implemented. Scrolling through a few hundred thousand photos on NC isn't even practical at all, but it's effortless in Google Photos given you can jump right into a year/month. The current implementation is even less useful on the iPhone app.

@lbesnard
Copy link

lbesnard commented Nov 3, 2022

Here's an app on Android that does exactly what Google photos does.
https://play.google.com/store/apps/details?id=com.nkming.nc_photos

pretty good stuff

@keesfluitman
Copy link

Here's an app on Android that does exactly what Google photos does. https://play.google.com/store/apps/details?id=com.nkming.nc_photos

This is actually exactly what I needed. And also what Nextcloud Photos app needs on browsers. Why is this not integrated within the android app and dashboard? It uses the nextcloud's previews, so has all the potential for a good google photos alternative.

@galandilias
Copy link

Well, as the app is paid I assume that it will not be incorporated soon into NC android client... And yes - it is perfectly matching my requirements as well - I would only add notifications as on Google from time to time about the day in the past

@keesfluitman
Copy link

I think it's normal to pay for good working software imho. Software like Nextcloud (or owncloud) allows me to locally host my own cloud for my family and friends. An app like this, running locally, would be well worth my money. Having all photos on my server, plus a properly configurable photo viewer is worth millions. If only I could configure the android/apple app Photos to connect to my server and use nextcloud's preview files and read the exif data. it's such a shame people don't care about all their data being in the cloud.

@invario
Copy link

invario commented Nov 13, 2022

Well, as the app is paid I assume that it will not be incorporated soon into NC android client... And yes - it is perfectly matching my requirements as well - I would only add notifications as on Google from time to time about the day in the past

It's not a paid app. There is a fully functional ad supported free version which I linked above. I paid for it because that's how much I valued it and because I wanted to encourage and support its developer.

I would gladly do the same for this one if the functionality were ever there but in 2 years I don't recall it ever even working. I have folders containing thousands of photos/videos that is inaccessible in this app because it simply can't process it correctly. I and others have submitted numerous bug reports to no avail and obviously it's not a priority for anyone to look at or fix.

@keesfluitman
Copy link

Well, as the app is paid I assume that it will not be incorporated soon into NC android client... And yes - it is perfectly matching my requirements as well - I would only add notifications as on Google from time to time about the day in the past

It's not a paid app. There is a fully functional ad supported free version which I linked above. I paid for it because that's how much I valued it and because I wanted to encourage and support its developer.

I would gladly do the same for this one if the functionality were ever there but in 2 years I don't recall it ever even working. I have folders containing thousands of photos/videos that is inaccessible in this app because it simply can't process it correctly. I and others have submitted numerous bug reports to no avail and obviously it's not a priority for anyone to look at or fix.

Ye, they did explain that it can't be added that easily, but requires a full rewrite. Lots of work...So that's why I guess they stick to this format, untill it's actually worth the investment. Imho, the photos app looks nicer now, but I still can't scroll fast or jump to certain dates.
So still no: Timeline, no Exif....

@keesfluitman
Copy link

Well, as the app is paid I assume that it will not be incorporated soon into NC android client... And yes - it is perfectly matching my requirements as well - I would only add notifications as on Google from time to time about the day in the past

It's not a paid app. There is a fully functional ad supported free version which I linked above. I paid for it because that's how much I valued it and because I wanted to encourage and support its developer.

I would gladly do the same for this one if the functionality were ever there but in 2 years I don't recall it ever even working. I have folders containing thousands of photos/videos that is inaccessible in this app because it simply can't process it correctly. I and others have submitted numerous bug reports to no avail and obviously it's not a priority for anyone to look at or fix.

Just as a reminder. I found a great solution with mentioned App + the Nextcloud App Memories. This gives me all I need.

@invario
Copy link

invario commented Nov 23, 2022

Well, as the app is paid I assume that it will not be incorporated soon into NC android client... And yes - it is perfectly matching my requirements as well - I would only add notifications as on Google from time to time about the day in the past

It's not a paid app. There is a fully functional ad supported free version which I linked above. I paid for it because that's how much I valued it and because I wanted to encourage and support its developer.
I would gladly do the same for this one if the functionality were ever there but in 2 years I don't recall it ever even working. I have folders containing thousands of photos/videos that is inaccessible in this app because it simply can't process it correctly. I and others have submitted numerous bug reports to no avail and obviously it's not a priority for anyone to look at or fix.

Just as a reminder. I found a great solution with mentioned App + the Nextcloud App Memories. This gives me all I need.

Memories app:
https://github.com/pulsejet/memories

Just installed the Memories app and in the process of indexing everything. This looks very promising!! Thanks!

@kylew01
Copy link

kylew01 commented Nov 28, 2022

I found Memories on Nextcloud to tick all of my checkboxes as well (though it still needs to mature some). I wish Nextcloud would just use that as the default photo experience.

@joshtrichards joshtrichards added the feature: timeline Related to the timeline section label Oct 7, 2023
@JanisPlayer
Copy link

I just looked at how the app works.
And actually, it's implementable without tearing down the entire app.
The app requests data as XML via WebDav (/remote.php/dav/).
All the necessary information is here, such as the date, size, and name.
So, you would simply need to create a timeline with this data (date and count), reserve a point for each day, and only load the images when you reach that point on the timeline.
The images must then be unloaded and replaced when you continue scrolling.
It requires a timeline on the right to navigate through the images.
And on the left, there's just a viewer that loads 20 images at the point where you are on the timeline.
The advantage is that Nextcloud no longer hangs, takes less time to load, and generally requires fewer resources.
However, a similar approach to processing data might also be implemented in the file browser, which has exactly the same problem.
It loads data inefficiently, which only works with hundreds of files, not thousands.
Maybe a developer can write the files that are interesting for such changes.
So maybe another developer can make a PR and improve this app so that it can cope with more images and is usable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1. to develop Accepted and waiting to be taken care of enhancement New feature or request feature: timeline Related to the timeline section
Projects
None yet
Development

No branches or pull requests