Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update "Comparison" and "Inquiry" #491

Merged
merged 1 commit into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 12 additions & 14 deletions libs/upd/i18n/src/lib/translations/en-CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"d3-hard-to-understand": "Info is hard to understand",
"d3-error": "Error/something didn't work",
"d3-other": "Other reason",
"d3-tcbil": "Total calls by inquiry line",
"d3-tcbel": "Total calls by enquiry line",
"d3-ITE": "Individual Tax Enquiries (ITE)",
"d3-e-Services Help Desk": "e-Services Help Desk",
"d3-Benefits": "Benefits",
Expand Down Expand Up @@ -316,11 +316,11 @@
"Task success by UX Test": "Task success by UX Test",
"nodata-available": "Data is not available for this date range.",
"project": "UX project",
"comparison-for-clicks": "Comparison (for clicks)",
"change-for-clicks": "Change (for clicks)",
"Breakdown by Page - Search from Google": "Breakdown by Page - Search from Google",
"comparison-for-No-answer": "Comparison (for No answer)",
"comparison-for-searches": "Comparison (for Searches)",
"comparison-for-comments": "Comparison (for number of comments)",
"change-for-No-answer": "Change (for No answer)",
"change-for-searches": "Change (for Searches)",
"change-for-comments": "Change (for number of comments)",
"% of visitors who left feedback": "% of visitors who left feedback",
"Breakdown by Page - Did you find what you were looking for?": "Breakdown by Page - Did you find what you were looking for?",
"Scenario": "Scenario",
Expand Down Expand Up @@ -428,24 +428,23 @@
"kpi-ux-test-success-all-guidance": "<strong>What is this?</strong> <br />The percentage of average success rate for all tasks, using the latest success rate from their most recent UX test. Note: Not all tasks have been tested.<br />The target for this Key performance indicator is 80%.<br /><br /><strong>How is this KPI calculated?</strong> <br />A: The sum of success rates of the most recent tasks tested<br />B: Total number of tasks tested<br /> <br />A/B<br /><br />",
"kpi-ux-test-success-all-text": "{{unique}}/{{total}} unique tasks tested",


"kpi-ux-test-improved-title": "Average Success Rate on Improved Tasks",
"kpi-ux-test-improved-tooltip": "Average success rate on all improved tasks",
"kpi-ux-test-improved-guidance": "<strong>What is this?</strong> <br />The percentage of average success rate for improved tasks from their latest validation UX test. It also measures improvement by comparing the average success rate of previous UX tests (baseline) with the most recent UX tests (validation).<br />The target for this Key performance indicator is 80%.<br /><br /><strong>How is this KPI calculated?</strong> <br />A: The sum of validation success rates on all improved tasks<br />B: Total number of tasks tested<br /> <br />A/B<br /><br />Improvement is a difference of this average success rate and the average success rate of all improved tasks from their baseline UX tests.<br /><br />",
"kpi-ux-test-improved-text": "{{unique}}/{{total}} unique tasks tested",
"kpi-ux-test-improved-text": "{{unique}}/{{total}} unique tasks tested",

"increase": "increase",
"decrease": "decrease",
"from Baseline UX tests": "from Baseline UX tests",
"increase from Baseline UX tests": "{{value}} increase from Baseline UX tests",
"decrease from Baseline UX tests": "{{value}} decrease from Baseline UX tests",
" from Baseline UX tests": "{{value}} improvement from Baseline UX tests",

"kpi-ux-test-top50-title": "Average Success Rate on Top 50 Tasks",
"kpi-ux-test-top50-tooltip": "Average Success Rate of tasks ranked in the top 50 based on performance metrics from the previous quarter",
"kpi-ux-test-top50-guidance": "<strong>What is this?</strong> <br />This KPI measures the average success rate of tasks ranked in the top 50 from the previous quarter. It includes only improved tasks, which have both baseline and validation UX tests. It also measures improvement by comparing the average success rate of previous UX tests (baseline) with the most recent UX tests (validation) for these tasks.<br />The target for this Key performance indicator is 80%.<br /><br /><strong>How is this KPI calculated?</strong> <br />A: A: The sum of success rates for all improved top 50 tasks in the latest validation tests<br />B: Total number of improved tasks tested<br /> <br />A/B<br /><br />Improvement is the difference between this average success rate and the average success rate of the same tasks in their baseline tests.<br /><br />",
"kpi-ux-test-top50-text": "{{unique}}/{{total}} unique tasks tested",
"kpi-ux-test-top50-text": "{{unique}}/{{total}} unique tasks tested",

