/admin/freshmen Times Out
@VivianNK y travaille déjà.
Depuis le 2/4/2021.
Évaluation
Cette issue n'a pas encore été évaluée.
Description
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)
- Langage dominant
- Python
- Étoiles
- 25
- Forks
- 33
- Merge moyen
- 21 j 1 h
- PR mergées (30 j)
- 1
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de ComputerScienceHouse/packet
-
Difficulté 3/5 1-2 jours Accessibilité débutants 35/100
ComputerScienceHouse/packet#413 ·
-
Upgrade to bootstrap 5 Ouverte
Difficulté 4/5 3-5 jours Accessibilité débutants 38/100
ComputerScienceHouse/packet#411 ·
-
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 30/100
ComputerScienceHouse/packet#408 ·
-
React Frontend? Ouverteux enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
ComputerScienceHouse/packet#404 ·
-
ux enhancement
Difficulté 5/5 Plus d'une semaine Accessibilité débutants 25/100
ComputerScienceHouse/packet#403 ·
Toutes les issues de ComputerScienceHouse/packet
Issues similaires
-
[Bug] reef-hermes tells me to resume with hermes --resume, which does not work from my shell Ouvertearea: harness bug status: needs-triage
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Human-Agent-Society/reef#625 ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 70/100
-
Difficulté 1/5 Moins d'une heure Accessibilité débutants 80/100
learningequality/kolibri#15351 · 2 commentaires ·
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
-
Name consistency Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
eellak/triplestore#65 · 1 commentaire ·