Skip to content

Conversation

@gehrisandro
Copy link
Contributor

Description

This PR changes the mention rendering to fallback to the stored label in the database according to the discussion here: #18984

In addition the label gets persisted to the database even if a MentionProvider is available (otherwise there is nothing to fall back to).

Visual changes

Before (when user is not available anymore):
CleanShot 2026-01-18 at 12 08 01@2x

After:
CleanShot 2026-01-18 at 12 10 23@2x

When the provider returns a label (in my case, the user still exists), there is no visual change.

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.(no change required)

@github-project-automation github-project-automation bot moved this to Todo in Roadmap Jan 18, 2026
@danharrin danharrin added pending review bug Something isn't working labels Jan 20, 2026
@danharrin danharrin added this to the v4 milestone Jan 20, 2026
@danharrin
Copy link
Member

Can you please rebase this on 4.x?

@gehrisandro gehrisandro force-pushed the feat/fallback-to-original-mention-label branch from 29df16c to 20820c1 Compare January 20, 2026 10:45
@gehrisandro gehrisandro changed the base branch from 5.x to 4.x January 20, 2026 10:46
@gehrisandro
Copy link
Contributor Author

Can you please rebase this on 4.x?

Done

@github-project-automation github-project-automation bot moved this from Todo to In Progress in Roadmap Jan 21, 2026
@danharrin
Copy link
Member

@gehrisandro I removed a block that you modified because I don't think we need to remove the label from the mention in any case now

@danharrin danharrin merged commit 655fc9a into filamentphp:4.x Jan 21, 2026
23 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in Roadmap Jan 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants