ticket-detail

Information

Folder
src/components/apps/cloud/ticket-detail

Files

Schema
// src/components/apps/cloud/ticket-detail/schema.yaml

$schema: http://json-schema.org/draft-07/schema
$id: https://finstral.com/apps/cloud/ticket-detail
$def:
  attachments:
    $anchor: AttachmentsSchema
    additionalProperties: false
    type: object
    required:
      - files
      - total_file_size
    properties:
      files:
        type: array
        items:
          additionalProperties: false
          type: object
          required:
            - file_name
            - preview_url
            - source_url
          properties:
            file_name:
              type: string
            preview_url:
              type: string
              format: uri-reference
            source_url:
              type: string
              format: uri-reference
      total_file_size:
        additionalProperties: false
        type: object
        required:
          - size
          - unit
        properties:
          size:
            type: number
          unit:
            type: string
  attachments_config:
    $anchor: AttachmentsConfigSchema
    accepted_formats:
      type: array
      items:
        type: string
    multiple:
      type: boolean
    max_file_count:
      type: number
    max_filesize_message:
      type: string
    max_filesize:
      additionalProperties: false
      type: object
      properties:
        accumulative:
          type: boolean
        size:
          type: number
        unit:
          type: string
          enum:
            - Bytes
            - KB
            - MB
  breadcrumb:
    $anchor: BreadcrumbSchema
    type: array
    items:
      type: object
      additionalProperties: false
      required:
        - text
      properties:
        text:
          type: string
        url:
          type: string
          format: uri-reference
  comments:
    $anchor: CommentsSchema
    type: array
    items:
      additionalProperties: false
      type: object
      required:
        - create_date_time
        - is_author
        - message_detail
      properties:
        create_date_time:
          type: string
        is_author:
          type: boolean
        message_detail:
          format: html
          type: string
  status_tags:
    $anchor: StatusTagsSchema
    type: array
    items:
      additionalProperties: false
      type: object
      required:
        - status
        - color
      properties:
        status:
          type: string
        color:
          type: string
type: object
required:
  - breadcrumb
  - create_comment_api_url
  - create_date_time
  - message_detail
  - reporter
  - status_tags
  - ticket_overview_url
  - title
additionalProperties: false
properties:
  breadcrumb:
    $ref: '#BreadcrumbSchema'
  attachments:
    $ref: '#AttachmentsSchema'
  attachments_config:
    $ref: '#AttachmentsConfigSchema'
  comments:
    $ref: '#CommentsSchema'
  create_comment_api_url:
    format: uri-reference
    type: string
  create_date_time:
    type: string
  message_detail:
    type: string
  reporter:
    type: string
  status_tags:
    $ref: '#StatusTagsSchema'
  ticket_overview_url:
    format: uri-reference
    type: string
  title:
    type: string
Mocks
// src/components/apps/cloud/ticket-detail/mocks.yaml

$hidden: true
attachments:
  files:
    - file_name: FIN-Door Flat Frame-Frame 78 Aluminium-Aluminium
      preview_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment001.png
      source_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment001.png
    - file_name: Bildschirmfoto 2024-09-05 um 10.24.56.png
      preview_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment002.png
      source_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment002.png
    - file_name: Bildschirmfoto 2024-09-05 um 10.24.56.png
      preview_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment003.png
      source_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment003.png
    - file_name: Bildschirmfoto 2024-09-05 um 10.24.56.png
      preview_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment004.png
      source_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment004.png
    - file_name: Bildschirmfoto 2024-09-05 um 10.24.56.png
      preview_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment005.png
      source_url: >-
        /build/assets/img/dummy/cloud-ticket-detail/ticket-detail-attachment005.png
  total_file_size:
    size: 1.2
    unit: MB
