opensafely-core / opensafely-core/opencodelists

Enhancement request: Improve sorting in a user's list of codelists

Open
#2,985 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Python
Stars
60
Forks
16
Avg merge
4d 12h
Merged PRs (30d)
17

Description

Summary

Nice to have: improve sorting for users with long lists of codelists that they've created.

#2981 sorting alphabetically case insensitive, this ticket is intended to explore further improvements that could be made to sorting users' codelists.

What would you like to achieve?

From slack message: It wasn't clear how codelists created by the user were sorted. It appears that the codelists were sorted alphabetically but case sensitivity played a factor in the confusion. User expected to see all the codelists together regardless.
Being able to sort by date would be helpful too.

Who would benefit and how?

Frequent creators of codelists - less time spent searching own codelists to figure out which they were working on / more likely to delete codelists that are not needed anymore

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.

Research direction

Review issue #2981 and the current user's codelist list to understand the existing case-insensitive alphabetical sorting. Clarify whether the requested outcome is grouping by name, sorting by date, or both, then define expected ordering and tests before changing the list behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.