Skip to content
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: move save button from header to filter section & refactor it #1698

Conversation

yuda110
Copy link
Member

@yuda110 yuda110 commented Aug 29, 2023

To Reviewers

  • Skip (style, chore, ci ONLY)
  • Not that difficult

Type of Change

  • New feature
  • Bug fixes
  • Feature improvement
  • Refactor
  • Others (performance improvement, CI/CD, etc.)

Affects to

  • Packages

    • core-lib
    • mirinae
    • etc
  • Apps

    • storybook
    • web

Checklist

  • Did you check the lint and type?
  • Did you document the changes?
    • Changes in mirinae should be reflected in storybook.
  • Did you test the app after the package changes?

Description

i) default query
스크린샷 2023-08-29 오후 12 46 08

ii) non-default query
스크린샷 2023-08-29 오후 12 45 43

@vercel
Copy link

vercel bot commented Aug 29, 2023

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

Name Status Preview Comments Updated (UTC)
console ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 29, 2023 4:45am

@yuda110 yuda110 changed the title Feature/save button feat: move save button from header to filter section & refactor it Aug 29, 2023
Comment on lines +131 to +155
<template v-if="costAnalysisPageState.selectedQueryId">
<p-button v-if="costAnalysisPageState.selectedQueryId"
class="save-button"
style-type="tertiary"
icon-left="ic_disk-filled"
@click="handleSaveQuerySet"
>
{{ $t('BILLING.COST_MANAGEMENT.COST_ANALYSIS.SAVE') }}
</p-button>
<p-icon-button ref="targetRef"
class="more-menu-button"
:name="visibleContextMenu ? 'ic_chevron-up' : 'ic_chevron-down'"
style-type="tertiary"
shape="square"
size="md"
color="inherit"
@click="handleClickMoreMenuButton"
/>
<p-context-menu v-show="visibleContextMenu"
ref="contextMenuRef"
:menu="state.saveDropdownMenuItems"
:style="contextMenuStyle"
@select="handleClickSaveAsButton"
/>
</template>
Copy link
Member Author

Choose a reason for hiding this comment

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

스크린샷 2023-08-29 오후 12 45 43

Comment on lines +157 to +162
<p-button style-type="tertiary"
icon-left="ic_disk-edit-filled"
@click="handleClickSaveAsButton"
>
{{ $t('BILLING.COST_MANAGEMENT.COST_ANALYSIS.SAVE_AS') }}
</p-button>
Copy link
Member Author

Choose a reason for hiding this comment

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

스크린샷 2023-08-29 오후 12 46 08

Copy link
Member

@WANZARGEN WANZARGEN left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Member

@sulmoJ sulmoJ left a comment

Choose a reason for hiding this comment

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

LGTM!
I only checked the code convention.

@yuda110 yuda110 merged commit bf882b0 into cloudforet-io:feature-cost-analysis-enhancement Aug 29, 2023
@yuda110 yuda110 deleted the feature/save-button branch August 29, 2023 05:38
sulmoJ pushed a commit to sulmoJ/console that referenced this pull request Oct 4, 2023
…loudforet-io#1698)

* feat: move save button from header to filter section

Signed-off-by: yuda <[email protected]>

* feat: edit validation and delete unused props

Signed-off-by: yuda <[email protected]>

* chore: delete unused module

Signed-off-by: yuda <[email protected]>

* chore: delete unused type

Signed-off-by: yuda <[email protected]>

* feat: edit params of `editQuery` action

Signed-off-by: yuda <[email protected]>

* fix: fix edit queryset bug in cost analysis

Signed-off-by: yuda <[email protected]>

* chore: update languages

Signed-off-by: yuda <[email protected]>

---------

Signed-off-by: yuda <[email protected]>
sulmoJ pushed a commit to sulmoJ/console that referenced this pull request Oct 4, 2023
…loudforet-io#1698)

* feat: move save button from header to filter section

Signed-off-by: yuda <[email protected]>

* feat: edit validation and delete unused props

Signed-off-by: yuda <[email protected]>

* chore: delete unused module

Signed-off-by: yuda <[email protected]>

* chore: delete unused type

Signed-off-by: yuda <[email protected]>

* feat: edit params of `editQuery` action

Signed-off-by: yuda <[email protected]>

* fix: fix edit queryset bug in cost analysis

Signed-off-by: yuda <[email protected]>

* chore: update languages

Signed-off-by: yuda <[email protected]>

---------

Signed-off-by: yuda <[email protected]>
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