"Total searches": "Total searches",

"Projects in progress": "UX projects in progress",
Expand Down Expand Up @@ -665,7 +664,6 @@
"Oops! No data was found": "Oops! We can't find that report.",
"It looks like the report ID not found": "<p>The report you're looking for might have been removed or is temporarily unavailable.</p><p>Please try again.</p>",


"------TASKS----": "---------------------------TASKS TRANSLATION--------------------------------------",
"Manage or update a My Business Account": "Manage or update a My Business Account",
"Open a My Account": "Open a My Account",
Expand Down Expand Up @@ -1108,8 +1106,8 @@
"Seniors": "Seniors",

"------GC Tasks----": "---------------------------GC Tasks TRANSLATION--------------------------------------",
"Insufficient data" : "Insufficient data",
"Higher margin of error/Use data with caution" : "Higher margin of error/Use data with caution",
"Insufficient data": "Insufficient data",
"Higher margin of error/Use data with caution": "Higher margin of error/Use data with caution",
"Low margin of error/Reliable data": "Low margin of error/Reliable data",

"------PAGE FEEDBACK What Was Wrong categories----": "---------------------------PAGE FEEDBACK What Was Wrong categories TRANSLATION--------------------------------------",
Expand Down
28 changes: 14 additions & 14 deletions libs/upd/i18n/src/lib/translations/fr-CA.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"d3-hard-to-understand": "L'info est difficile à comprendre",
"d3-error": "Erreur/quelque chose n'a pas fonctionné",
"d3-other": "Autre raison",
"d3-tcbil": "Nombre total des appels par ligne de renseignements",
"d3-tcbel": "Nombre total des appels par ligne de renseignements",
"d3-ITE": "Demandes de renseignements sur l'impôt des particuliers (DRIP)",
"d3-e-Services Help Desk": "Services électroniques - bureau d'aide",
"d3-Benefits": "Prestations",
Expand Down Expand Up @@ -315,11 +315,11 @@
"Task success by UX Test": "Succès de la tâche par test UX",
"nodata-available": "Les données ne sont pas disponibles pour cette plage de dates.",
"project": "UX projet",
"comparison-for-clicks": "Comparaison (pour les clics)",
"change-for-clicks": "Changement (pour les clics)",
"Breakdown by Page - Search from Google": "Répartition par page - Recherche à partir de Google",
"comparison-for-No-answer": "Comparaison (pour réponses \"Non\")",
"comparison-for-searches": "Comparaison (pour Recherches)",
"comparison-for-comments": "Comparaison (pour nombre de commentaires)",
"change-for-No-answer": "Changement (pour réponses \"Non\")",
"change-for-searches": "Changement (pour Recherches)",
"change-for-comments": "Changement (pour nombre de commentaires)",
"% of visitors who left feedback": "% de visiteurs ayant laissé des commentaires",
"Breakdown by Page - Did you find what you were looking for?": "Répartition par page - Avez-vous trouvé ce que vous cherchiez?",
"Scenario": "Scénario",
Expand Down Expand Up @@ -430,9 +430,9 @@
"kpi-ux-test-improved-title": "Taux de réussite moyen sur les tâches améliorées",
"kpi-ux-test-improved-tooltip": "Taux de réussite moyen sur toutes les tâches améliorées",
"kpi-ux-test-improved-guidance": "<strong>Qu'est-ce que c'est?</strong> <br />Le pourcentage de taux de réussite moyen pour les tâches améliorées à partir de leur dernier test de validation UX. Il mesure également l'amélioration en comparant le taux de réussite moyen des tests UX précédents (base de référence) avec les tests UX les plus récents (validation).<br />L'objectif pour cet indicateur de performance clé est de 80%.<br /><br /><strong>Comment cet ICR est-il calculé?</strong> <br />A: La somme des taux de réussite de validation sur toutes les tâches améliorées<br />B: Nombre total de tâches testées<br /> <br />A/B<br /><br />L'amélioration est la différence entre ce taux de réussite moyen et le taux de réussite moyen de toutes les tâches améliorées par rapport à leurs tests UX de base.<br /><br />",
"kpi-ux-test-improved-text": "{{unique}}/{{total}} tâches uniques testées",
"kpi-ux-test-improved-text": "{{unique}}/{{total}} tâches uniques testées",

