[Bug] [minimal impact] Grid sorted by Select type property should adhere to user specified sort order.
Bug Description
It is already possible to manual re-order the options for a select property and this ordering persists. It would be very helpful if this manual ordering was also applied to the view sorted by that property.
How to Reproduce
- Create db grid with selector property.
- Create three items in the grid that have unique options in the select field (e.g; A, B, C)
- Reorder the select options by dragging the handles to give an non-typical ordering from top to bottom (e.g; B, A, C)
- Open the DB Grid sort sub-head row and set the grid to be sorted by the select field.
Expected Behavior
Ideally, all DB views sorted by a select field should adhere to the persistent handle-drag manual ordering available whenever choosing (or creating) options for a select field.
Operating System
Win 11
AppFlowy Version(s)
0.8.2
Screenshots
Custom ordered 'priority' select field property options:
Sort by 'priority' select field in DB grid:
Additional Context
(I'm a few hours in to testing out AppFlowy for my purposes, and this level of nitpickery, and my taking the time to provide it (probably for it to get merged as duplicate ??? ) is a strong indicator that I'm way more invested-in, than frustrated-by, AppFlowy so far! Fantastic app.)
Hi @Justin-Maxwell, thanks so much for reporting this issue! The current behavior is based on the alphabetical order of the option names. Your use case is very compelling though so this is definitely a change we could consider.
@annieappflowy
I'd like to add my vote to this request. Especially bescause it is possible to manually sort the order of the options, giving the user the idea that the order is meaningfull
The web app doesn't have this bug.
This issue has already been fixed and will be included in the upcoming release (0.10.7). I’m closing this issue.