Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved: the url for contact us button(#33) #36

Merged
merged 1 commit into from
Nov 8, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/views/ShopifyInstall.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
<ion-label class="ion-text-wrap">
{{ $t("Don't have a HotWax Commerce account?") }}
</ion-label>
<a href="https://www.hotwax.co/connect">{{ $t("Contact Us") }}</a>
<a href="https://hubs.la/Q02XvGwv0">{{ $t("Contact Us") }}</a>
</span>
</ion-item>
</template>
Expand Down Expand Up @@ -149,14 +149,14 @@
await this.authorise(shop, undefined, false);
} else {
showToast(translate("Failed to get the access scopes"))
console.error('Failed to get the access scopes')

Check warning on line 152 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 152 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
return;
}
} else if(resp.instanceAddress) {
// Redirect the user to the oms instance that is configured, otherwise ask for the oms instance name
window.location.replace(resp.instanceAddress)
} else {
console.error('Failed to fetch the instance details')

Check warning on line 159 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 159 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
this.isAppInstalled = true;
this.syncDetailsToShopify = false;
let query = this.$route.fullPath.split("?")[1]
Expand All @@ -178,11 +178,11 @@
this.isAppInstalled = false;
this.syncDetailsToShopify = false;
showToast(translate("Failed to verify the request, please try again"))
console.error('error', err)

Check warning on line 181 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 181 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
return;
}
} else {
console.error('Api key not found')

Check warning on line 185 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 185 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
this.isAppInstalled = false;
this.syncDetailsToShopify = false;
showToast(translate("Failed to verify the request, please try again"))
Expand Down Expand Up @@ -218,11 +218,11 @@
} catch(err) {
this.syncDetailsToShopify = false;
showToast(translate('Failed to fetch the token'))
console.error('err', err)

Check warning on line 221 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 221 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
}
} else {
showToast(translate('Failed to find the api key'))
console.error('Api key not found')

Check warning on line 225 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 225 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
this.router.push('/')
this.syncDetailsToShopify = false;
}
Expand Down Expand Up @@ -275,7 +275,7 @@
this.scopes = resp.scopes;
} catch(err: any) {
showToast(translate("Failed to verify the request, please try again"))
console.error('error', err)

Check warning on line 278 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 278 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
this.authenticationInProgress = false
return;
}
Expand All @@ -295,7 +295,7 @@
message = 'Access scopes not found'
}
this.authenticationInProgress = false
console.error(message)

Check warning on line 298 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 298 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
showToast(translate(message))
this.router.push('/')
}
Expand Down Expand Up @@ -378,7 +378,7 @@
throw resp.data
}
} catch(error){
console.error(error)

Check warning on line 381 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (18.x)

Unexpected console statement

Check warning on line 381 in src/views/ShopifyInstall.vue

View workflow job for this annotation

GitHub Actions / call-workflow-in-another-repo / reusable_workflow_job (20.x)

Unexpected console statement
showToast(translate("Something went wrong"));
this.isConfigUpdated = false
}
Expand Down
Loading