Skip to content

feat(recent-files): allow configuring image grouping#58908

Open
cristianscheid wants to merge 2 commits intomasterfrom
feat/1701/recent-files-img-grouping
Open

feat(recent-files): allow configuring image grouping#58908
cristianscheid wants to merge 2 commits intomasterfrom
feat/1701/recent-files-img-grouping

Conversation

@cristianscheid
Copy link
Contributor

@cristianscheid cristianscheid commented Mar 13, 2026

  • Resolves: #

Summary

New settings have been added to the Files settings page allowing users to configure image grouping in the Recent Files view.

Behaviour

  • Grouping only occurs in the Recent Files view when this option is enabled
  • When an image upload is detected, a time window opens from its timestamp with a duration defined in the settings
    • Subsequent images uploaded within that window are collected into the same group
    • If a non-image file is uploaded within the active time window, grouping is suppressed and no group is formed for that batch
    • Once the window closes or is suppressed, the next uploaded image starts a fresh time window
    • This process repeats for the entire list, producing as many groups as the data allows
  • Groups can be expanded or collapsed to show/hide individual images
  • Selecting a group selects all images within it, with indeterminate state when partially selected

Visuals

demo.webm

Checklist

AI (if applicable)

  • The content of this PR was partly or fully generated using AI

@cristianscheid
Copy link
Contributor Author

/compile

@cristianscheid cristianscheid force-pushed the feat/1701/recent-files-img-grouping branch from a9b23e1 to f08a1c9 Compare March 19, 2026 10:22
@nextcloud-command nextcloud-command force-pushed the feat/1701/recent-files-img-grouping branch from f08a1c9 to 11b45bf Compare March 19, 2026 11:25
@cristianscheid cristianscheid marked this pull request as ready for review March 19, 2026 11:40
@cristianscheid cristianscheid requested review from a team and skjnldsv as code owners March 19, 2026 11:40
@cristianscheid cristianscheid requested review from ArtificialOwl, CarlSchwan, leftybournes, nfebe and szaimen and removed request for a team March 19, 2026 11:40
@cristianscheid cristianscheid added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Mar 19, 2026
cristianscheid and others added 2 commits March 19, 2026 15:36
Signed-off-by: Cristian Scheid <cristianscheid@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
@cristianscheid cristianscheid force-pushed the feat/1701/recent-files-img-grouping branch from 11b45bf to 1da5753 Compare March 19, 2026 18:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants