Feat: mocked bindings and logging to seq (#39)
* mocked bindings and logging to seq * test deploy * test deploy * test deploy * connectorless state * remove logs * remove more logs * add flags to globalThus * log with /api/events/raw * log error link on prod over local account * handle test query to distinguish self hosters * throw again * log again... * sa and ra * error policy non none * attach server url to logs * Add host app version * rename name to slug * remove useless re throw * fix confusion on versions
This commit is contained in:
@@ -95,7 +95,7 @@ const showAccountsDialog = defineModel<boolean>('open', {
|
||||
|
||||
const isDesktopServiceAvailable = ref(false) // this should be false default because there is a delay if /ping is not successful.
|
||||
|
||||
app.$baseBinding.on('documentChanged', () => {
|
||||
app.$baseBinding?.on('documentChanged', () => {
|
||||
showAccountsDialog.value = false
|
||||
})
|
||||
|
||||
|
||||
@@ -97,7 +97,7 @@ const showFeedbackDialog = ref<boolean>(false)
|
||||
const showSendDialog = ref<boolean>(false)
|
||||
const showReceiveDialog = ref<boolean>(false)
|
||||
|
||||
app.$baseBinding.on('documentChanged', () => {
|
||||
app.$baseBinding?.on('documentChanged', () => {
|
||||
showSendDialog.value = false
|
||||
showReceiveDialog.value = false
|
||||
})
|
||||
|
||||
@@ -73,7 +73,7 @@ const hasSettings = computed(() => {
|
||||
})
|
||||
|
||||
const app = useNuxtApp()
|
||||
app.$baseBinding.on('documentChanged', () => {
|
||||
app.$baseBinding?.on('documentChanged', () => {
|
||||
openModelCardActionsDialog.value = false
|
||||
})
|
||||
|
||||
|
||||
@@ -117,7 +117,7 @@ const projectAccount = computed(() =>
|
||||
accountStore.accountWithFallback(props.project.accountId, props.project.serverUrl)
|
||||
)
|
||||
|
||||
app.$baseBinding.on('documentChanged', () => {
|
||||
app.$baseBinding?.on('documentChanged', () => {
|
||||
openVersionsDialog.value = false
|
||||
})
|
||||
|
||||
|
||||
@@ -130,7 +130,7 @@ const props = defineProps<{
|
||||
|
||||
const store = useHostAppStore()
|
||||
const openFilterDialog = ref(false)
|
||||
app.$baseBinding.on('documentChanged', () => {
|
||||
app.$baseBinding?.on('documentChanged', () => {
|
||||
openFilterDialog.value = false
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user