comments:
  - create_date_time: '2024-11-05T15:30:00Z'
    is_author: true
    message_detail: |
      Author: Samuel L.

      This is the initial setup for our project. Let's keep the momentum going!
  - create_date_time: '2024-11-05T16:00:00Z'
    is_author: false
    message_detail: |
      Author: Jane Smith

      I've added a few comments on the document regarding the project scope.
  - create_date_time: '2024-11-05T16:20:00Z'
    is_author: true
    message_detail: >
      Author: Samuel L.


      Good feedback, Jane. I'll make sure to address those points in the next
      version.
  - create_date_time: '2024-11-05T16:28:00Z'
    is_author: true
    message_detail: >
      Author: Samuel L.


      Good feedback, Jane. I'll make sure to address those points in the next
      version. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam
      nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed
      diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum.
      Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor
      sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed
      diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam
      erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea
      rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum
      dolor sit amet.
  - create_date_time: '2024-11-05T17:00:00Z'
    is_author: false
    message_detail: |
      Author: Lisa Chang

      Could we also include a section on potential risks and mitigations?
  - create_date_time: '2024-11-05T17:30:00Z'
    is_author: true
    message_detail: |
      Author: Samuel L.

      I'll draft a risk analysis section and share it by tomorrow.
  - create_date_time: '2024-11-05T18:00:00Z'
    is_author: false
    message_detail: |
      Author: Emily N.

      Thanks, Tom! I'll review it once it's available.
create_comment_api_url: /ticket-detail/comment/create
create_date_time: 23.05.202, 09:14
message_detail: |
  Dear Finstral employee,

  A change was requested in the roles/rights via the Finstral Cloud:
  Request sent by: tiziana@sicurcasa.it

  For the following user:

  Name of the user: Mauro Filippone
  E-mail of the user: mauro@sicurcasa.it
  Change: +Architects
  Notes:

  Thank you for processing this request.

  Always with best regards,
  The Finstral Cloud
reporter: Tudor Florin Dragos
title: 'CompINC-142236: Enquiry change Cloud user 2sra'
status_tags:
  - $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Neutral
  - $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Success
  - $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Critical
  - $ref: /apps/cloud/ticket-overview/app-ticket-overview/status-tag#Activity
ticket_overview_url: /ticket-overview
$variants:
  - $name: Full page
    breadcrumb:
      - text: Dashboard
        url: url
      - text: Ticket Overview
        url: url
      - text: 'CompINC-142236: Enquiry change Cloud user 2sra'
Template
// src/components/apps/cloud/ticket-detail/ticket-detail.twig

{% set template_components_breadcrumb %}
	{% include "@template-components/breadcrumb/breadcrumb.twig" with {
		breadcrumb: breadcrumb
	} only %}
{% endset %}

{% set apps_cloud_ticket_detail_app_ticket_detail %}
	{% include "@apps/cloud/ticket-detail/app-ticket-detail/app-ticket-detail.twig" with {
		attachments: attachments,
		comments: comments,
		create_comment_api_url: create_comment_api_url,
		create_date_time: create_date_time,
		message_detail: message_detail,
		reporter: reporter,
		status_tags: status_tags,
		ticket_overview_url: ticket_overview_url,
		title: title,
	} only %}
{% endset %}

{% include "@templates/cloud/cloud.twig" with {
    breadcrumb: template_components_breadcrumb,
		content: apps_cloud_ticket_detail_app_ticket_detail
} only %}

Variants

Full page
Open

CompINC-142236: Enquiry change Cloud user 2sra

ticket_detail.description.title

  • Tudor Florin Dragos
    • 1st Level
    • Abgeschlossen
    • Offen
    • Neue Kunden-Aktivität
Dear Finstral employee,

A change was requested in the roles/rights via the Finstral Cloud:
Request sent by: tiziana@sicurcasa.it

For the following user:

Name of the user: Mauro Filippone
E-mail of the user: mauro@sicurcasa.it
Change: +Architects
Notes:

Thank you for processing this request.

Always with best regards,
The Finstral Cloud

ticket_detail.attachments.title

ticket_detail.comments.title

ticket_detail.file_upload_description

form_contact_support.file_constraints_message

filedrop.dragdrop
global.max_accumulative_file_size_message (global.multi_file_message)
  • Author: Jane Smith
    
    I've added a few comments on the document regarding the project scope.
    
  • Author: Lisa Chang
    
    Could we also include a section on potential risks and mitigations?
    
  • Author: Emily N.
    
    Thanks, Tom! I'll review it once it's available.