Feature idea: button to load previous posts

Abierto
#24 0 comentarios 0 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
38/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

Start by locating the post query and pagination flow in the TypeScript and Vue 3 app; the issue does not name specific files or tests. Work out how the current “Results per query” setting controls fetched posts, then define how a button should request earlier posts and whether its batch size needs a setting. Done means visitors can load earlier posts incrementally without fetching an unnecessarily large result set.

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

Descripción

I just discovered Fediwall and it's great, thank you for making and sharing it!

I know we can increase the number of displayed posts by modifying "Results per query" but, would it be a good idea to also include a button at the bottom of the page, saying "load previous posts"?

If we want to set up very long Fediwalls (for example, one could use this as a substitute for JustMyToots ) so visitors are be able to go back to the first post, raising the results per query to an absurdly high number would do the trick, but it would generate a lot of unnecessary traffic.

With a button to load the previous x toots (which could be equal to the results per query number or have a dedicated setting), only the right amount of info would be loaded, depending on the amount of posts the user wants to get.

And I know this isn't the intended use of the tool, but I bet people will find interesting unexpected uses for it.

Lenguaje dominante
TypeScript
Estrellas
96
Forks
11
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

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 defnull/fediwall

Todos los issues de defnull/fediwall

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.