feat: rename lists to projects #2697

Closed
konrad wants to merge 53 commits from feature/rename-lists-to-projects into main
2 changed files with 3 additions and 3 deletions
Showing only changes of commit b2884af81b - Show all commits

View File

@ -227,7 +227,7 @@ type SelectedViewMapper = Record<IProject['id'], ProjectView>
const selectedView = ref<SelectedViewMapper>({})
const availableViews = computed<Record<ProjectView, string>>(() => ({
project: t('project.list.title'),
list: t('project.list.title'),
konrad marked this conversation as resolved Outdated

The view is still called list:

list: t('project.list.title'),
The view is still called `list`: ```ts list: t('project.list.title'), ```

That's true. Fixed.

That's true. Fixed.
gantt: t('project.gantt.title'),
table: t('project.table.title'),
kanban: t('project.kanban.title'),
@ -285,7 +285,7 @@ async function remove(projectId: IProject['id']) {
}
}
function getShareLink(hash: string, view: ProjectView = PROJECT_VIEWS.PROJECT) {
function getShareLink(hash: string, view: ProjectView = PROJECT_VIEWS.LIST) {
return frontendUrl.value + 'share/' + hash + '/auth?view=' + view
}
</script>

View File

@ -1,5 +1,5 @@
export const PROJECT_VIEWS = {
PROJECT: 'project',
LIST: 'list',
GANTT: 'gantt',
TABLE: 'table',
KANBAN: 'kanban',