martin
(Martin Brennan)
3. September 2026 um 05:02
18
Ich habe hier einen sehr groben Entwurf für einen PR erstellt, @awesomerobot könntest du bitte daran arbeiten und ein paar schicke UI-Elemente ergänzen? Ich habe im Grunde nur das grundlegende Skelett eingerichtet, damit es funktioniert und für private Kategorien nicht angezeigt wird, wenn der Benutzer keinen Zugriff hat:
main ← feature/category-cards-on-hashtag
merged 11:36PM - 16 Sep 26 UTC
This PR introduces a category floating card, similar to the user card,
behind a… n upcoming change ("Enable category hashtag cards")
This card will show the category title, icon/emoji,
description, as well as links to any parent categories. Users with
permission can see the "Edit description" button, as well as the "New Topic"
button, which is also category context dependent (e.g. Events categories
will have a "New Event" button).
Also shown in the card is a list of the 3 latest categories in the topic.
Users without permission to see a category will simply follow the
hashtag link, and see no card.
<img width="660" height="335" alt="image" src="https://github.com/user-attachments/assets/a127fdf6-462a-4ebf-bd2a-b27fc29565c2" />
<img width="658" height="220" alt="image" src="https://github.com/user-attachments/assets/acea2a2c-cfb4-4d69-ac0d-7ad4f252a670" />
In addition, since it's now easier to differentiate categories with
the same name, we are also removing the verbose "Parent > Child"
labelling for category hashtags.
**Before**
<img width="805" height="259" alt="image" src="https://github.com/user-attachments/assets/5bd0c57b-228b-494e-9ebf-df012c5c598f" />
**After**
<img width="805" height="268" alt="image" src="https://github.com/user-attachments/assets/c67fc7df-3c0b-435c-ac8a-6fe748c85b63" />
3 „Gefällt mir“