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

fix: decrease chat panel creation debounce time #2115

Merged
merged 2 commits into from
Dec 5, 2023

Conversation

abeatrix
Copy link
Contributor

@abeatrix abeatrix commented Dec 5, 2023

The debounce time for creating new chat panels was decreased from 1000ms to 250ms. This should make the chat panels feel more responsive when opening multiple in quick succession.

We previously defaulted it to 1000ms because of some start-up issues that caused loading issues on panel creation time, but recent improvement allows us to lower this debouce time.

Test plan

Try opening multiple windows to confirm the windows can still be started up successfully.

Screen.Recording.2023-12-05.at.9.56.13.PM.mov

@abeatrix abeatrix requested review from toolmantim, eseliger and a team December 5, 2023 13:57
@abeatrix abeatrix merged commit 7eb46ac into main Dec 5, 2023
14 checks passed
@abeatrix abeatrix deleted the bee/fix-panel-creation-time branch December 5, 2023 16:05
toolmantim added a commit that referenced this pull request Dec 6, 2023
)

Follow up to #2115, this ensures we trigger chat panel creation and
restoration straight away (on the leading edge of the timeout), and
reduces the restoration timeout to match.

## Test plan

- Open new chat
- Open existing chat
- Reload window and ensure restores correct
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.

None yet

2 participants