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

Improve dashboard's repo list performance #18963

Merged
merged 18 commits into from
Apr 26, 2022

Commits on Mar 1, 2022

  1. Improve dashboard's repo list performance

    - Avoid a lot of database lookups for all the repo's, by adding a
    undocumented "minimal" mode for this specific task, which returns the
    data that's only needed by this list which doesn't require any database
    lookups.
    - Makes fetching these list faster.
    - Less CPU overhead when a user visits home page.
    Gusted committed Mar 1, 2022
    Configuration menu
    Copy the full SHA
    90492d2 View commit details
    Browse the repository at this point in the history

Commits on Mar 2, 2022

  1. Refactor javascript code + fix Fork icon

    - Use async in the function so we can use `await`.
    - Remove `archivedFilter` check for count, as it doesn't make sense to
      show the count of repos when you can't even see them(as they are
      filited away).
    Gusted committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    22acfd6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    931de98 View commit details
    Browse the repository at this point in the history
  3. Add count_only

    Gusted committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    c6706e6 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Merge branch 'main' into improve-dashboard-list

    Gusted committed Apr 11, 2022
    Configuration menu
    Copy the full SHA
    964527b View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Remove uncessary code

    Gusted committed Apr 12, 2022
    Configuration menu
    Copy the full SHA
    53199d4 View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. Improve comment

    Co-authored-by: delvh <dev.lh@web.de>
    Gusted and delvh authored Apr 14, 2022
    Configuration menu
    Copy the full SHA
    47926f5 View commit details
    Browse the repository at this point in the history
  2. Update web_src/js/components/DashboardRepoList.js

    Co-authored-by: delvh <dev.lh@web.de>
    Gusted and delvh authored Apr 14, 2022
    Configuration menu
    Copy the full SHA
    1b42dd2 View commit details
    Browse the repository at this point in the history

Commits on Apr 15, 2022

  1. Update web_src/js/components/DashboardRepoList.js

    Co-authored-by: delvh <dev.lh@web.de>
    Gusted and delvh authored Apr 15, 2022
    Configuration menu
    Copy the full SHA
    1444f06 View commit details
    Browse the repository at this point in the history
  2. By default apply minimal mode

    Gusted committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    19f811f View commit details
    Browse the repository at this point in the history
  3. Remove minimal paramater

    Gusted committed Apr 15, 2022
    Configuration menu
    Copy the full SHA
    3b67a8c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7319f8d View commit details
    Browse the repository at this point in the history

Commits on Apr 25, 2022

  1. Refactor count header

    Gusted committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    3b91ad4 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into improve-dashboard-list

    Gusted committed Apr 25, 2022
    Configuration menu
    Copy the full SHA
    84bf230 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2022

  1. Configuration menu
    Copy the full SHA
    cb4f7d2 View commit details
    Browse the repository at this point in the history
  2. Simplify init

    Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
    Gusted and wxiaoguang authored Apr 26, 2022
    Configuration menu
    Copy the full SHA
    fab1d89 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7594040 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b0ded7f View commit details
    Browse the repository at this point in the history