Compare commits

...

4 Commits

Author SHA1 Message Date
Dimitrie Stefanescu 33fd9c65e3 feat: removes doc changed event 2025-05-22 10:01:52 +01:00
Dimitrie Stefanescu fdd13170f5 Merge pull request #9 from specklesystems/dim/codegen-without-local-server
feat: enables running the gql codegen without having a local server running
2025-05-20 18:20:10 +01:00
Dimitrie Stefanescu e70310654b Merge pull request #10 from specklesystems/dimitrie/cnx-1656-default-model-name-input-doesnt-work
fix: in the model create dialog, always defaults to either a model name
2025-05-20 18:19:50 +01:00
Dimitrie Stefanescu 8bb14d3389 fix: in the model create dialog, always defaults to either a model name 2025-05-20 18:01:01 +01:00
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ const hostAppStore = useHostAppStore()
const { activeAccount } = storeToRefs(accountStore)
const accountId = computed(() => activeAccount.value.accountInfo.id)
const newModelName = ref<string>()
const newModelName = ref<string>(hostAppStore.documentInfo?.name ?? 'unnamed model')
const errorMessage = ref<WorkspacePermissionMessage>()
const toggleDialog = () => {
+1 -1
View File
@@ -677,7 +677,7 @@ export const useHostAppStore = defineStore('hostAppStore', () => {
'documentChanged',
() =>
setTimeout(async () => {
void trackEvent('DUI3 Action', { name: 'Document changed' })
// void trackEvent('DUI3 Action', { name: 'Document changed' }) // noisy
void refreshDocumentInfo()
await refreshDocumentModelStore() // need to awaited since upgrading the card settings need documentModelStore in place
void refreshSendFilters()