Releasing 1.0.4 into test
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Has been cancelled
Some checks failed
Chore App Build, Test, and Push Docker Images / build-and-push (push) Has been cancelled
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
name: Chore App Build and Push Docker Images
|
name: Chore App Build, Test, and Push Docker Images
|
||||||
run-name: ${{ gitea.actor }} is building the chore app 🚀
|
run-name: ${{ gitea.actor }} is building the Chores [${{ gitea.ref_name }}@${{ gitea.sha }}] 🚀
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
# file: config/version.py
|
# file: config/version.py
|
||||||
import os
|
import os
|
||||||
|
|
||||||
BASE_VERSION = "1.0.4RC5" # update manually when releasing features
|
BASE_VERSION = "1.0.4" # update manually when releasing features
|
||||||
|
|
||||||
def get_full_version() -> str:
|
def get_full_version() -> str:
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -8,7 +8,6 @@ export function useBackendEvents(userId: Ref<string>) {
|
|||||||
const connect = () => {
|
const connect = () => {
|
||||||
if (eventSource) eventSource.close()
|
if (eventSource) eventSource.close()
|
||||||
if (userId.value) {
|
if (userId.value) {
|
||||||
console.log('Connecting to backend events for user:', userId.value)
|
|
||||||
eventSource = new EventSource(`/events?user_id=${userId.value}`)
|
eventSource = new EventSource(`/events?user_id=${userId.value}`)
|
||||||
|
|
||||||
eventSource.onmessage = (event) => {
|
eventSource.onmessage = (event) => {
|
||||||
@@ -24,7 +23,6 @@ export function useBackendEvents(userId: Ref<string>) {
|
|||||||
onMounted(connect)
|
onMounted(connect)
|
||||||
watch(userId, connect)
|
watch(userId, connect)
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
console.log('Disconnecting from backend events for user:', userId.value)
|
|
||||||
eventSource?.close()
|
eventSource?.close()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -36,7 +36,6 @@ const avatarInitial = ref<string>('?')
|
|||||||
// Fetch user profile
|
// Fetch user profile
|
||||||
async function fetchUserProfile() {
|
async function fetchUserProfile() {
|
||||||
try {
|
try {
|
||||||
console.log('Fetching user profile')
|
|
||||||
const res = await fetch('/api/user/profile', { credentials: 'include' })
|
const res = await fetch('/api/user/profile', { credentials: 'include' })
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
console.error('Failed to fetch user profile')
|
console.error('Failed to fetch user profile')
|
||||||
|
|||||||
Reference in New Issue
Block a user