stable

Clone or download

Read-only

User can change relative dates display preference

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