pangeachat / client

Learn a language while texting your friends
https://krille-chan.github.io/fluffychat/
GNU Affero General Public License v3.0
1 stars 2 forks source link

In 'add to space' list, show parent space for subspaces #331

Closed wcjord closed 1 month ago

wcjord commented 1 month ago

This list is confusing if you have multiple spaces with the same name, most common (and probably pretty common), when you have subspaces.

Screenshot 2024-06-13 at 2 37 17 PM

Let's show parents spaces in this case for the names e.g. "Hisp 101 Summer 2024 > My Chats"

Kelrap commented 1 month ago

@wcjord How would I handle if a space has multiple parents? Just pick one of them to show?

Also, if the space is a subspace of a subspace etc, should it keep showing parents as far back as it goes? Or put some limit on it (i.e. show a max of 3 generations)

Kelrap commented 1 month ago

If I cut off parent space names after a certain number of characters, that would prevent spaces with absurdly long names from making the option unreadable.