Feature idea: button to load previous posts

Aperta
#24 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
38/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
typescript
Ambito
frontend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
TypeScript
Stelle
96
Fork
11
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di defnull/fediwall

Tutte le issue di defnull/fediwall

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.