Skip to content

Conversation

@yuda110
Copy link
Member

@yuda110 yuda110 commented May 20, 2025

Skip Review (optional)

  • Minor changes that don't affect the functionality (e.g. style, chore, ci, test, docs)
  • Previously reviewed in feature branch, further review is not mandatory
  • Self-merge allowed for solo developers or urgent changes

Description (optional)

  1. feat: add input-left slot to PTextInput
    스크린샷 2025-05-20 오전 11 50 00

  2. feat: set provider, adjustment select dropdown
    스크린샷 2025-05-20 오전 11 50 10

yuda110 added 3 commits May 20, 2025 11:47
Signed-off-by: yuda <yuda@megazone.com>
Signed-off-by: yuda <yuda@megazone.com>
Signed-off-by: yuda <yuda@megazone.com>
@yuda110 yuda110 requested a review from Copilot May 20, 2025 02:51
@vercel
Copy link

vercel bot commented May 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

4 Skipped Deployments
Name Status Preview Comments Updated (UTC)
console ⬜️ Ignored (Inspect) Visit Preview May 20, 2025 2:54am
dashboard ⬜️ Ignored (Inspect) Visit Preview May 20, 2025 2:54am
feature-integration-project-detail ⬜️ Ignored (Inspect) Visit Preview May 20, 2025 2:54am
web-storybook ⬜️ Ignored (Inspect) Visit Preview May 20, 2025 2:54am

@vercel
Copy link

vercel bot commented May 20, 2025

@yuda110 is attempting to deploy a commit to the cloudforet Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Contributor

🎉 @seungyeoneeee has been randomly selected as the reviewer! Please review. 🙏

Copy link

Copilot AI left a 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,
Copy link

Copilot AI May 20, 2025

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.

Copilot uses AI. Check for mistakes.
width="1rem"
height="1rem"
/>
<p-i v-if="dropdownItem && dropdownItem.icon"
Copy link

Copilot AI May 20, 2025

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.

Copilot uses AI. Check for mistakes.
Copy link
Contributor

@seungyeoneeee seungyeoneeee left a comment

Choose a reason for hiding this comment

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

LGTM~!! 🌚

@yuda110 yuda110 merged commit 11b3357 into cloudforet-io:feature-cost-report May 20, 2025
9 checks passed
@yuda110 yuda110 deleted the feature/input-left branch May 20, 2025 07:01
yuda110 added a commit that referenced this pull request May 21, 2025
* 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>
yuda110 added a commit that referenced this pull request May 23, 2025
* 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>
yuda110 added a commit that referenced this pull request May 26, 2025
* 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>
yuda110 added a commit that referenced this pull request May 29, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants