Skip to content

Commit e15839f

Browse files
authored
Feedback pre-request with magic link (#756)
* feat: feedback pre-request * server: refactoring * client: refactoring * client: rename History component * client: wip * client: simplifying... * client: almost done ! * client: everything looks good! * client,server: update packages * Reduce FEEDBACK_PRE_REQUEST_MAX_USES to 10. * client: fix "--mat-snackbar-*" -> "--mat-snack-bar-*" * client: improve copy magic link to clipboard * client: improve CopyToClipboardComponent * client: improve RequestFeedbackSuccessComponent * Minor changes * client,server: fix confusion between email_invalid and token_invalid
1 parent d02f0fc commit e15839f

File tree

51 files changed

+1713
-378
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+1713
-378
lines changed

Pre-Request-Feedback-Implementation.md

Lines changed: 623 additions & 0 deletions
Large diffs are not rendered by default.

client/package-lock.json

Lines changed: 80 additions & 80 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
"tailwindcss": "^4.1.18",
8484
"ts-node": "^10.9.2",
8585
"typescript": "~5.9.3",
86-
"typescript-eslint": "^8.51.0",
86+
"typescript-eslint": "^8.52.0",
8787
"vitest": "^4.0.16"
8888
}
8989
}

client/src/app/app.routes.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ export const routes: Routes = [
2525
path: 'request',
2626
loadChildren: () => import('./request-feedback/request-feedback.routes'),
2727
},
28+
{
29+
path: 'pre-request',
30+
loadChildren: () => import('./pre-request-feedback/pre-request-feedback.routes'),
31+
},
2832
{
2933
path: 'give',
3034
loadChildren: () => import('./give-feedback/give-feedback.routes'),
@@ -40,9 +44,9 @@ export const routes: Routes = [
4044
},
4145
{
4246
path: 'history/type/:type',
43-
loadComponent: () => import('./history/history.component'),
47+
loadComponent: () => import('./feedback-history/feedback-history.component'),
4448
canActivate: [authGuard],
45-
title: 'FeedZback - ' + $localize`:@@Title.History:Historique de mes feedZbacks`,
49+
title: 'FeedZback - ' + $localize`:@@Title.FeedbackHistory:Historique de mes feedZbacks`,
4650
},
4751
{
4852
path: 'history/id/:id',

client/src/app/feedback-details/feedback-details.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
@default {
1010
<button class="gbl-link gbl-link--back" [routerLink]="['/history/type', feedbackDetails.type]">
1111
<mat-icon>arrow_back</mat-icon>
12-
<ng-container i18n="@@Title.History">Historique de mes feedZbacks</ng-container>
12+
<ng-container i18n="@@Title.FeedbackHistory">Historique de mes feedZbacks</ng-container>
1313
</button>
1414
}
1515
}

0 commit comments

Comments
 (0)