[GH-ISSUE #768] Make project sorting consistent everywhere #540

Closed
opened 2026-02-25 23:42:48 +03:00 by kerem · 0 comments
Owner

Originally created by @cuu508 on GitHub (Dec 21, 2022).
Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/768

Discussed in https://github.com/healthchecks/healthchecks/discussions/765

The current situation:

  • "My Projects" page (the homepage when logged in): projects are sorted alphabetically (case sensitive), but projects with checks in down state always first
  • the Account menu in top navigation: projects are sorted alphabetically (sorted in database, so case sensitivity depends on db collation settings. In practice with Ubuntu and Postgres, case insensitive)
  • the "Account Settings" page, "My Projects" section: undefined order, except projects where the user is the owner always come first
  • Check's details page, "Transfer to Another Project" dialog: projects are sorted alphabetically (sorted in database, so case sensitivity depends on db collation settings. In practice with Ubuntu and Postgres, case insensitive)

It would be nice to make the sorting more consistent. I'm thinking:

  • "My Projects": alphabetic, case insensitive, but projects with checks in the down state always first
  • Account menu: alphabetic, case insensitive regardless of DB settings
  • Account Settings - My Projects: alphabetic, case insensitive regardless of DB settings
  • "Transfer to Another Project" dialog: alphabetic, case insensitive regardless of DB settings
Originally created by @cuu508 on GitHub (Dec 21, 2022). Original GitHub issue: https://github.com/healthchecks/healthchecks/issues/768 ### Discussed in https://github.com/healthchecks/healthchecks/discussions/765 The current situation: * "My Projects" page (the homepage when logged in): projects are sorted alphabetically (case **sensitive**), but projects with checks in down state always first * the Account menu in top navigation: projects are sorted alphabetically (sorted in database, so case sensitivity depends on db collation settings. In practice with Ubuntu and Postgres, case **insensitive**) * the "Account Settings" page, "My Projects" section: undefined order, except projects where the user is the owner always come first * Check's details page, "Transfer to Another Project" dialog: projects are sorted alphabetically (sorted in database, so case sensitivity depends on db collation settings. In practice with Ubuntu and Postgres, case **insensitive**) It would be nice to make the sorting more consistent. I'm thinking: * "My Projects": alphabetic, case **insensitive**, but projects with checks in the down state always first * Account menu: alphabetic, case **insensitive** regardless of DB settings * Account Settings - My Projects: alphabetic, case **insensitive** regardless of DB settings * "Transfer to Another Project" dialog: alphabetic, case **insensitive** regardless of DB settings
kerem closed this issue 2026-02-25 23:42:48 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/healthchecks#540
No description provided.