"increase": "d'augmentation",
"increase": "d'augmentation",
"decrease": "de diminution",
"from Baseline UX tests": "à partir des tests UX de base",
"increase from Baseline UX tests": "Augmentation de {{value}} par rapport aux tests UX de bases",
Expand All @@ -442,7 +442,7 @@
"kpi-ux-test-top50-title": "Taux de réussite moyen des 50 principales tâches",
"kpi-ux-test-top50-tooltip": "Taux de réussite moyen des tâches classées parmi les 50 premières selon les métriques de performance du trimestre précédent.",
"kpi-ux-test-top50-guidance": "<strong>Qu'est-ce que c'est?</strong> <br />Ce KPI mesure le taux de réussite moyen des tâches classées parmi les 50 premières du trimestre précédent. Il inclut uniquement les tâches améliorées, qui ont à la fois des tests UX de base et de validation. Il mesure également l'amélioration en comparant le taux de réussite moyen des tests UX précédents (de base) avec les tests UX les plus récents (validation) pour ces tâches.<br />L'objectif de cet indicateur de performance clé est de 80 %.<br /><br /><strong>Comment cet ICR est-il calculé?</strong> <br />A: La somme des taux de réussite de toutes les tâches améliorées parmi les 50 premières dans les tests de validation les plus récents<br />B: Nombre total de tâches améliorées testées<br /> <br />A/B<br /><br />L'amélioration est la différence entre ce taux de réussite moyen et le taux de réussite moyen des mêmes tâches dans leurs tests de base.<br /><br />",
"kpi-ux-test-top50-text": "{{unique}}/{{total}} tâches uniques testées",
"kpi-ux-test-top50-text": "{{unique}}/{{total}} tâches uniques testées",

"Total searches": "Recherches totales",

Expand Down Expand Up @@ -911,7 +911,7 @@
"Seattle (United States)": "Seattle (États-Unis)",

"------TASKS----": "---------------------------TASKS TRANSLATION--------------------------------------",

"Manage or update a My Business Account": "Gérer ou mettre à jour un compte Mon dossier d’entreprise",
"Open a My Account": "Ouvrir un compte Mon dossier",
"Get a copy of my T1 notice of assessment or reassessment": "Obtenir une copie de mon avis de cotisation (ADC) T1 ou de nouvelle cotisation",
Expand Down Expand Up @@ -1239,7 +1239,7 @@
"Find out about the Children's special allowances (CSA)": "Renseignez vous sur Les allocations spéciales pour enfants (ASE)",
"Apply for or cancel Children's special allowances (CSA)": "Demander ou annuler les allocations spéciales pour enfants (ASE)",
"Send mail to the CRA": "Envoyer un courrier à l'ARC",

"---END-TASKS---": "--------------------------END TASK TRANSLATION------------------------------------",

"---TASKS-TOPICS---": "---------------TASK TOPICS and SUB TOPICS (categories and sub-categories------------------",
Expand Down Expand Up @@ -1274,7 +1274,7 @@
"Report": "Rapport",

"------GC TASKS----": "---------------------------GC TASKS TRANSLATION--------------------------------------",

