stable
Clone or download
Read-only
In user preferences ยป appareance & language, just like Username display, we can now choose the way relative dates are displayed. In order to iterate fast, the chosen strings for the select are considered good enough for a first step (it mimics Username ones). A dedicated changeset will deal with user experience later, with the help of our Design team. The change is reflected in artifact follow-up comments. Part of story #14828: display dates with both absolute and relative dates Change-Id: Ic5cb4002e42e4806d87f7a035a3a575862444a24
Modified Files
Name | ||||
---|---|---|---|---|
M | site-content/fr_FR/LC_MESSAGES/tuleap-core.po | +25 | โ1 | Go to diff View file |
M | src/common/Request/RouteCollector.php | +2 | โ2 | Go to diff View file |
M | src/common/User/Account/Appearance/AppearancePresenter.php | +38 | โ1 | Go to diff View file |
R | src/common/User/Account/Appearance/AppareancePresenterBuilder.php | Go to diff View file | ||
M | src/common/User/Account/DisplayAppearanceController.php | +3 | โ3 | Go to diff View file |
M | src/common/User/Account/UpdateAppearancePreferences.php | +32 | โ1 | Go to diff View file |
M | src/common/User/Account/templates/appearance.mustache | +1 | โ0 | Go to diff View file |
A | src/common/User/Account/templates/appearance/relative-dates.mustache | +22 | โ0 | Go to diff View file |
M | src/common/date/DateHelper.class.php | +5 | โ5 | Go to diff View file |
M | tests/e2e/full/cypress/integration/user_preferences.spec.ts | +15 | โ0 | Go to diff View file |
M | tests/unit/common/User/Account/DisplayAppearanceControllerTest.php | +5 | โ4 | Go to diff View file |
M | tests/unit/common/User/Account/UpdateAppearancePreferencesTest.php | +101 | โ0 | Go to diff View file |