-
Notifications
You must be signed in to change notification settings - Fork 40
feat: set fields in adjustment form #5864
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
feat: set fields in adjustment form #5864
Conversation
Signed-off-by: yuda <yuda@megazone.com>
Signed-off-by: yuda <yuda@megazone.com>
Signed-off-by: yuda <yuda@megazone.com>
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 4 Skipped Deployments
|
|
@yuda110 is attempting to deploy a commit to the cloudforet Team on Vercel. A member of the Team first needs to authorize it. |
|
🎉 @seungyeoneeee has been randomly selected as the reviewer! Please review. 🙏 |
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.
Pull Request Overview
This PR introduces a new "input-left" slot for the text-input component and extends the adjustments form to support provider selection and new adjustment types while updating corresponding translations.
- Added new slot configuration and rendering for "input-left" in text-input components and related stories.
- Updated translations and language pack entries for new fixed/percentage adjustment types.
- Enhanced the adjustments form with provider and adjustment dropdowns along with symbolic representations for amount fields.
Reviewed Changes
Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/mirinae/src/controls/input/text-input/story-helper.ts | Added inputLeftSlot definition with documentation for the new slot. |
| packages/mirinae/src/controls/input/text-input/PTextInput.vue | Added slot rendering for input-left and updated style selectors. |
| packages/mirinae/src/controls/input/text-input/PTextInput.stories.ts | Updated story to showcase the new input-left slot functionality. |
| packages/language-pack/*.json & console-translation-2.8.babel | Added translation entries for new fixed and percentage adjustment types. |
| apps/web/src/services/cost-explorer/components/AdvancedSettingsAdjustmentsForm.vue | Enhanced the adjustments form with new provider and adjustment dropdowns and introduced symbolic display for amount fields. |
| description: 'Slot on the left of the input.', | ||
| table: { | ||
| type: { | ||
| summary: null, |
Copilot
AI
May 20, 2025
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.
[nitpick] Consider providing a brief, descriptive summary for the inputLeftSlot type instead of null to improve component documentation.
| width="1rem" | ||
| height="1rem" | ||
| /> | ||
| <p-i v-if="dropdownItem && dropdownItem.icon" |
Copilot
AI
May 20, 2025
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.
[nitpick] If 'dropdownItem.icon' is intended for display, ensure that provider menu item objects include an 'icon' property or consider removing this conditional block to avoid confusion.
seungyeoneeee
left a comment
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~!! 🌚
* feat: add `input-left` slot to PTextInput Signed-off-by: yuda <yuda@megazone.com> * feat: set provider, adjustment select dropdown Signed-off-by: yuda <yuda@megazone.com> * chore: update language Signed-off-by: yuda <yuda@megazone.com> --------- Signed-off-by: yuda <yuda@megazone.com>
* feat: add `input-left` slot to PTextInput Signed-off-by: yuda <yuda@megazone.com> * feat: set provider, adjustment select dropdown Signed-off-by: yuda <yuda@megazone.com> * chore: update language Signed-off-by: yuda <yuda@megazone.com> --------- Signed-off-by: yuda <yuda@megazone.com>
* feat: add `input-left` slot to PTextInput Signed-off-by: yuda <yuda@megazone.com> * feat: set provider, adjustment select dropdown Signed-off-by: yuda <yuda@megazone.com> * chore: update language Signed-off-by: yuda <yuda@megazone.com> --------- Signed-off-by: yuda <yuda@megazone.com>
* feat: add `input-left` slot to PTextInput Signed-off-by: yuda <yuda@megazone.com> * feat: set provider, adjustment select dropdown Signed-off-by: yuda <yuda@megazone.com> * chore: update language Signed-off-by: yuda <yuda@megazone.com> --------- Signed-off-by: yuda <yuda@megazone.com>
Skip Review (optional)
style,chore,ci,test,docs)Description (optional)
feat: add

input-leftslot to PTextInputfeat: set provider, adjustment select dropdown
