Skip to content

Fix flickering#1379

Merged
SBoudrias merged 1 commit into
SBoudrias:masterfrom
onsclom:fix-flicker
Apr 5, 2024
Merged

Fix flickering#1379
SBoudrias merged 1 commit into
SBoudrias:masterfrom
onsclom:fix-flicker

Conversation

@onsclom

@onsclom onsclom commented Apr 5, 2024

Copy link
Copy Markdown
Contributor

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

@codecov

codecov Bot commented Apr 5, 2024

Copy link
Copy Markdown

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
Copy Markdown
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
@SBoudrias

Copy link
Copy Markdown
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.

2 participants