Skip to content

Added transformation, e-shadow, e-gradient parameter #84

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

Merged
merged 23 commits into from
Jan 30, 2024
Merged

Conversation

ankur-dwivedi
Copy link

No description provided.

Copy link

codecov bot commented Jan 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (1c2eed5) 95.54% compared to head (f0d610c) 95.98%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #84      +/-   ##
==========================================
+ Coverage   95.54%   95.98%   +0.43%     
==========================================
  Files           9        9              
  Lines         202      224      +22     
  Branches       50       59       +9     
==========================================
+ Hits          193      215      +22     
  Misses          1        1              
  Partials        8        8              

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

Copy link
Member

@ahnv ahnv left a comment

Choose a reason for hiding this comment

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

LGTM

effectShadow: "e-shadow",

/**
* @link https://docs.imagekit.io/features/image-transformations/image-enhancement-and-color-manipulation.md#gradient-e-gradient
Copy link
Collaborator

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

done

test/upload.js Outdated
await sleep();
var errRes = {
help: "",
message: "Invalid transformation parameter.",
Copy link
Collaborator

@imagekitio imagekitio Jan 30, 2024

Choose a reason for hiding this comment

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

Error message is not helpful to user. We can add a valid example like we do in our transformation parser. Append a generic valid example sentence in the end.

Copy link
Author

Choose a reason for hiding this comment

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

done

@imagekitio imagekitio merged commit 22af964 into master Jan 30, 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.

3 participants