"Apply for the Canada Child Benefit": "Demander l’Allocation canadienne pour enfants",
"Apply for the disability tax credit": "Demander le crédit d’impôt pour personnes handicapées",
"Canada Emergency Recovery Benefit repayment (CERB)": "Remboursement de la Prestation canadienne d'urgence (PCU)",
Expand Down Expand Up @@ -1328,7 +1328,7 @@
"Tourism and Hospitality Recovery Program (THRP)": "Programme de relance pour le tourisme et l'accueil (PRTA)",
"View or download T4 and other tax slips": "Voir et télécharger les feuillets T4 et autres feuillets fiscaux",
"What to do following a death": "Quoi faire après un décès",

"------PROJECTS----": "---------------------------PROJECTS TRANSLATION--------------------------------------",
"Canada Child Benefit (CCB)": "Allocation canadienne pour enfants (ACE)",
"Benefits and Credits - UX and web content improvements": "Prestations et crédits – amélioration de l'expérience utilisateur et du contenu Web",
Expand Down Expand Up @@ -1409,8 +1409,8 @@
"Seniors": "Personnes âgées (y compris SV / SRG / RPC)",

"------GC Tasks----": "---------------------------GC Tasks TRANSLATION--------------------------------------",
"Insufficient data" : "Données insuffisantes",
"Higher margin of error/Use data with caution" : "Marge d'erreur plus élevée / Utiliser les données avec prudence",
"Insufficient data": "Données insuffisantes",
"Higher margin of error/Use data with caution": "Marge d'erreur plus élevée / Utiliser les données avec prudence",
"Low margin of error/Reliable data": "Faible marge d'erreur / Données fiables",

"------PAGE FEEDBACK What Was Wrong categories----": "---------------------------PAGE FEEDBACK What Was Wrong categories TRANSLATION--------------------------------------",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -816,7 +816,7 @@ export class OverviewFacade {
{ field: 'subtopic', header: 'sub-topic', translate: true },
{ field: 'sub_subtopic', header: 'sub-subtopic', translate: true },
{ field: 'calls', header: 'calls', pipe: 'number' },
{ field: 'change', header: 'comparison', pipe: 'percent' },
{ field: 'change', header: 'change', pipe: 'percent' },
],
);

Expand All @@ -843,7 +843,7 @@ export class OverviewFacade {
{ field: 'subtopic', header: 'sub-topic', translate: true },
{ field: 'sub_subtopic', header: 'sub-subtopic', translate: true },
{ field: 'calls', header: 'calls', pipe: 'number' },
{ field: 'change', header: 'comparison', pipe: 'percent' },
{ field: 'change', header: 'change', pipe: 'percent' },
],
);

