rubyforgood / rubyforgood/human-essentials

case insensitive sorts throughout

Open
#4,948 16 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Difficulty—Intermediate stale
Dominant language
Ruby
Stars
593
Forks
593
Avg merge
4d 22h
Merged PRs (30d)
41

Description

Summary

All the alphabetical sorts (in drop downs, indices, exports, and reports) should be in natural alphabetical order (aka case insensitive alphabetical order)

Why?

It's the human way of doing things

Details

The 'natural' and computer-based alphabetizing are not the same --- so there are a bunch of surnames that would be out of order, for example -- (the ones beginning with de or van for example ). As well, if someone enters a new item in lowercase, it would be out of order in various dropdowns

Survey and repair all the sorts.

Please keep an eye out for sorts that are still in order-added order -- call those out, but we're pretty sure they should be natural alpha as well.

Consider adding shared helpers (if it makes sense).

Note: This will require communication to the users if any exports are involved.

Criteria for completion

  • all sorts are in human alphabetical order
  • Tests to support
  • May need some light work on the user guide to point out the new orders

Note:

Double-check we don't already have exactly this one.

Contributor guide

Open the contributing guide

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

Start by surveying the dropdowns, indices, exports, and reports named in the issue, and check whether an identical issue already exists. Identify sorts that are case-sensitive or order-added, then review the existing test coverage before making changes. Done means all applicable sorts have tests, exports and the user guide reflect any changed ordering, and remaining order-added cases are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
ruby
Domain
documentation, full-stack, testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.