feat: make salutation i18n static #2546

Merged
konrad merged 4 commits from dpschen/frontend:feature/feat-static-i18n-salutation into main 2022-10-18 08:35:54 +00:00
Member
No description provided.
dpschen added 1 commit 2022-10-16 13:31:46 +00:00
continuous-integration/drone/pr Build is failing Details
c20de51a3c
feat: make salutation i18n static
dpschen requested review from konrad 2022-10-16 13:31:53 +00:00
konrad was assigned by dpschen 2022-10-16 13:31:56 +00:00
konrad reviewed 2022-10-16 16:33:09 +00:00
@ -79,3 +79,3 @@
import {useTaskStore} from '@/stores/tasks'
const welcome = useDateTimeSalutation()
const username = computed(() => userInfo.name !== '' ? userInfo.name : userInfo.username)

I think there's a function for this already in the user model? (Or related to it)

I think there's a function for this already in the user model? (Or related to it)
Author
Member

Yes! I got it now via a new getter that uses the helper you mentioned inside of the composable.

Yes! I got it now via a new getter that uses the helper you mentioned inside of the composable.
dpschen marked this conversation as resolved
Owner

Can you fix the lint issues?

Can you fix the lint issues?
dpschen added 1 commit 2022-10-16 17:37:02 +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://2546-feature-feat-static-i18n-salutat--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://2546-feature-feat-static-i18n-salutat--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.
dpschen force-pushed feature/feat-static-i18n-salutation from 8094689b91 to 5afafb7c82 2022-10-17 10:35:59 +00:00 Compare
Author
Member

Can you fix the lint issues?

Fixed

> Can you fix the lint issues? Fixed
konrad approved these changes 2022-10-18 08:35:32 +00:00
konrad merged commit 29f68747bb into main 2022-10-18 08:35:54 +00:00
konrad deleted branch feature/feat-static-i18n-salutation 2022-10-18 08:35:54 +00:00
This repo is archived. You cannot comment on pull requests.
No description provided.