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 flickering #1379

Merged
merged 1 commit into from
Apr 5, 2024
Merged

Fix flickering #1379

merged 1 commit into from
Apr 5, 2024

Conversation

onsclom
Copy link
Contributor

@onsclom onsclom commented Apr 5, 2024

Various UI components would flicker upon being re-rendered. This fixes that by delaying screen clearing until necessary.

Before

Screen.Recording.2024-04-04.at.5.07.15.PM.mov

After

Screen.Recording.2024-04-04.at.5.09.26.PM.mov

Copy link

codecov bot commented Apr 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.09%. Comparing base (0dfa6bd) to head (1b3a263).
Report is 33 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1379      +/-   ##
==========================================
+ Coverage   94.46%   97.09%   +2.62%     
==========================================
  Files          53       53              
  Lines        4556     4605      +49     
  Branches      772      799      +27     
==========================================
+ Hits         4304     4471     +167     
+ Misses        247      132     -115     
+ Partials        5        2       -3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@SBoudrias
Copy link
Owner

Ahh nice! This is a very clever find 👏🏻

The flickering was driving me crazy, and I thought it was a complex issue #1127. Thanks!!

@SBoudrias SBoudrias merged commit 9e8ca03 into SBoudrias:master Apr 5, 2024
8 checks passed
@SBoudrias
Copy link
Owner

Latest release include your fix - thanks again!

onsclom added a commit to vercel/vercel that referenced this pull request Apr 5, 2024
These updates include SBoudrias/Inquirer.js#1379 which fixes flickering
onsclom added a commit to vercel/vercel that referenced this pull request Apr 5, 2024
These updates include SBoudrias/Inquirer.js#1379 which fixes flickering
kodiakhq bot pushed a commit to vercel/vercel that referenced this pull request Apr 5, 2024
Various UI components would flicker upon re-rendering in unoptimized terminals as OSX's stock terminal app. This change bumps these components to include [this fix](SBoudrias/Inquirer.js#1379).

## Before
https://github.com/vercel/vercel/assets/8485687/352ce43e-9a01-4290-a4c8-8826aebf859a

## After
https://github.com/vercel/vercel/assets/8485687/9e2eb071-0f7c-4d5a-adf6-735b30bcc294
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