Skip to content

Commit

Permalink
client: improve manager page titles (#732)
Browse files Browse the repository at this point in the history
  • Loading branch information
avine authored Dec 16, 2024
1 parent 46f056d commit 5fbf4fa
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 7 deletions.
2 changes: 1 addition & 1 deletion client/e2e/requested-feedback.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ test('Requested feedback', async ({ page }) => {
await managerPage.matchDoneFeedback(Persona.Bernard, Persona.Alfred, feedbackDetails);

// Go back to the list of shared feedbacks
await page.getByRole('button', { name: 'FeedZbacks partagés' }).click();
await page.getByRole('button', { name: 'Liste des feedZbacks partagés' }).click();
await page.waitForURL('/fr/manager/list/**');

// View the feedback expected from Charles
Expand Down
1 change: 0 additions & 1 deletion client/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ export const routes: Routes = [
path: 'manager',
loadChildren: () => import('./manager/manager.routes'),
canActivate: [authGuard, managerGuard],
title: 'FeedZback - ' + $localize`:@@Action.Manager: Manager `,
},
{
path: 'sign-in',
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<button class="gbl-link gbl-link--back" [routerLink]="['../../list', document().receiverEmail]">
<mat-icon>arrow_back</mat-icon>
<ng-container i18n="@@Title.SharedFeedZbacks">FeedZbacks partagés</ng-container>
<ng-container i18n="@@Title.SharedFeedbackList">Liste des feedZbacks partagés</ng-container>
</button>

<h1 class="gbl-page-title">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1 class="gbl-page-title">
<!-- TODO: remove the "overflow-visible" CSS once the "hub" Material icon is fixed (it is currently cropped)-->
<mat-icon class="!overflow-visible">hub</mat-icon>
<ng-container i18n="@@Title.SharedFeedZbacks">FeedZbacks partagés</ng-container>
<ng-container i18n="@@Title.SharedFeedbackList">Liste des feedZbacks partagés</ng-container>
</h1>

<mat-form-field appearance="outline" class="w-full">
Expand Down
2 changes: 2 additions & 0 deletions client/src/app/manager/manager.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,13 @@ export const managerRoutes: Routes = [
path: 'list/:managedEmail',
loadComponent: () => import('./manager-list/manager-list.component'),
resolve: { list: managerListResolver },
title: 'FeedZback - ' + $localize`:@@Title.SharedFeedbackList:Liste des feedZbacks partagés`,
},
{
path: 'document/:feedbackId',
loadComponent: () => import('./manager-document/manager-document.component'),
resolve: { document: managerDocumentResolver },
title: 'FeedZback - ' + $localize`:@@Title.SharedFeedbackDetails:Détails du FeedZback partagé`,
},
];

Expand Down
5 changes: 3 additions & 2 deletions client/src/locales/messages.en.json
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@
"Title.AppTagline": "Request and give feedback to your colleagues",
"Title.Confirmation": "Confirmation",
"Title.Drafts": "Draft",
"Title.FeedbackDetails": "Feedback details",
"Title.FeedbackDetails": "FeedZback details",
"Title.FeedbackGiven": "FeedZback given",
"Title.FeedbackToGive": "FeedZback to give",
"Title.GiveFeedback": "Give spontaneous feedZback",
Expand All @@ -172,7 +172,8 @@
"Title.RequestedFeedback": "FeedZback requested",
"Title.RequestedFeedbackList": "Reply to feedZback requests",
"Title.Settings": "Settings",
"Title.SharedFeedZbacks": "Shared feedZbacks",
"Title.SharedFeedbackDetails": "Shared feedZback details",
"Title.SharedFeedbackList": "Shared feedZback list",
"Title.SignIn": "Sign in",
"Word.Later": "Later",
"Word.Or": "or"
Expand Down
3 changes: 2 additions & 1 deletion client/src/locales/messages.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,8 @@
"Title.RequestedFeedback": "FeedZback demandé",
"Title.RequestedFeedbackList": " Répondre aux demandes de feedZback ",
"Title.Settings": "Paramètres",
"Title.SharedFeedZbacks": "FeedZbacks partagés",
"Title.SharedFeedbackDetails": "Détails du FeedZback partagé",
"Title.SharedFeedbackList": "Liste des feedZbacks partagés",
"Title.SignIn": "Se connecter",
"Word.Later": "Plus tard",
"Word.Or": "ou"
Expand Down

0 comments on commit 5fbf4fa

Please sign in to comment.