feat: list settings edit script setup #1988
No reviewers
Labels
No Label
area/internal-code
changes requested
confirmed
dependencies
duplicate
good first issue
help wanted
hosting
invalid
kind/bug
kind/feature
question
wontfix
No Milestone
No project
No Assignees
3 Participants
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/frontend#1988
Loading…
Reference in New Issue
No description provided.
Delete Branch "dpschen/frontend:feature/feat-list-settings-edit-script-setup"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -113,0 +99,4 @@
watch(
() => route.params.listId,
async () => {
// loadList
I think this can be removed?
Yes it can. It was thought as a comment to explain what happens, because I removed the original function that was triggered by the watcher. Should I remove it / adjust casing?
Please do. Looks a bit lost right now.
Removed
Hi dpschen!
Thank you for creating a PR!
I've deployed the changes of this PR on a preview environment under this URL: https://1988-feature-feat-list-settings-edit---vikunja-frontend-preview.netlify.app
You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somehwere. The easiest to use is https://try.vikunja.io/.
Have a nice day!
ebf7d3ca0c
tod9556be2f9
Looks like the list data is not properly populated:
("another list with background" is the currently opened list, not the one I tried to edit)
There's a relevant error in the console which is probably the cause of that:
d9556be2f9
to1f566b6fdb
1f566b6fdb
todbe35700c1
Now the form is not populated at all:
There's this error in the console:
feat: list settings edit script setupto WIP: feat: list settings edit script setupdbe35700c1
to351539d70f
351539d70f
to668a42e9d8
WIP: feat: list settings edit script setupto feat: list settings edit script setupShould be fixed.
I moved the list loading logic outside in a useList composable.
By doing this we can use that logic easily in other components.
When I try to save the settings I get this error:
668a42e9d8
toa1b646cbf4
The "this will remove xx tasks" when removing a list does not seem to work anymore (it just spins). Removing a list works though.
I'm not sure if this was broken in this PR but it looks like removing does not work at all in the current main branch so I wouldn't say this is a blocker to merging this PR.