Exponential weighting when randomising the photos to display

Abierto
#545 1 comentario 2 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
csharp
Área
backend

Línea de trabajo

The payload names no files or tests. Start by finding the existing image-selection code that applies a strict 'last X days' cutoff in the C# backend, then read how the random pick is made. Done means an optional exponential-weighting mode that gives recent photos higher selection probability while older ones stay possible. The decay parameter and its configuration are not specified, so confirm the design with maintainers first.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

enhancement
Description

Thanks for the great app!

I have some feedback regarding the image selection feature. Currently, selecting images using a strict cut-off date (e.g., 'the last X days') feels too rigid. While I mostly want to see recent images, I’d occasionally like to see photos from further back in my history as well.

I propose adding an optional 'exponential weighting' feature. This would assign a higher probability of selection to recent images, with the probability gradually decreasing for older images, rather than excluding them entirely.

Use Case

Provides more control over selected variety, resulting in more interesting image rotation.

Details

No response

Pre-Submission Checklist
  • This is a feature request and not a bug report

  • I have checked for related issues and checked the documentation

Lenguaje dominante
C#
Estrellas
2.4k
Forks
121
Merge medio
18 d 20 h
PR fusionados (30 d)
1

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de immichFrame/ImmichFrame

Todos los issues de immichFrame/ImmichFrame

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.