From 74a475322ea1cea23db8efc4fe2223ec04db363e Mon Sep 17 00:00:00 2001 From: Jessica Lawshe <5312836+lawshe@users.noreply.github.com> Date: Wed, 23 Oct 2024 10:06:29 -0500 Subject: [PATCH] Merge pull request #21273 from overleaf/jel-tag-names [web] Update popular tag names on dash to reflect new names GitOrigin-RevId: 76e40103102934c260bca3728af66f28bfcba568 --- .../new-project-button.stories.tsx | 18 +++++++++--------- .../components/new-project-button.test.tsx | 8 ++++---- 2 files changed, 13 insertions(+), 13 deletions(-) diff --git a/services/web/frontend/stories/project-list/new-project-button.stories.tsx b/services/web/frontend/stories/project-list/new-project-button.stories.tsx index 097cfd99c0..86eb07f8d8 100644 --- a/services/web/frontend/stories/project-list/new-project-button.stories.tsx +++ b/services/web/frontend/stories/project-list/new-project-button.stories.tsx @@ -6,39 +6,39 @@ import { bsVersionDecorator } from '../../../.storybook/utils/with-bootstrap-swi const templateLinks = [ { - name: 'Academic Journal', + name: 'Journal articles', url: '/gallery/tagged/academic-journal', }, { - name: 'Book', + name: 'Books', url: '/gallery/tagged/book', }, { - name: 'Formal Letter', + name: 'Formal letters', url: '/gallery/tagged/formal-letter', }, { - name: 'Homework Assignment', + name: 'Assignments', url: '/gallery/tagged/homework', }, { - name: 'Poster', + name: 'Posters', url: '/gallery/tagged/poster', }, { - name: 'Presentation', + name: 'Presentations', url: '/gallery/tagged/presentation', }, { - name: 'Project / Lab Report', + name: 'Reports', url: '/gallery/tagged/report', }, { - name: 'Résumé / CV ', + name: 'CVs and résumés', url: '/gallery/tagged/cv', }, { - name: 'Thesis', + name: 'Theses', url: '/gallery/tagged/thesis', }, { diff --git a/services/web/test/frontend/features/project-list/components/new-project-button.test.tsx b/services/web/test/frontend/features/project-list/components/new-project-button.test.tsx index bbc0fb28fe..1629655973 100644 --- a/services/web/test/frontend/features/project-list/components/new-project-button.test.tsx +++ b/services/web/test/frontend/features/project-list/components/new-project-button.test.tsx @@ -15,7 +15,7 @@ describe('', function () { Object.assign(getMeta('ol-ExposedSettings'), { templateLinks: [ { - name: 'Academic Journal', + name: 'Journal articles', url: '/gallery/tagged/academic-journal', }, { @@ -44,7 +44,7 @@ describe('', function () { screen.getByText('Templates') // dynamic menu based on templateLinks - screen.getByText('Academic Journal') + screen.getByText('Journal articles') screen.getByText('View All') }) @@ -80,7 +80,7 @@ describe('', function () { Object.assign(getMeta('ol-ExposedSettings'), { templateLinks: [ { - name: 'Academic Journal', + name: 'Journal articles', url: '/gallery/tagged/academic-journal', }, { @@ -127,7 +127,7 @@ describe('', function () { screen.getByText('Templates') // dynamic menu based on templateLinks - screen.getByText('Academic Journal') + screen.getByText('Journal articles') screen.getByText('View All') }) })