mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-14 20:40:17 -05:00
Merge pull request #21273 from overleaf/jel-tag-names
[web] Update popular tag names on dash to reflect new names GitOrigin-RevId: 76e40103102934c260bca3728af66f28bfcba568
This commit is contained in:
parent
1b2385dfce
commit
74a475322e
2 changed files with 13 additions and 13 deletions
|
@ -6,39 +6,39 @@ import { bsVersionDecorator } from '../../../.storybook/utils/with-bootstrap-swi
|
||||||
|
|
||||||
const templateLinks = [
|
const templateLinks = [
|
||||||
{
|
{
|
||||||
name: 'Academic Journal',
|
name: 'Journal articles',
|
||||||
url: '/gallery/tagged/academic-journal',
|
url: '/gallery/tagged/academic-journal',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Book',
|
name: 'Books',
|
||||||
url: '/gallery/tagged/book',
|
url: '/gallery/tagged/book',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Formal Letter',
|
name: 'Formal letters',
|
||||||
url: '/gallery/tagged/formal-letter',
|
url: '/gallery/tagged/formal-letter',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Homework Assignment',
|
name: 'Assignments',
|
||||||
url: '/gallery/tagged/homework',
|
url: '/gallery/tagged/homework',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Poster',
|
name: 'Posters',
|
||||||
url: '/gallery/tagged/poster',
|
url: '/gallery/tagged/poster',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Presentation',
|
name: 'Presentations',
|
||||||
url: '/gallery/tagged/presentation',
|
url: '/gallery/tagged/presentation',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Project / Lab Report',
|
name: 'Reports',
|
||||||
url: '/gallery/tagged/report',
|
url: '/gallery/tagged/report',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Résumé / CV ',
|
name: 'CVs and résumés',
|
||||||
url: '/gallery/tagged/cv',
|
url: '/gallery/tagged/cv',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Thesis',
|
name: 'Theses',
|
||||||
url: '/gallery/tagged/thesis',
|
url: '/gallery/tagged/thesis',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -15,7 +15,7 @@ describe('<NewProjectButton />', function () {
|
||||||
Object.assign(getMeta('ol-ExposedSettings'), {
|
Object.assign(getMeta('ol-ExposedSettings'), {
|
||||||
templateLinks: [
|
templateLinks: [
|
||||||
{
|
{
|
||||||
name: 'Academic Journal',
|
name: 'Journal articles',
|
||||||
url: '/gallery/tagged/academic-journal',
|
url: '/gallery/tagged/academic-journal',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -44,7 +44,7 @@ describe('<NewProjectButton />', function () {
|
||||||
screen.getByText('Templates')
|
screen.getByText('Templates')
|
||||||
|
|
||||||
// dynamic menu based on templateLinks
|
// dynamic menu based on templateLinks
|
||||||
screen.getByText('Academic Journal')
|
screen.getByText('Journal articles')
|
||||||
screen.getByText('View All')
|
screen.getByText('View All')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
@ -80,7 +80,7 @@ describe('<NewProjectButton />', function () {
|
||||||
Object.assign(getMeta('ol-ExposedSettings'), {
|
Object.assign(getMeta('ol-ExposedSettings'), {
|
||||||
templateLinks: [
|
templateLinks: [
|
||||||
{
|
{
|
||||||
name: 'Academic Journal',
|
name: 'Journal articles',
|
||||||
url: '/gallery/tagged/academic-journal',
|
url: '/gallery/tagged/academic-journal',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -127,7 +127,7 @@ describe('<NewProjectButton />', function () {
|
||||||
screen.getByText('Templates')
|
screen.getByText('Templates')
|
||||||
|
|
||||||
// dynamic menu based on templateLinks
|
// dynamic menu based on templateLinks
|
||||||
screen.getByText('Academic Journal')
|
screen.getByText('Journal articles')
|
||||||
screen.getByText('View All')
|
screen.getByText('View All')
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue