Drag/Drop of Attachments added in randomized order
Describe the bug When adding attachments, there isn't any sort of naturalized sorting. There should be a basic sort (alphabetical?) applied.
To Reproduce
- Take front picture of an object
- Take back picture of an object
- Repeat a few times with different objects, and done in the exact same order
- Create a table that has an attachments column
- multi-select and drag/drop front+back photos into the cell
- Repeat for other objects
- 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.
Can i Work on this issue
Thanks for the report.
This has been addressed in the current version. When multiple attachments are uploaded to a cell, the saved order now follows the upload completion order consistently, instead of being left in an unstable order.
Please update to the latest version. Closing this as completed. If the saved order still changes after updating, please open a new issue with updated reproduction steps.