Skip to content

feat: recommend recently uploaded files - #1213

Open
skjnldsv wants to merge 2 commits into
feature/weighted-scorefrom
feature/recently-uploaded
Open

skjnldsv wants to merge 2 commits into
feature/weighted-scorefrom
feature/recently-uploaded

Conversation

@skjnldsv

Copy link
Copy Markdown
Member

A file uploaded today can carry an mtime from weeks ago, so it looked old or didn't show at all. When a file's upload is newer than its mtime, it's now recommended as "Uploaded …", at its upload time, with the same 0.1 weight as edited.

Relates to #888. Stacked on #1209. Needs nextcloud/server#65998 for uploads with an old mtime to come through getRecent() at all.

Tested on a 36 instance with that server change applied: a file uploaded with a 40 days old mtime shows as uploaded a second ago.

👾 This pull request was assisted by Claude Code, commits carry an Assisted-by trailer.

An upload keeps the mtime it had on the uploader's device, so a file
uploaded today could look weeks old. When the upload is newer than the
mtime, recommend the file as uploaded, at its upload time.

Assisted-by: ClaudeCode:claude-opus-5-5
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
Signed-off-by: John Molakvoæ <14975046+skjnldsv@users.noreply.github.com>
@skjnldsv skjnldsv self-assigned this Oct 29, 2026
@skjnldsv skjnldsv added 2. developing enhancement New feature or request labels Oct 29, 2026
@skjnldsv
skjnldsv added this pull request to stack #1210 October 29, 2026 20:26
@skjnldsv
skjnldsv requested a review from susnux October 29, 2026 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant