/admin/freshmen Times Out
@VivianNK ci sta già lavorando.
Dal 2/4/2021.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
The /admin/freshmen route times out when there are lots of freshmen (~300 in prod, much more in dev). It works running locally with only two freshmen, so the issue seems to be tied to the amount of data that's being processed and rendered.
My guess is that pagination or lazy loading would solve this.
For pagination, I recommend the flask sqlalchemy paginate function.
Lazy loading is a little more complex, and might need api changes. TL;DR: rather than loading up all the freshmen, then rendering the page, the lazy load version would defer the data loading till after the page is rendered, so the user could interact with the page while it's still being populated. (I'm probably not using the term quite correctly here, but it's close enough to the idea)
- Lingua principale
- Python
- Stelle
- 25
- Fork
- 33
- Merge medio
- 21g 1h
- PR unite (30g)
- 1
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ComputerScienceHouse/packet
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
ComputerScienceHouse/packet#413 ·
-
Upgrade to bootstrap 5 Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 38/100
ComputerScienceHouse/packet#411 ·
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 30/100
ComputerScienceHouse/packet#408 ·
-
React Frontend? Apertaux enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ComputerScienceHouse/packet#404 ·
-
ux enhancement
Difficoltà 5/5 Più di una settimana Idoneità per principianti 25/100
ComputerScienceHouse/packet#403 ·
Tutte le issue di ComputerScienceHouse/packet
Issue simili
-
bug confirmed issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
open-webui/open-webui#30750 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
OpenwaterHealth/openmotion-bloodflow-app#604 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100