-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add configure orientation for devcard #406
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution. Please do not include the dist/index.js and the yarn.lock changes.
…ctively feat: use enum for DevCardType to improve type safety and readability feat: update devcardURL function to use DevCardType enum and default to Vertical feat: update action.yml description for type input to reflect available options Vertical and Horizontal
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, looks great! 👍
@kopancek Sorry, I just discovered the error. Please wait for me to update a bit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, tests are failing now, because of the default value. Also might make sense to fix the README.md
…n to use "default" and "wide" values instead of "Vertical" and "Horizontal" fix(action.yml): update input description for type to reflect the new "default" and "wide" values for devcard orientation configuration.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, will merge once @kopancek approves
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, will merge once @kopancek approves
Add configure orientation for devcard
default
: Vertical (Default)wide
: HorizontalExample usage:
Hope my contribution will be accepted. Thank you for the great Action!