-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
chore(web): timeline bucketing by day #9935
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.
How did you test this?
I tested by running on local instance and check the console network tab as
well as seeing things are rendered correctly on the timeline and the
scrollbar
…On Sun, Jun 2, 2024 at 9:54 AM Jason Rasmussen ***@***.***> wrote:
***@***.**** commented on this pull request.
How did you test this?
—
Reply to this email directly, view it on GitHub
<#9935 (review)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGONL7SYVBGADEHYFVODLA3ZFKCM5AVCNFSM6AAAAABIUUGS7OVHI2DSMVQWIX3LMV43YUDVNRWFEZLROVSXG5CSMV3GSZLXHMZDAOJSGIYDGMRWGQ>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Nice. I was more wondering if you tested with different bucket sizes and distributions. |
I am planning to do that once I get home to use a more populated instance
…On Sun, Jun 2, 2024 at 10:50 AM Jason Rasmussen ***@***.***> wrote:
Nice. I was more wondering if you tested with different bucket sizes and
distributions.
—
Reply to this email directly, view it on GitHub
<#9935 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGONL7WRDTXFLYZQMEK6QU3ZFKI7LAVCNFSM6AAAAABIUUGS7OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBTGY4DKNRSGA>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
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.
This function still assumes buckets by month and that'll probably cause issues when uploading assets
immich/web/src/lib/stores/assets.store.ts
Line 350 in d1135db
const timeBucket = DateTime.fromISO(asset.fileCreatedAt).toUTC().startOf('month').toString(); |
…immich-app/immich into chore/web-bucketing-by-day
should it be using localDateTime rather than fileCreatedAt? In some of my external libraries the fileCreatedAt time is the time the backup was taken and not the date the image was taken. |
This PR solves the issues of bucket render of a month can make the browser crash if a certain month has more than 4000 or 5000 assets by rendering the bucket by day grouping.