#8402·humhub

Suggest existing topics based on fuzzy text match in post content

Author: sunshinebardCreated Aug 23, 2026Updated Aug 24, 2026
LabelsKind:Enhancement

Body:

Related to #8180 (topic picker visibility: Always show / Required / Hidden).

Idea: When the topic picker is shown (especially with the new "Required" mode), it would help adoption if HumHub proactively suggested existing topics based on a fuzzy match against words in the post text (title + body), instead of relying purely on manual search/typing.

Example: A post contains the German text "Rezept für einen Kuchen" (a recipe for a cake). If a topic named "Rezepte" (recipes, plural) already exists in that space, it should be suggested automatically — even though "Rezept" and "Rezepte" aren't an exact substring match, just a fuzzy/stemmed one.

Why this matters:

Encourages consistent topic usage instead of users skipping the picker or creating near-duplicate topics (e.g. "Rezept" vs "Rezepte" vs "Kochrezepte"). Especially valuable once "Topics required" is enabled — reduces friction of manually finding the right existing topic.

Possible approach:

On content-form text input (debounced), run a fuzzy/stemmed comparison of post words against existing topic names in the current container (space) and/or globally. Show matches as clickable suggestion chips near the topic picker; clicking adds the topic without manual search. Match should tolerate simple German plural/singular and word-stem variation, not just exact substrings.