Expand All @@ -861,7 +861,7 @@ export class OverviewFacade {
{ field: 'total_searches', header: 'Total searches', pipe: 'number' },
{
field: 'searchesChange',
header: 'comparison-for-searches',
header: 'change-for-searches',
pipe: 'percent',
},
{ field: 'clicks', header: 'clicks', pipe: 'number' },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<div class="row">
<div class="col">
<upd-apex-bar
[title]="'d3-tcbil'"
[title]="'d3-tcbel'"
[series]="(apexCallDriversChart$ | async) || []"
[xAxis]="[calldriversCols[1].header, calldriversCols[2].header]"
[yAxis]="'Number of calls' | translate"
Expand All @@ -39,7 +39,7 @@
<div class="row">
<div class="col">
<upd-charts
[title]="'d3-tcbil'"
[title]="'d3-tcbel'"
[yAxisLabel]="'Number of calls (in thousands)'"
[showXAxisLabel]="false"
[showGridLines]="true"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export class OverviewCalldriversComponent implements OnInit {
this.calldriversCols = [
{
field: 'name',
header: this.i18n.service.translate('Inquiry line', lang),
header: this.i18n.service.translate('enquiry_line', lang),
},
{
field: 'currValue',
Expand Down Expand Up @@ -128,7 +128,7 @@ export class OverviewCalldriversComponent implements OnInit {
},
{
field: 'change',
header: 'comparison',
header: 'change',
pipe: 'percent',
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,14 +166,26 @@ export class OverviewFeedbackComponent {
},
{
field: 'percentChange',
header: 'comparison',
header: 'change',
pipe: 'percent',
},
]);

mostRelevantCommentsColumns: ColumnConfig<FeedbackWithScores>[] = [
{ field: 'rank', header: 'Rank', width: '10px', center: true, frozen: true },
{ field: 'date', header: 'Date', pipe: 'date', width: '100px', frozen: true },
{
field: 'rank',
header: 'Rank',
width: '10px',
center: true,
frozen: true,
},
{
field: 'date',
header: 'Date',
pipe: 'date',
width: '100px',
frozen: true,
},
{ field: 'url', header: 'URL' },
{ field: 'owners', header: 'Area', width: '10px', hide: true },
{ field: 'sections', header: 'Section', hide: true },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export class OverviewSearchAnalyticsComponent implements OnInit {
},
{
field: 'percentChange',
header: this.i18n.service.translate('comparison', lang),
header: this.i18n.service.translate('change', lang),
pipe: 'percent',
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ export class OverviewWebtrafficComponent implements OnInit {
},
{
field: 'percentChange',
header: this.i18n.service.translate('comparison', lang),
header: this.i18n.service.translate('change', lang),
pipe: 'percent',
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@ export class PagesDetailsFacade {
>(this.i18n.service, [
{ field: 'term', header: 'search-term' },
{ field: 'clicks', header: 'clicks', pipe: 'number' },
{ field: 'clicksChange', header: 'comparison-for-clicks', pipe: 'percent' },
{ field: 'clicksChange', header: 'change-for-clicks', pipe: 'percent' },
{
field: 'position',
header: 'position',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export class PagesDetailsSearchAnalyticsComponent implements OnInit {
},
{
field: 'change',
header: this.i18n.service.translate('comparison', lang),
header: this.i18n.service.translate('change', lang),
pipe: 'percent',
},
{
Expand Down Expand Up @@ -114,7 +114,7 @@ export class PagesDetailsSearchAnalyticsComponent implements OnInit {
},
{
field: 'change',
header: this.i18n.service.translate('comparison', lang),
header: this.i18n.service.translate('change', lang),
pipe: 'percent',
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ export class PagesDetailsSummaryComponent implements OnInit {
},
{
field: 'change',
header: this.i18n.service.translate('comparison', lang),
header: this.i18n.service.translate('change', lang),
pipe: 'percent',
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class PagesDetailsWebtrafficComponent implements OnInit {
},
{
field: 'change',
header: this.i18n.service.translate('comparison', lang),
header: this.i18n.service.translate('change', lang),
pipe: 'percent',
},
];
Expand Down Expand Up @@ -110,7 +110,7 @@ export class PagesDetailsWebtrafficComponent implements OnInit {
},
{
field: 'clicksChange',
header: this.i18n.service.translate('comparison', lang),
header: this.i18n.service.translate('change', lang),
pipe: 'percent',
},
];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ export class ProjectsDetailsFacade {
},
{
field: 'comparison',
header: 'comparison',
header: 'change',
pipe: 'percent',
},
],
Expand Down Expand Up @@ -962,7 +962,7 @@ export class ProjectsDetailsFacade {
>(this.i18n.service, [
{ field: 'term', header: 'search-term' },
{ field: 'clicks', header: 'clicks', pipe: 'number' },
{ field: 'clicksChange', header: 'comparison-for-clicks', pipe: 'percent' },
{ field: 'clicksChange', header: 'change-for-clicks', pipe: 'percent' },
{
field: 'position',
header: 'position',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<div class="row">
<div class="col">
<upd-apex-bar
[title]="'d3-tcbil'"
[title]="'d3-tcbel'"
[series]="(apexCalldriversChart$ | async) || []"
[xAxis]="[
(dateRangeLabel$ | async) || '',
(comparisonDateRangeLabel$ | async) || ''
(comparisonDateRangeLabel$ | async) || '',
]"
[yAxis]="'Number of calls' | translate"
[table]="calldriversTable$ | async"
Expand Down
Loading