-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 64df17d
Showing
232 changed files
with
43,980 additions
and
0 deletions.
There are no files selected for viewing
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,3 @@ | ||
> 1% | ||
last 2 versions | ||
not dead |
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,11 @@ | ||
VUE_APP_CACHE_MAX_AGE=3600 | ||
VUE_APP_BASE_URL=https://dev-hc.hotwax.io/api/ | ||
VUE_APP_RESOURCE_URL= | ||
VUE_APP_I18N_LOCALE=en | ||
VUE_APP_I18N_FALLBACK_LOCALE=en | ||
VUE_APP_VIEW_SIZE=10 | ||
VUE_APP_ORD_IDENT_TYPE_ID=SHOPIFY_ORD_NAME | ||
VUE_APP_CUST_LOYALTY_OPTIONS={"LoyaltyCustomer"Pass", "LoyaltyPlusOrder":"Pass +"} | ||
VUE_APP_POLL_TIME=10000 | ||
VUE_APP_ORDER_FILTERS=["orderTypeId: SALES_ORDER", "facilityId:PRE_ORDER_PARKING OR facilityId:BACKORDER_PARKING", "orderStatusId: ORDER_APPROVED", "!orderItemStatusId: ITEM_CANCELLED" ] | ||
VUE_APP_BRANDS=[{"id": "", "name": ""}, {"id": "", "name": ""}] |
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 @@ | ||
VUE_APP_BASE_URL= https://hc.hotwax.io/api/ |
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 @@ | ||
VUE_APP_BASE_URL=https://dev-hc.hotwax.io/api/ |
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,31 @@ | ||
module.exports = { | ||
root: true, | ||
env: { | ||
node: true | ||
}, | ||
'extends': [ | ||
'plugin:vue/vue3-essential', | ||
'eslint:recommended', | ||
'@vue/typescript/recommended' | ||
], | ||
parserOptions: { | ||
ecmaVersion: 2020 | ||
}, | ||
rules: { | ||
'no-console': process.env.NODE_ENV === 'production' ? 'warn' : 'off', | ||
'no-debugger': process.env.NODE_ENV === 'production' ? 'warn' : 'off', | ||
'vue/no-deprecated-slot-attribute': 'off', | ||
'@typescript-eslint/no-explicit-any': 'off', | ||
}, | ||
overrides: [ | ||
{ | ||
files: [ | ||
'**/__tests__/*.{j,t}s?(x)', | ||
'**/tests/unit/**/*.spec.{j,t}s?(x)' | ||
], | ||
env: { | ||
jest: true | ||
} | ||
} | ||
] | ||
} |
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,32 @@ | ||
# Specifies intentionally untracked files to ignore when using Git | ||
# http://git-scm.com/docs/gitignore | ||
|
||
*~ | ||
*.sw[mnpcod] | ||
.tmp | ||
*.tmp | ||
*.tmp.* | ||
*.sublime-project | ||
*.sublime-workspace | ||
.DS_Store | ||
Thumbs.db | ||
UserInterfaceState.xcuserstate | ||
$RECYCLE.BIN/ | ||
|
||
*.log | ||
log.txt | ||
npm-debug.log* | ||
|
||
/.idea | ||
/.ionic | ||
/.sass-cache | ||
/.sourcemaps | ||
/.versions | ||
/.vscode | ||
/coverage | ||
/dist | ||
/node_modules | ||
/platforms | ||
/plugins | ||
/www | ||
.firebase/ |
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,40 @@ | ||
--- | ||
name: 2. Bug | ||
about: Bugfix for current dev version. This is for branches created from `master` branch and should be merged back into `master`. | ||
|
||
--- | ||
|
||
This is a bugfix for current dev version | ||
|
||
### Related issues | ||
<!-- Put related issue link. --> | ||
|
||
closes | ||
|
||
### Root cause analysis | ||
<!-- describe the root cause for this bug. --> | ||
|
||
|
||
### Short description and why it's useful | ||
<!-- describe in a few words what is this Pull Request changing and why it's useful --> | ||
|
||
|
||
### Screenshots of visual changes before/after (if there are any) | ||
<!-- if you made any changes in the UI layer please provide before/after screenshots --> | ||
|
||
|
||
### MR status check | ||
This is hotfix MR, it means that it contain fix for current stable version. | ||
|
||
- [ ] I've created this branch from `master` | ||
- [ ] I want to merge this MR into `hotfix` branch | ||
|
||
### Upgrade Notes and Changelog | ||
|
||
- [x] No upgrade steps required (100% backward compatibility and no breaking changes) | ||
- [ ] I've updated the [Upgrade notes](<project upgrade notes readme url>) and [Changelog](<project changelog.md file url>) on how to port existing sites with this new feature | ||
|
||
### Reviewers | ||
|
||
|
||
**IMPORTANT NOTICE** - MR needs to have all checks to be merged in. |
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,40 @@ | ||
--- | ||
name: 3. Hotfix | ||
about: Bugfix for current stable version. This is for branches created from `hotfix` or `release` branch and should be merged back into `hotfix`. | ||
|
||
--- | ||
|
||
This is a bugfix for current stable version | ||
|
||
### Related issues | ||
<!-- Put related issue link. --> | ||
|
||
closes | ||
|
||
### Root cause analysis | ||
<!-- describe the root cause for this bug. --> | ||
|
||
### Short description and why it's useful | ||
<!-- describe in a few words what is this Pull Request changing and why it's useful --> | ||
|
||
|
||
### Screenshots of visual changes before/after (if there are any) | ||
<!-- if you made any changes in the UI layer please provide before/after screenshots --> | ||
|
||
|
||
|
||
### MR status check | ||
This is hotfix MR, it means that it contain fix for current stable version. | ||
|
||
- [ ] I've created this branch from `release` or `hotfix` branch | ||
- [ ] I want to merge this MR into `hotfix` branch | ||
|
||
### Upgrade Notes and Changelog | ||
|
||
- [x] No upgrade steps required (100% backward compatibility and no breaking changes) | ||
- [ ] I've updated the [Upgrade notes](<project upgrade notes readme url>) and [Changelog](<project changelog.md file url>) on how to port existing sites with this new feature | ||
|
||
### Reviewers | ||
|
||
|
||
**IMPORTANT NOTICE** - MR needs to have all checks to be merged in. |
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,40 @@ | ||
--- | ||
name: 1. Feature / Improvement | ||
about: New feature or some improvements to current dev version. This is for branches created from `master` branch and should be merged back into `master`. | ||
|
||
--- | ||
|
||
This is a feature or improvement for current dev version | ||
- [ ] New Feature | ||
- [x] Improvement | ||
|
||
### Related issues | ||
<!-- Put related issue link. --> | ||
|
||
closes | ||
|
||
### Short description and why it's useful | ||
<!-- describe in a few words what is this Merge Request changing and why it's useful --> | ||
|
||
|
||
|
||
### Screenshots of visual changes before/after (if there are any) | ||
<!-- if you made any changes in the UI layer please provide before/after screenshots --> | ||
|
||
|
||
|
||
### MR status check | ||
This is a feature or improvement MR for current test version. | ||
|
||
- [ ] I've created this branch from `master` branch and want to merge it back to `master` | ||
|
||
### Upgrade Notes and Changelog | ||
|
||
- [x] No upgrade steps required (100% backward compatibility and no breaking changes) | ||
- [ ] I've updated the [Upgrade notes](<project upgrade notes url>) and [Changelog](<project changelog notes url>) on how to port existing sites with this new feature | ||
- [ ] I've checked its not affecting any existing workflow | ||
|
||
### Reviewers | ||
|
||
|
||
**IMPORTANT NOTICE** - MR needs to have all checks to be merged in (except breaking changes check). |
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,17 @@ | ||
# Pre-order Application | ||
|
||
## 1.0.0 (2021-04-13) | ||
- Implemented authentication logic using vuex state management library | ||
- Fixed infinite scroll issue in orders section | ||
- Implement logic to search orders using Vuex | ||
- Implemented logic for the internationalisation using Vue-i18n next | ||
- Implemented logic for a Task queue | ||
- Implemented generic method to make api call | ||
- Implemented promised date before and after filters on orders & product details page | ||
- Fixed Variant list is not available randomly when directly opening the product details page | ||
- Made common condition for order filters configurable | ||
- Handle date time as per the user profile timezone | ||
- Implemented feature to allow user to set timezone for the app | ||
- Fixed Back button from product details page should always return to product list page | ||
- Fixed menu appears on login page for few microseconds on login | ||
- Updated slot of hourglass icon from secondary to end on orders page |
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,35 @@ | ||
# pre-order | ||
|
||
HotWax Commerce - Pre-Order App | ||
|
||
|
||
## Firebase Hosting | ||
|
||
We are using firebase hosting for the Pre-order app deployment | ||
Here are the steps to deploy app on firebase hosting | ||
|
||
### Prerequisite | ||
- [Firebase Cli](https://firebase.google.com/docs/cli) should be installed | ||
- Firebase project should be created | ||
- You should have access to firebase project | ||
|
||
### Dev deployment | ||
- Update the DEV instance url at .env.production file | ||
|
||
- Build the application using following command | ||
`ionic build` | ||
|
||
## How to build application in different environment or modes(staging, production, qa, etc)? | ||
As there is a bug in Ionic cli due to which we cannot pass flag variables for commands (See [#4669](https://github.com/ionic-team/ionic-cli/issues/4642)). To build application in different modes we need to use vue-cli-service to build and then use the built app using capacitor copy command further. | ||
|
||
Follow following instructions: | ||
1. Manually build the application using vue-cli-service: | ||
npx vue-cli-service build --mode=sandbox | ||
|
||
2. Copy web assets to the native project without building the app: | ||
ionic capacitor copy ios --no-build | ||
|
||
3. Open the Android Studio / XCode project: | ||
ionic capacitor open android | ||
ionic capacitor open ios | ||
|
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,5 @@ | ||
module.exports = { | ||
presets: [ | ||
'@vue/cli-plugin-babel/preset' | ||
] | ||
} |
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,16 @@ | ||
{ | ||
"appId": "co.hotwax.preorder", | ||
"appName": "Preorder-Management", | ||
"bundledWebRuntime": false, | ||
"npmClient": "npm", | ||
"webDir": "dist", | ||
"plugins": { | ||
"SplashScreen": { | ||
"launchShowDuration": 0 | ||
} | ||
}, | ||
"cordova": {}, | ||
"ios": { | ||
"minVersion": "12.0" | ||
} | ||
} |
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,6 @@ | ||
--- | ||
title: Implemented query for orders page using state management | ||
ticket_id: "#2nee86" | ||
merge_request: 125 | ||
author: Aditya Sharma | ||
type: added |
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,6 @@ | ||
--- | ||
title: Implemented Image component that handles different URLs and default image | ||
ticket_id: "#2qawhb" | ||
merge_request: 131 | ||
author: Aditya Sharma | ||
type: added |
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,7 @@ | ||
--- | ||
title: Implemented logic to show/hide spinner that requires uncertain wait from API | ||
calls | ||
ticket_id: "#3fcyab" | ||
merge_request: 132 | ||
author: Aditya Sharma | ||
type: added |
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,6 @@ | ||
--- | ||
title: Fixed wrong confirmation title for release warehouse action | ||
ticket_id: "#3he3wp" | ||
merge_request: 133 | ||
author: Aditya Sharma | ||
type: fixed |
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,6 @@ | ||
--- | ||
title: Add changeReasonEnumId as parameter for release order items | ||
ticket_id: "#4fh62b" | ||
merge_request: 137 | ||
author: Aditya Sharma | ||
type: added |
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,6 @@ | ||
--- | ||
title: Implemented global brand filter on settings page | ||
ticket_id: "#5cuz9t" | ||
merge_request: 138 | ||
author: Aditya Sharma | ||
type: added |
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,3 @@ | ||
{ | ||
"pluginsFile": "tests/e2e/plugins/index.js" | ||
} |
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,7 @@ | ||
{ | ||
"name": "Preorder-Management", | ||
"integrations": { | ||
"capacitor": {} | ||
}, | ||
"type": "vue" | ||
} |
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,13 @@ | ||
# NPM renames .gitignore to .npmignore | ||
# In order to prevent that, we remove the initial "." | ||
# And the CLI then renames it | ||
|
||
App/build | ||
App/Pods | ||
App/public | ||
App/Podfile.lock | ||
xcuserdata | ||
|
||
# Cordova plugins for Capacitor | ||
capacitor-cordova-ios-plugins | ||
|
Oops, something went wrong.