Script manager shows scripts in lower case but sorts upper case ones first

Open Beginner friendly
#706 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
63/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
lua
Domain
desktop

Research direction

Start in the script manager code and trace how script names are displayed and sorted. Reproduce the ordering with mixed-case script filenames, then verify that sorting ignores casing and that the resulting order makes scripts easier to find, including “open in explorer”.

Written by the indexing model from the issue text.

Description

Opening script manager, you see this:
Image

Some scripts have uppercase file names and therefore are sorted before all scripts with lowercase. However, in the UI, most of them are even shown as lowercase so it's even more confusing.

I suggest to sort all scripts by name ignoring casing, so that it becomes more intuitive to find e.g. "open in explorer" in my case.

Dominant language
Lua
Stars
219
Forks
142
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from darktable-org/lua-scripts

All issues in darktable-org/lua-scripts

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.