Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • G gitlab-ce
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • nexedinexedi
  • gitlab-ce
  • Repository
  • gitlab-ce
  • app
  • assets
  • javascripts
  • notes.js
Find file BlameHistoryPermalink
  • Lukas Eipert's avatar
    Fix autocomplete limitation bug · c9228f2d
    Lukas Eipert authored Feb 13, 2020
    jQuery at.js has a hard limit on how many items can be searched. Before
    it executes it's search function, it limits the array size to 1000
    items. We have been hitting this bug because we have more than a
    thousand users or labels [0][1].
    
    We are planning to replace at.js [2], but in order to fix this bug for
    now, we have forked at.js [3] and made adjustments, so that it works for
    our usecases.
    
    Performance wise this should have no big impact, as we are rendering a
    maximum of 5 results in the most cases anyway. The search on the
    javascript side is rather performant.
    
    [0]: https://gitlab.com/gitlab-org/gitlab/issues/204825
    [1]: https://gitlab.com/gitlab-org/gitlab/issues/198650
    [2]: https://gitlab.com/gitlab-org/gitlab/issues/27240
    [3]: https://gitlab.com/gitlab-org/frontend/At.js
    c9228f2d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7