feat: namespaces store with composition api #2607

Merged
konrad merged 1 commits from dpschen/frontend:feature/feat-pinia-composition-namespaces-store into main 2022-10-31 20:40:57 +00:00
Member
No description provided.
dpschen added the
area/internal-code
label 2022-10-31 13:24:15 +00:00
konrad was assigned by dpschen 2022-10-31 13:24:15 +00:00
dpschen added 1 commit 2022-10-31 13:24:17 +00:00
continuous-integration/drone/pr Build is passing Details
7ec0928f03
feat: namespaces store with composition api
dpschen requested review from konrad 2022-10-31 13:24:21 +00:00
Member

Hi dpschen!

Thank you for creating a PR!

I've deployed the changes of this PR on a preview environment under this URL: https://2607-feature-feat-pinia-composition-n--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!

Beep boop, I'm a bot.

Hi dpschen! Thank you for creating a PR! I've deployed the changes of this PR on a preview environment under this URL: https://2607-feature-feat-pinia-composition-n--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! > Beep boop, I'm a bot.
konrad reviewed 2022-10-31 20:34:16 +00:00
@ -130,0 +40,4 @@
return namespaces.value.find(({id}) => id == namespaceId) || null
})
const searchNamespace = computed(() => {

Shouldn't this be a function instead of a computed?

Shouldn't this be a function instead of a computed?
Author
Member

Probably. I was not 100% sure while converting.

I just wanted to do a dumb conversion here, meaning getters will be computeds. Since I wanted this pull request as simple as possible I just continued with this logic.

We can do – and should – these kind of optimizations later.

Probably. I was not 100% sure while converting. I just wanted to do a dumb conversion here, meaning getters will be computeds. Since I wanted this pull request as simple as possible I just continued with this logic. We can do – and should – these kind of optimizations later.
konrad approved these changes 2022-10-31 20:35:59 +00:00
konrad left a comment
Owner

Looks good otherwise.

Looks good otherwise.
konrad merged commit 0832184222 into main 2022-10-31 20:40:57 +00:00
konrad deleted branch feature/feat-pinia-composition-namespaces-store 2022-10-31 20:40:57 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.