Skip to content

Commit

Permalink
feat: ticket summary icons
Browse files Browse the repository at this point in the history
  • Loading branch information
ssiyad committed Apr 4, 2023
1 parent 0eefcde commit 29e2493
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
3 changes: 3 additions & 0 deletions desk/src/assets/icons/comment.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions desk/src/assets/icons/hash.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions desk/src/assets/icons/mail.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 9 additions & 6 deletions desk/src/components/desk/tickets/TicketSummary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,24 @@
</div>
</router-link>
<div class="flex flex-wrap items-center gap-2">
<div>&#x0023;</div>
<IconHash />
<div>{{ ticketName }}</div>
<div>&#x2022;</div>
<FeatherIcon name="message-circle" class="h-4 w-4" />
{{ commentCount }}
<div>&#x2022;</div>
<FeatherIcon name="mail" class="h-4 w-4" />
<IconMail />
{{ conversationCount }}
<div>&#x2022;</div>
<IconComment />
{{ commentCount }}
</div>
</div>
</template>

<script setup lang="ts">
import { computed, defineProps, toRefs } from "vue";
import { FeatherIcon, createDocumentResource } from "frappe-ui";
import { createDocumentResource } from "frappe-ui";
import IconHash from "@/assets/icons/hash.svg?component";
import IconMail from "@/assets/icons/mail.svg?component";
import IconComment from "@/assets/icons/comment.svg?component";
const props = defineProps({
ticketName: {
Expand Down

0 comments on commit 29e2493

Please sign in to comment.