Skip to content

chat spaces find: support partial/substring matching on displayName #503

@HighLiuk

Description

@HighLiuk

Description

gog chat spaces find currently requires an exact match on the full displayName to return results. For example, if a space is named "My Project Team", searching for "Project" returns no results — only the full string "My Project Team" works.

Expected behavior

It would be very useful if gog chat spaces find supported partial/substring matching (case-insensitive), similar to a SQL LIKE '%keyword%' or a simple contains check.

For example:

# Currently: no results
gog chat spaces find "Project"

# Expected: returns all spaces whose displayName contains "Project"
# e.g. "My Project Team", "Project Alpha", "Old Project Archive"

Current workaround

The only way to do a partial search right now is:

gog chat spaces list --all -p | grep -i "project"

This works but requires fetching the entire list every time, which is slower and less ergonomic.

Suggestion

Either:

  • Make the existing find command do substring matching by default (since exact match is a rare use case)
  • Or add a flag like --exact for exact matching, with substring as the default

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions