Skip to content

feat: Automatically sort SOCIALS list alphabetically by category #6501

Description

Is your feature request related to a problem? Please describe.

The SOCIALS list in app/generator/data/socials.ts is currently hardcoded in an arbitrary order. When this list is mapped over to render a UI selection grid, the lack of alphabetical sorting makes it difficult for users to quickly scan and find their desired platform.

Describe the solution you'd like

  1. Open the dropdown menu that renders the SOCIALS data.
  2. Attempt to find a platform like 'Snapchat' or 'CodePen'.
  3. Observe that you have to scan the entire list manually because it is not alphabetized.

Describe alternatives you've considered

The SOCIALS array should be programmatically sorted alphabetically (either globally, or alphabetically within their respective SOCIAL_CATEGORIES) before being rendered to the UI.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions