feat: rename lists to projects #2697

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

View File

@ -356,7 +356,7 @@ const router = createRouter({
path: '/projects/:projectId',
name: 'project.index',
redirect(to) {
// Redirect the user to project view by default
// Redirect the user to list view by default
konrad marked this conversation as resolved Outdated

This redirects indead to the list view!

This redirects indead to the `list` view!
const savedProjectView = getProjectView(to.params.projectId)
console.debug('Replaced project view with', savedProjectView)
konrad marked this conversation as resolved Outdated

Should be:

console.debug('Replaced list view with', savedProjectView)
Should be: ```ts console.debug('Replaced list view with', savedProjectView) ```

I'd argue this is a project view here. It can be any of the four views (or at least that's what I meant when I originally added the log).

I'd argue this is a project view here. It can be any of the four views (or at least that's what I meant when I originally added the log).

I thought that it was refering to the default view which is the 'list'. That's why it's replacing it. at all. If there is no saved view nothing will be replaced and the default stays list.

I thought that it was refering to the default view which is the 'list'. That's why it's replacing it. at all. If there is no saved view nothing will be replaced and the default stays list.

okay that makes sense.

okay that makes sense.

Changed!

Changed!