Skip to content

Drag/Drop of Attachments added in randomized order #2927

@ScriptJunky

Description

@ScriptJunky

Describe the bug
When adding attachments, there isn't any sort of naturalized sorting. There should be a basic sort (alphabetical?) applied.

To Reproduce

  1. Take front picture of an object
  2. Take back picture of an object
  3. Repeat a few times with different objects, and done in the exact same order
  4. Create a table that has an attachments column
  5. multi-select and drag/drop front+back photos into the cell
  6. Repeat for other objects
  7. Notice in Gallery view (and even visible in Grid view) that the front photo is not always the first attachment listed in the cell

Expected behavior
As most cameras take photos that get numbered logically, the attachments should appear logically ordered as well.

Client (please complete the following information):

  • OS: EndeavourOS (Arch Linux)
  • Browser: Vivaldi 7.9.3970.45 (Official Build) (64-bit)
  • Version Teable App version: 0.5.0-alpha+1.10.0-build.1267

Platform (Please tell us which deployment version you are using)
docker compose

Additional context
My current workaround is to drag/drop them into that cell in the order expected, which is tedious/slow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions