Page MenuHomePhabricator

[MEX2] Implement statement grouping in Javascript / Vue
Open, Needs TriagePublic

Description

Top-level statements added with the 'add statement' button(s) are currently added to the same section of the item view as the button. This is not always correct - a user might click the 'add statement' button in the 'Statements' section, and actually search for and add a value belonging to an 'Identifier' property.

Acceptance Criteria

  • Insert newly-created statements in the sections of the Item View according to the configured statement-grouping rules

Event Timeline

ArthurTaylor renamed this task from [MEX] 5 Implement statement grouping in Javascript / Vue to [MEX] ?.? Implement statement grouping in Javascript / Vue.Dec 1 2025, 2:01 PM
ArthurTaylor updated the task description. (Show Details)

Note that the current behavior matches the desktop UI, where you can also add statements to the “wrong” section and they’ll “jump” to the correct place when the page is reloaded. I feel like we have a task for fixing this, but I can’t find it at the moment; in T117421, this behavior was added to the task description: “It is possible to add an identifier in the statement section or vice versa. It will jump to the "right" section on page reload.”

Arian_Bozorg renamed this task from [MEX] ?.? Implement statement grouping in Javascript / Vue to [MEX] M5 - Implement statement grouping in Javascript / Vue.Jan 23 2026, 1:18 AM

Does this task still relevant? From my understanding, the current behavior of adding new statements in a wrong order will lead eventually that the statements would be grouped correctly. Do we want to change that logic as it matches the desktop bahavior?

Also:

according to the configured statement-grouping rules

What does it mean?

@Arian_Bozorg

Arian_Bozorg renamed this task from [MEX] M5 - Implement statement grouping in Javascript / Vue to [MEX2] Implement statement grouping in Javascript / Vue.May 18 2026, 3:11 PM