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 4 additions and 4 deletions
Showing only changes of commit a734bad5e4 - Show all commits

View File

@ -14,7 +14,7 @@
</router-link>
</message>
<add-task
@taskAdded="updateTaskProject"
@taskAdded="updateTaskKey"
konrad marked this conversation as resolved Outdated

This should either:

  • stay the same (since it could refer to the list layout that we show here) or
  • be updated to updateProject.
This should either: - stay the same (since it could refer to the list layout that we show here) or - be updated to `updateProject`.

Yes. I've updated it.

Yes. I've updated it.
class="is-max-width-desktop"
/>
<template v-if="!hasTasks && !loading">
@ -102,7 +102,7 @@ const deletionScheduledAt = computed(() => parseDateOrNull(authStore.info?.delet
// FIXME: Should use pinia (somehow?)
const showTasksKey = ref(0)
function updateTaskProject() {
function updateTaskKey() {
konrad marked this conversation as resolved Outdated

See above.

See above.
showTasksKey.value++
}
</script>

View File

@ -58,7 +58,7 @@
class="list-view__add-task"
konrad marked this conversation as resolved Outdated

This should stay list-view__add-task

This should stay `list-view__add-task`
ref="addTaskRef"
:default-position="firstNewPosition"
@taskAdded="updateTaskProject"
@taskAdded="updateTaskList"
/>
<nothing v-if="ctaVisible && tasks.length === 0 && !loading">
@ -246,7 +246,7 @@ function focusNewTaskInput() {
addTaskRef.value?.focusTaskInput()
}
function updateTaskProject(task: ITask) {
function updateTaskList(task: ITask) {
if (isAlphabeticalSorting.value ) {
// reload tasks with current filter and sorting
loadTasks()