Skip to content

feat: add color to progress mark and bar - #1344

Merged
qweeah merged 4 commits into
oras-project:mainfrom
qweeah:progress-color
Apr 15, 2024
Merged

qweeah merged 4 commits into
oras-project:mainfrom
qweeah:progress-color

Conversation

@qweeah

@qweeah qweeah commented Apr 15, 2024 •

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
This PR adds color to the TTY output.

  • The spinner will be renderred in light yellow
  • The done mark will be renderred in light green
  • The progress bar will be renderred in light blue

image

Please check the following list:

  • Does the affected code have corresponding tests, e.g. unit test, E2E test?
  • Does this change require a documentation update?
  • Does this introduce breaking changes that would require an announcement or bumping the major version?
  • Do all new files have an appropriate license header?

qweeah added 2 commits April 15, 2024 04:47
Signed-off-by: Billy Zha <[email protected]>
Signed-off-by: Billy Zha <[email protected]>
@codecov

codecov Bot commented Apr 15, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.48%. Comparing base (202bcf4) to head (0f6e9e2).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1344   +/-   ##
=======================================
  Coverage   84.48%   84.48%           
=======================================
  Files         103      103           
  Lines        3647     3649    +2     
=======================================
+ Hits         3081     3083    +2     
  Misses        338      338           
  Partials      228      228           

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

Signed-off-by: Billy Zha <[email protected]>

@shizhMSFT shizhMSFT left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qweeah
qweeah merged commit cc74e50 into oras-project:main Apr 15, 2024
FeynmanZhou pushed a commit to FeynmanZhou/oras that referenced this pull request May 11, 2024
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