Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Kate Kate
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 20
    • Issues 20
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 7
    • Merge requests 7
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Utilities
  • KateKate
  • Merge requests
  • !85

Merged
Created May 23, 2020 by aa bb@aabbContributor

Preview addon: Better update delay logic.

  • Overview 1
  • Commits 1
  • Changes 2

While typing, update very 1000ms (slow), but after stopping typing, update after 150ms (fast). Then, while typing, the preview is updated only slowly, just so that one sees that everything is working from the corner of one's eye. But when stopping typing, the preview is updated quickly so that the preview has the newest version quickly.

This should roughly match what was suggested in the source code comment as a possible improvement.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: preview_update_delay