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

Add link on image in ItemsCard and FeedItem #39

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

Lidiya-prog
Copy link
Collaborator

image
image
image

@Lidiya-prog
Copy link
Collaborator Author

image
image

})
export default class ImageButton extends Vue {
@Prop()
name!: string
Copy link
Owner

Choose a reason for hiding this comment

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

Зачем эта проперти?

@Component<ImageButton>({
name: "ImageButton"
})
export default class ImageButton extends Vue {
Copy link
Owner

Choose a reason for hiding this comment

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

Название компонента выглядит как будто это кнопка, на которой есть картинка.

@@ -64,14 +65,15 @@
<script lang="ts">
import TagBadge from "@/components/TagBadge.vue";
import ItemCardOpenButton from "@/components/UserWishlist/ItemCardOpenButton.vue";
import OpenImageButton from "@/components/OpenImageButton.vue";
Copy link
Owner

Choose a reason for hiding this comment

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

Изменения в этом файле кажутся ненужными. Тут только импорт и упоминание компонента,, но реально он нигде не юзается

@@ -139,6 +148,7 @@ export default {
isMoneyCollectingEnabled: false,
link: "",
donatelink: "",
imagelink: "",
Copy link
Owner

Choose a reason for hiding this comment

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

Пожалуйста, пользуйся camelCase для именования. imagelink -> imageLink

@@ -0,0 +1,34 @@
<template>
Copy link
Owner

Choose a reason for hiding this comment

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

Этот компонент где то используется? Если нет - удали

@Lidiya-prog
Copy link
Collaborator Author

image

@@ -71,7 +71,7 @@ import ProgressBar from "@/components/ProgressBar.vue";

@Component<ItemCard>({
name: "ItemCard",
components: {ProgressBar, TagBadge, ItemCardOpenButton}
components: { ProgressBar, TagBadge, ItemCardOpenButton }
Copy link
Owner

Choose a reason for hiding this comment

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

В этом файле ничего не изменилось по сути. Откати плз форматирование

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.

2 participants