Skip to content

Add a rect shape with corners having different radii #3991

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

aidinio
Copy link
Contributor

@aidinio aidinio commented Feb 19, 2025

Added a shape that can have a different radius on each corner.

Copy link

codecov bot commented Feb 19, 2025

Codecov Report

Attention: Patch coverage is 4.76190% with 20 lines in your changes missing coverage. Please review.

Project coverage is 48.59%. Comparing base (691e364) to head (b37f0e1).

Files with missing lines Patch % Lines
lib/gears/shape.lua 4.76% 20 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3991      +/-   ##
==========================================
+ Coverage   48.37%   48.59%   +0.21%     
==========================================
  Files         194      195       +1     
  Lines       22400    22447      +47     
==========================================
+ Hits        10837    10909      +72     
+ Misses      11563    11538      -25     
Files with missing lines Coverage Δ
lib/gears/shape.lua 9.76% <4.76%> (-0.29%) ⬇️

... and 9 files with indirect coverage changes

@aidinio
Copy link
Contributor Author

aidinio commented Feb 19, 2025

I'm not sure why the test failed.

@aidinio aidinio requested a review from sclu1034 February 20, 2025 07:33
@sclu1034
Copy link
Contributor

I'm not sure why the test failed.

Codecov fails because none of your lines are covered by tests and you end up below the target. That's another thing documentation examples are used for: they also feed into the testing framework.

@aidinio
Copy link
Contributor Author

aidinio commented Feb 21, 2025

I'm not sure why the test failed.

Codecov fails because none of your lines are covered by tests and you end up below the target. That's another thing documentation examples are used for: they also feed into the testing framework.

Thanks for the help. I also added tests.

@aidinio
Copy link
Contributor Author

aidinio commented May 17, 2025

@Aire-One Hi! Aren't there any other reviewers to approve my PR?

@Aire-One
Copy link
Member

Hi @aidinio, sadly most other maintainers are AWOL for some time now... Let's try to ping @awesomeWM/write-access

Copy link
Member

@actionless actionless left a comment

Choose a reason for hiding this comment

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

but coverage is not enough: #3991 (comment)

@aidinio
Copy link
Contributor Author

aidinio commented May 18, 2025

but coverage is not enough: #3991 (comment)

I've already added tests which resolve the coverage issue.

Copy link
Member

@actionless actionless left a comment

Choose a reason for hiding this comment

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

yeah, codecov stuck on previous commit: https://app.codecov.io/gh/awesomeWM/awesome/pull/3991/commits

@aidinio
Copy link
Contributor Author

aidinio commented May 27, 2025

yeah, codecov stuck on previous commit: https://app.codecov.io/gh/awesomeWM/awesome/pull/3991/commits

Can I somehow restart the codecov check? It's stuck on "Waiting for status to be reported".

@actionless
Copy link
Member

no, as CI currently broken: #3994

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.

4 participants