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

User profile loading slowly #8236

Closed
tomkolp opened this issue Oct 17, 2022 · 11 comments
Closed

User profile loading slowly #8236

tomkolp opened this issue Oct 17, 2022 · 11 comments
Assignees
Labels
enhancement Adding or requesting a new feature. good first issue Opportunity for newcoming contributors. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed.
Milestone

Comments

@tomkolp
Copy link
Contributor

tomkolp commented Oct 17, 2022

Describe the problem

Slow loading of the profile occurs in users who contribute to a huge number of components (over 2000).
https://weblate.examples/user/user_examples/

Describe the solution you'd like

You can enter pagination.

Describe alternatives you've considered

No response

Screenshots

image

Additional context

No response

@nijel nijel added enhancement Adding or requesting a new feature. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed. good first issue Opportunity for newcoming contributors. labels Oct 17, 2022
@github-actions
Copy link

This issue seems to be a good fit for newbie contributors. You are welcome to contribute to Weblate! Don't hesitate to ask any questions you would have while implementing this.

You can learn about how to get started in our contributors documentation.

@Geeyun-JY3
Copy link
Collaborator

Seems related: #7571

@gernathlub
Copy link

Hi I would like to start working on this issue if its still a valid one

@nijel
Copy link
Member

nijel commented Oct 19, 2022

Yes, the question is whether pagination is the best approach here. Maybe listing first few (50?) projects and adding a link to browse rest of them - elsewhere and paginated.

@tomkolp
Copy link
Contributor Author

tomkolp commented Oct 19, 2022

Yes, displaying the first 50, and then loading the rest after pressing the "see more" button. Ideally, the rest of the pages are loaded on the same page, there may be a new page in the end.

@Geeyun-JY3
Copy link
Collaborator

If implemented, the same logic should be applied to the Watched projects and Managed projects tabs too.

@nijel
Copy link
Member

nijel commented Oct 21, 2022

Yes, all projects listing should be affected. I'd prefer to do a complete listing on /projects/ page, it just needs to add support for filtering the projects this way.

@comradekingu
Copy link
Contributor

Would it be a bit faster if /#changes was used as a landing for user profiles? It doesn't list as much, and then has the button to view more.

@nijel nijel self-assigned this Mar 23, 2023
@nijel nijel added this to the 4.17 milestone Mar 23, 2023
nijel added a commit that referenced this issue Mar 23, 2023
Add link to get full listing on a separate page.

Issue #8236
@nijel nijel closed this as completed in cc8021e Mar 23, 2023
@weblateorg-sentry-integration

Sentry issue: WEBLATE-24N

@weblateorg-sentry-integration

Sentry issue: WEBLATE-24P

@github-actions
Copy link

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Adding or requesting a new feature. good first issue Opportunity for newcoming contributors. hacktoberfest This is suitable for Hacktoberfest. Don’t try to spam. help wanted Extra attention is needed.
Projects
None yet
Development

No branches or pull requests

5 participants