Repository navigation
Bugfix Issue 2126 Authored Usability Chapter
Chapter 24 (Non-Functional: Usability Testing) was a read-only page.
gui/templates/strategy/nfrUsability.html had no textarea and no save action,
so teams could not record target-user task walkthroughs, learnability goals or
satisfaction criteria for their project.
The chapter page was still a static translated page. Unlike the existing
Accessibility, Compatibility, Reliability, Maintainability and Introduction
editors, it was not wired to api/strategychapter/index.php, and the report
title map in gui/templates/results/strategyReport.html did not recognize the
usability chapter code. The BFF allowlist in schapterCodes() had no
usability entry either, even though the chapter was already exposed by
api/strategy/index.php.
-
api/strategychapter/index.php: addedusabilitytoschapterCodes()and to the documented route contract, soinit,listandsaveuse the same per-project persistence and rights checks as the other authored chapters. -
gui/templates/strategy/nfrUsability.html: added the Dashio editor with a textarea, author/timestamp metadata, Save button, localized status messages, project-context footer and the same 401/403/400 error handling as the Accessibility editor. Read-only project roles get a disabled textarea and Save button. -
gui/templates/results/strategyReport.html: addedusability: 'ts.chapterUsability'tochapterTitle()so panel 11 uses the localized title in Markdown, HTML, PDF and print exports. -
gui/templates/i18n/*.json: addedts.useNotesTitle,ts.useNotesHint,ts.useNotesLabelandts.useNotesSaveto all ten bundles, and localizedts.chapterUsability/ts.chapterUsabilityDescin the eight non-English bundles;enremains the source string androalready had both translated.


-
php -l api/strategychapter/index.php: no syntax errors. - Extracted page JavaScript passed
node --check;grep -c '<textarea>'→ 1. -
python3 -m json.toolpassed for all ten bundles; i18n gate 9/9. - Admin UI: saved
Usability note saved for #2126 verification.and reloaded; metadata showedUpdated: 2026-11-30 00:59:31 by admin. - BFF
listreturned three chapter objects with codesaccessibility,compatibilityandusability. - German report panel 11 showed
Benutzbarkeitstests · Letzter Autor: admin · Aktualisiert: 2026-11-30 00:59:31and the saved note; no untranslatedUsability Testingheading remained. - Read-only project role 3: disabled textarea/Save and localized 403 message.
- Event Viewer: 25 AUDIT rows; 0 Error/Warning entries.
PASS — Fixes #2126. Refs #2101, #2127, #2128, #2129, #2130.