Skip to content

Set minimum times for transient toolbar messages#2009

Merged
rolandwalker merged 1 commit into
mainfrom
RW/minimum-time-for-transient-messages
Jul 11, 2026
Merged

Set minimum times for transient toolbar messages#2009
rolandwalker merged 1 commit into
mainfrom
RW/minimum-time-for-transient-messages

Conversation

@rolandwalker

Copy link
Copy Markdown
Contributor

Description

Transient toolbar messages, such as "Prefetching schemas", could appear and disappear so quickly as to be impossible to read, even for a fast reader. Then there is no point in presenting feedback at all.

Here we set minimum times for the transient messages: two seconds for both "Prefetching schemas" and "Refreshing completions".

It is a shame that it takes as much code/complexity as it does to accomplish this one small thing.

Checklist

  • I added this contribution to the changelog.md file.
  • I added my name to the AUTHORS file (or it's already there).
  • To lint and format the code, I ran
    uv run ruff check && uv run ruff format && uv run mypy --install-types .

Transient toolbar messages, such as "Prefetching schemas", could
appear and disappear so quickly as to be impossible to read, even for
a fast reader.  Then there is no point in presenting feedback at all.

Here we set minimum times for the transient messages: two seconds for
both "Prefetching schemas" and "Refreshing completions".

It is a shame that it takes as much code/complexity as it does to
accomplish this one small thing.
@rolandwalker rolandwalker self-assigned this Jul 11, 2026
@rolandwalker rolandwalker merged commit d21be60 into main Jul 11, 2026
11 checks passed
@rolandwalker rolandwalker deleted the RW/minimum-time-for-transient-messages branch July 11, 2026 18:42
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.

1 participant