Skip to content

Fix Attachment Behavior

See #8 (closed) https://notes.desy.de/TF7M9UisTMazetyHH141sA?both#Improve-UI-of-Attachments-tab

Problems

  • use the full space of card
    • it already used full space
  • dont truncate URLs
    • urls will be truncated in header of the item
    • the url can be viewed if you hover over the item
    • Discussion: Maybe we should display the filename (last part of the url)
  • also
    • problems with files and url
    • missing or wrong redirect
    • not possible to download
  • edit form has old todo
    • in mixins/AttachmentsMixin.ts --> uploadedDateTime fix this
  • Fix for
    • devices
    • platforms
  • Notice:
    • It seems that there haven't been any discussion on the features of the attachments tab
    • e.g. when you edit an attachment, you can only update the label but not the file or url

Reasons open links not working

  • in components/devices/DevicesAttachmentListItem.vue <base-expandable-list-item> causes the problem because it prevents clicking
    <v-card-text
        class="py-2 px-3"
        @click.stop.prevent="show = !show"
      >
Edited by Tobias Kuhnert