mattermost-community/focalboard

Bug: Views list is sorted weirdly when view names start with numbers

Open

#1,989 opened on Dec 15, 2021

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (26,187 stars) (2,542 forks)user submission
BugHelp WantedUp for grabs

Description

Steps to reproduce the behavior

  1. Create views named things like "2021 Q1", "2022 Q1", "2021 Q4"

Expected behavior

That views are sorted alphabetically which would cause them to be grouped by year and then sorted by quarter.

Screenshots

Views not starting with numbers are sorted alphabetically, but the order gets weird when they start with numbers. It seems like the sort order might be alphabetical using the text after the first letter in the name. Screen Shot 2021-12-15 at 10 07 20 AM

Edition and Platform

  • Edition: Mattermost plugin
  • Version: Whichever one is on community-daily
  • Browser and OS: Mac Desktop App nightly build

Contributor guide

Bug: Views list is sorted weirdly when view names start with numbers · mattermost-community/focalboard#1989 | Good First Issue