flarum / flarum/issue-archive

[Likes][Mentions] Post control items order can change

Open
#54 2 comments 4 reactions 0 assignees View on GitHub
type/cleanup
Dominant language
No language data
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

This isn't a bug, but an annoyance.

People have reported multiple times that the items swap places. This happens whenever the enabled extensions order is resolved, I believe the order falls back to randomness, hence why mentions can sometimes load before likes and other times the other way around.

I see two possible solutions:
* Explicitly set priorities for these items in JS side so that they're always ordered in the same way.
* Change the extension boot order resolving to fallback to something, like the package name.

Contributor guide

Open the contributing guide

Research direction

Start in the JavaScript side that renders the post control items and trace how the extension boot order is resolved. Compare the two proposed approaches—explicit item priorities or a deterministic package-name fallback—and confirm that mentions consistently follow likes without disrupting other extensions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.