Skip to content

Random space icon shuffle shouldn't pick flags #50

Description

@amanfromsolan

Problem

The space icon shuffle button keeps landing on country flags. IconCatalog.shuffleChoices (IconCatalog.swift ~line 67) pools all curated symbols plus all 1,870 gemoji — and the gemoji set includes the entire "Flags" category (~270 entries, mostly country flags). That's a big slice of the pool, so shuffles hit flags way more often than feels right, and a random country flag is a meaningless icon for a space.

Expected

Exclude the flag emoji from shuffleChoices. The emoji entries carry their gemoji category, so filtering out the "Flags" category is a one-line change:

+ emoji.filter { $0.category != "Flags" }.map { SidebarSpace.Icon.emoji($0.emoji) }

Flags should stay available in the picker grid for deliberate selection — only the random shuffle should skip them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions