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

YSHOP2-1133: Add ResourcePicker component #184

Merged
merged 31 commits into from Dec 25, 2023
Merged

YSHOP2-1133: Add ResourcePicker component #184

merged 31 commits into from Dec 25, 2023

Conversation

eihabkhan1
Copy link
Collaborator

@eihabkhan1 eihabkhan1 commented Dec 12, 2023

JIRA Ticket

YSHOP2-1133

QA Steps

  • Run pnpm install
  • Go to http://localhost:3000/

@eihabkhan1 eihabkhan1 added the ⏳ in progress Still in development phase. label Dec 12, 2023
@eihabkhan1 eihabkhan1 self-assigned this Dec 12, 2023
@eihabkhan1 eihabkhan1 added 💻 Ready for review Requires a review from another developer. and removed ⏳ in progress Still in development phase. labels Dec 14, 2023
@eihabkhan1 eihabkhan1 marked this pull request as ready for review December 14, 2023 09:47
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Bumped vue to add support for external types import in SFC (ref: vuejs/core#8083)

@eihabkhan1 eihabkhan1 added ⏳ in progress Still in development phase. and removed 💻 Ready for review Requires a review from another developer. labels Dec 14, 2023
@eihabkhan1 eihabkhan1 added 💻 Ready for review Requires a review from another developer. and removed ⏳ in progress Still in development phase. labels Dec 15, 2023
Comment on lines 19 to 22
function handleCheck(e: Event) {
const res: Resource = { ...props.resource };
emit('change', e, res);
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
function handleCheck(e: Event) {
const res: Resource = { ...props.resource };
emit('change', e, res);
}
function handleCheck(e: Event) {
emit('change', e, props.resource);
}

Comment on lines 25 to 26
<template>
<Checkbox v-model="model" class="container" :class="!showThumbnail && 'variant'" :indeterminate="$props.indeterminate" @change.stop="handleCheck">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Wouldn't this work?

Suggested change
<template>
<Checkbox v-model="model" class="container" :class="!showThumbnail && 'variant'" :indeterminate="$props.indeterminate" @change.stop="handleCheck">
<template>
<Checkbox v-model="model" class="container" :class="!showThumbnail && 'variant'" :indeterminate="indeterminate" @change.stop="handleCheck">

@AliHMIMS AliHMIMS added ✅ Reviewed PR has been reviewed and approved. and removed 💻 Ready for review Requires a review from another developer. labels Dec 25, 2023
@eihabkhan1 eihabkhan1 merged commit f0191f9 into main Dec 25, 2023
@eihabkhan1 eihabkhan1 deleted the YSHOP2-1133 branch December 25, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Reviewed PR has been reviewed and approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants