-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Improved: UI for the app and added support to configure the details from same page(#33)
- Loading branch information
Showing
7 changed files
with
274 additions
and
224 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
<template> | ||
<ion-header> | ||
<ion-toolbar> | ||
<ion-buttons slot="start"> | ||
<ion-button @click="closeModal"> | ||
<ion-icon slot="icon-only" :icon="closeOutline" /> | ||
</ion-button> | ||
</ion-buttons> | ||
<ion-title>{{ $t("OMS Name") }}</ion-title> | ||
</ion-toolbar> | ||
</ion-header> | ||
|
||
<ion-content> | ||
<ion-item lines="none"> | ||
<ion-label class="ion-text-wrap"> | ||
{{ $t('The OMS instance name is the string that comes right before your OMS domain. For example, if your URL looks like this: "https://notnaked-oms.hotwax.io", then your OMS name is "notnaked-oms".') }} | ||
<br /><br />{{ $t('To access UAT environments, replace "oms" with "uat". The UAT name for this example store would be "notnaked-uat".') }} | ||
</ion-label> | ||
</ion-item> | ||
</ion-content> | ||
</template> | ||
|
||
<script> | ||
import { | ||
IonButtons, | ||
IonButton, | ||
IonContent, | ||
IonHeader, | ||
IonIcon, | ||
IonItem, | ||
IonLabel, | ||
IonToolbar, | ||
modalController | ||
} from "@ionic/vue"; | ||
import { defineComponent } from "vue"; | ||
import { closeOutline } from "ionicons/icons"; | ||
export default defineComponent({ | ||
name: "OmsModal", | ||
components: { | ||
IonButtons, | ||
IonButton, | ||
IonContent, | ||
IonIcon, | ||
IonItem, | ||
IonLabel, | ||
IonToolbar | ||
}, | ||
methods: { | ||
closeModal() { | ||
modalController.dismiss({ dismissed: true }); | ||
}, | ||
}, | ||
setup() { | ||
return { | ||
closeOutline | ||
}; | ||
}, | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,32 @@ | ||
{ | ||
"Access scopes not found": "Access scopes not found", | ||
"Api key not found": "Api key not found", | ||
"Checkout our app on the app store!": "Checkout our app on the app store!", | ||
"Enter connection information to make sure your Shopify store can talk to your HotWax Commerce instance.":"Enter connection information to make sure your Shopify store can talk to your HotWax Commerce instance.", | ||
"Contact Us": "Contact Us", | ||
"Don't have a HotWax Commerce account?": "Don't have a HotWax Commerce account?", | ||
"Enter valid url in the format https://notnaked-oms.hotwax.io": "Enter valid url in the format https://notnaked-oms.hotwax.io", | ||
"Failed to fetch the token": "Failed to fetch the token", | ||
"Failed to find the api key": "Failed to find the api key", | ||
"Failed to get the access scopes": "Failed to get the access scopes", | ||
"Failed to verify the request, please try again": "Failed to verify the request, please try again", | ||
"Fetching token...": "Fetching token...", | ||
"Find your OMS name": "Find your OMS name", | ||
"Finish Setup": "Finish Setup", | ||
"HotWax Commerce connection settings updated": "HotWax Commerce connection settings updated", | ||
"HotWax Commerce URL": "HotWax Commerce URL", | ||
"HotWax Commerce is installed on your Shopify store": "HotWax Commerce is installed on your Shopify store", | ||
"Install": "Install", | ||
"Installing HotWax Commerce onto your Shopify store...": "Installing HotWax Commerce onto your Shopify store...", | ||
"JWT Token": "JWT Token", | ||
"Learn more about connecting HotWax Commerce with Shopify": "Learn more about connecting HotWax Commerce with Shopify", | ||
"notnaked-oms": "notnaked-oms", | ||
"OMS": "OMS", | ||
"OMS Name": "OMS Name", | ||
"Password": "Password", | ||
"Processing request...": "Processing request...", | ||
"SAVE": "SAVE", | ||
"Shared API Token": "Shared API Token", | ||
"Shop": "Shop", | ||
"Settings": "Settings", | ||
"Something went wrong": "Something went wrong", | ||
"Verifying request...": "Verifying request...", | ||
"View app": "View app", | ||
"Welcome to Hotwax Commerce Order Management for Shopify": "Welcome to Hotwax Commerce Order Management for Shopify" | ||
"Syncing Shopify store to HotWax Commerce": "Syncing Shopify store to HotWax Commerce", | ||
"Shopify store synced with HotWax Commerce": "Shopify store synced with HotWax Commerce", | ||
"The OMS instance name is the string that comes right before your OMS domain. For example, if your URL looks like this: \"https://notnaked-oms.hotwax.io\", then your OMS name is \"notnaked-oms\".": "The OMS instance name is the string that comes right before your OMS domain. For example, if your URL looks like this: \"https://notnaked-oms.hotwax.io\", then your OMS name is \"notnaked-oms\".", | ||
"To access UAT environments, replace \"oms\" with \"uat\". The UAT name for this example store would be \"notnaked-uat\".": "To access UAT environments, replace \"oms\" with \"uat\". The UAT name for this example store would be \"notnaked-uat\".", | ||
"You'll be auto redirected to your Shopify store to complete the installation process": "You'll be auto redirected to your Shopify store to complete the installation process" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.