D22006: Use more human-readable sort order descriptions
Nicolas Fella
noreply at phabricator.kde.org
Sat Jun 22 17:21:59 BST 2019
nicolasfella created this revision.
nicolasfella added reviewers: Dolphin, VDG.
Herald added a project: Dolphin.
Herald added a subscriber: kfm-devel.
nicolasfella requested review of this revision.
REVISION SUMMARY
Anectodic evidence shows that ascending/descending regularly takes people longer to process than necessary. This patch implements more human-friendly sort oder descriptions, in particular:
A-Z/Z-A for text
Newest first/oldest-first for time
Lowest first/highest first for rating
smallest first/largest first for sizes
If there is no string for a particular role defined it will fall back to Ascending/Descending.
I'm aware that not every language uses A-Z. In this case the translator can pick any string that represents the concept of text sorting
TEST PLAN
Sort view in various ways
REPOSITORY
R318 Dolphin
BRANCH
sortOrderThing
REVISION DETAIL
https://phabricator.kde.org/D22006
AFFECTED FILES
src/views/dolphinviewactionhandler.cpp
src/views/dolphinviewactionhandler.h
To: nicolasfella, #dolphin, #vdg
Cc: kfm-devel, fprice, fbampaloukas, alexde, feverfew, meven, spoorun, navarromorales, firef, andrebarros, emmanuelp, mikesomov
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20190622/54df1e56/attachment.htm>
More information about the kfm-devel
mailing list