Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Página de doadores #400

Open
wants to merge 6 commits into
base: develop
Choose a base branch
from

Conversation

marcmatias
Copy link
Collaborator

A proposta é exibir os doadores com um infinite-scroll.

Este PR mescla características dos PRs: #377 e #307

ezgif-7-f0f2aaaaf1ed

@marcmatias marcmatias changed the title marcmatias/donators apoiase Página de doadores Sep 9, 2020
Copy link
Collaborator

@berinhard berinhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testei localmente e o scroll infinito está rodando de boas. Pra além dos comentários, acho que vale a pena rodar um make lint para fazer o CI passar também.

core/util.py Outdated Show resolved Hide resolved
core/templates/donors.html Outdated Show resolved Hide resolved
Copy link
Collaborator

@berinhard berinhard left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A solução do solr-thumbnail funcionou de boas. As imagens ficaram um pouco pixeladas, mas acho que tá bem tranquilo.

Percebi as requisições do scroll também tomaram mais tempo para terminarem. Acredito que isso seja por conta do processamento dos thumbnails mesmo. Seria bom, depois de deployarmos isso para prod, forçar o scroll até o limite para pré-processar as imagens dos perfis existentes até o momento.

Não entendi porque o lint parece estar quebrando para 80 linhas ao invés das 120 definidas no Makefile. @turicas se não achar problemático, por mim faz o merge e acerta o lint num outro commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants