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

Implemented: Add additional job actions to job config component(#364tt29) #216

Merged
merged 8 commits into from
Aug 26, 2022

Conversation

disha1202
Copy link
Contributor

@disha1202 disha1202 commented Aug 16, 2022

Related Issues

Closes #

Short Description and Why It's Useful

Screenshots of Visual Changes before/after (If There Are Any)

Screenshot from 2022-08-26 15-29-14

IMPORTANT NOTICE - Remember to add changelog entry

Contribution and Currently Important Rules Acceptance

Copy link
Contributor

@dt2patel dt2patel left a comment

Choose a reason for hiding this comment

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

CSS comments

row-gap: var(--spacer-sm);
margin-top: var(--spacer-sm);
}
.more-actions > ion-item {
Copy link
Contributor

Choose a reason for hiding this comment

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

we shouldn't specify ion item, it should just be all items in more-actions

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made the requested change.

@disha1202 disha1202 requested a review from dt2patel August 18, 2022 05:58
@@ -127,6 +155,9 @@ export default defineComponent({
props: ["title", "status", "type"],
computed: {
...mapGetters({
getEnumDescription: 'job/getEnumDescription',
getEnumName: 'job/getEnumName',
getPinnedJobs: 'user/getPinnedJobs',
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
getPinnedJobs: 'user/getPinnedJobs',
pinnedJobs: 'user/getPinnedJobs',

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated variable name.

<ion-item @click="updatePinnedJobs(currentJob?.systemJobEnumId)" button>
<ion-icon slot="start" :icon="pinOutline" />
{{ $t("Pin job") }}
<ion-checkbox slot="end" :checked="getPinnedJobs ? getPinnedJobs.includes(currentJob.systemJobEnumId) : false" />
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
<ion-checkbox slot="end" :checked="getPinnedJobs ? getPinnedJobs.includes(currentJob.systemJobEnumId) : false" />
<ion-checkbox slot="end" :checked="getPinnedJobs && getPinnedJobs.includes(currentJob.systemJobEnumId)" />

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Made the requested change.

@azkyakhan
Copy link
Contributor

@disha1202 Please add the image of the work you have done in this PR.

@disha1202
Copy link
Contributor Author

@disha1202 Please add the image of the work you have done in this PR.

Added the image.

@azkyakhan
Copy link
Contributor

LGTM

1 similar comment
@azkyakhan
Copy link
Contributor

LGTM

@adityasharma7 adityasharma7 merged commit f276e7b into hotwax:main Aug 26, 2022
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.

5 participants