Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
11.1.8
-
None
-
Unknown
-
Description
The JIRA chart and count macros show their class names as macro names, and several of their parameters use code identifiers as labels or descriptions that do not say what the parameter does.
The names and descriptions of the chart macros are in ApplicationResources.properties. The jiraCount macro has no translation, so its texts come from the annotations of JIRACountMacro.java and of AbstractJIRAMacroParameters.java, shared with the JIRA macro, for which JIRA-127 asks to improve the description of id.
- Macro names: use the words of the user, for example "JIRA pie chart", "JIRA created vs resolved chart", "JIRA issues grid" and "JIRA issue count".
- Labels: replace the code identifiers, "SortAscending", "SortNatural" and "count", with labels that say what they change.
- Descriptions: say what is counted, sorted or sized, and where the server id and the filter id come from.
KOs covered
| Macro | Criterion | Parameter | Problem |
|---|---|---|---|
| jiraBiDimensionalGridChart | D1 wording | "jiraBiDimensionalGridChart", the class name, with the jargon "BiDimensional". | |
| jiraCount | D1 wording | "JIRACount", the class name: neither "JIRA" nor "count" says what the user gets, the number of issues matching a query. | |
| jiraCreatedVsResolvedChart | D1 wording | "jiraCreatedVsResolvedChart", the class name, with the abbreviation "Vs". | |
| jiraPieChart | D1 wording | "jiraPieChart", the class name, also shown in the Quick Actions. | |
| jiraBiDimensionalGridChart | C1 clarity | sortAscending | The label is the code identifier, "SortAscending", and the description does not say what is sorted, the rows of the table. |
| jiraBiDimensionalGridChart | C1 clarity | sortNatural | The label is the code identifier, "SortNatural", "natural field order" is not a user term, and the checkbox means the opposite of sorting by totals. |
| jiraBiDimensionalGridChart | C1 clarity | numberOfResults | "Number of results" and "The number of results to return." do not say what is counted. |
| jiraCreatedVsResolvedChart | C1 clarity | count | The label is "count", its own id in lower case, and "Check if the data should be counted once, uncheck to accumulate the values." is hard to follow. |
| jiraPieChart | C1 clarity | type | "Type" is generic, and next to the option "Issue type" it can be read as the type of issue or of chart. |
| jiraPieChart | C1 clarity | maxData | Minor: "Data size" does not say what is sized, the user word is slices, as the documentation says. |
| jiraBiDimensionalGridChart, jiraCreatedVsResolvedChart, jiraPieChart | C1 clarity | filterId | Minor: does not say that the filter takes precedence over the query, nor that the id is the number of the filter in JIRA, with or without the "filter-" prefix. |
| jiraBiDimensionalGridChart, jiraCount, jiraCreatedVsResolvedChart, jiraPieChart | C1 clarity | id | Minor: does not say where the id is defined, the JIRA Macro configuration of the administration, nor that URL replaces it. |
Impact found on macro fluidity
These 17 KOs come from the WYSIWYG usability audit of the macros, applied to JIRA Macros 11.1.8 on XWiki 18.8.0, under the criteria D1 wording and C1 clarity of its usability criteria. The last two rows stand for one KO per macro.
Attachments
Issue Links
- relates to
-
JIRA-127 Improve the descriptions of the parameters of the JIRA macro
-
- Open
-