-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/184-improve-reddit-scraping' into develop
- Loading branch information
Showing
10 changed files
with
103 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 20 additions & 17 deletions
37
seaside/src/configuration/components/feedslist/FeedsListItem.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,31 @@ | ||
<template> | ||
<FeedCard :view="{...view.data, icon: view.icon}"/> | ||
<div class="md:col-span-2 btn-group justify-self-end"> | ||
<button class="btn btn-sm btn-square btn-ghost" @click="$emit('item-update', view.data)"> | ||
<PencilIcon class="h-6 w-6"/> | ||
</button> | ||
<button class="btn btn-sm btn-square btn-ghost" @click="$emit('item-delete', view.data._id)"> | ||
<TrashIcon class="h-6 w-6"/> | ||
</button> | ||
</div> | ||
<FeedCard :view="{...view.data, icon: view.icon}"/> | ||
<div class="md:col-span-2 btn-group justify-self-end"> | ||
<button class="btn btn-sm btn-square btn-ghost" @click="$emit('item-view', view.data)"> | ||
<EyeIcon class="h-6 w-6"/> | ||
</button> | ||
<button class="btn btn-sm btn-square btn-ghost" @click="$emit('item-update', view.data)"> | ||
<PencilIcon class="h-6 w-6"/> | ||
</button> | ||
<button class="btn btn-sm btn-square btn-ghost" @click="$emit('item-delete', view.data._id)"> | ||
<TrashIcon class="h-6 w-6"/> | ||
</button> | ||
</div> | ||
</template> | ||
|
||
<script lang="ts"> | ||
import {Component, Prop, Vue} from 'vue-facing-decorator'; | ||
import {FeedView} from "@/configuration/components/feedslist/model/FeedView"; | ||
import FeedCard from "@/common/components/FeedCard.vue"; | ||
import {PencilIcon, TrashIcon} from "@heroicons/vue/24/outline"; | ||
import { Component, Prop, Vue } from 'vue-facing-decorator'; | ||
import { FeedView } from '@/configuration/components/feedslist/model/FeedView'; | ||
import FeedCard from '@/common/components/FeedCard.vue'; | ||
import { EyeIcon, PencilIcon, TrashIcon } from '@heroicons/vue/24/outline'; | ||
@Component({ | ||
name: 'FeedsListItem', | ||
components: {FeedCard, PencilIcon, TrashIcon}, | ||
emits: ['item-update', 'item-delete'] | ||
name: 'FeedsListItem', | ||
components: { FeedCard, EyeIcon, PencilIcon, TrashIcon }, | ||
emits: ['item-update', 'item-delete', 'item-view'], | ||
}) | ||
export default class FeedsListItem extends Vue { | ||
@Prop() private view!: FeedView; | ||
@Prop() private view!: FeedView; | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters