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

Implemented: functionality to the Publish segment of the Inventory channels page (#356) #357

Merged
merged 20 commits into from
Jul 26, 2024

Conversation

amansinghbais
Copy link
Contributor

Related Issues

#356

Short Description and Why It's Useful

Added functionality in the Publish segment of the inventory channels page.

Screenshots of Visual Changes before/after (If There Are Any)

Contribution and Currently Important Rules Acceptance

@amansinghbais amansinghbais marked this pull request as ready for review July 3, 2024 12:56
src/store/modules/channel/actions.ts Outdated Show resolved Hide resolved
.env.example Outdated Show resolved Hide resolved
// checking if the runtimeData has productStoreId, and if present then adding it on root level
job?.runtimeData?.productStoreId?.length >= 0 && (payload['productStoreId'] = job.status === "SERVICE_PENDING" ? job.productStoreId : store.state.user.currentEComStore.productStoreId)
job?.priority && (payload['SERVICE_PRIORITY'] = job.priority.toString())
job?.sinceId && (payload['sinceId'] = job.sinceId)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove this as its not used in this service.

@@ -70,6 +71,140 @@ const actions: ActionTree<ChannelState, RootState> = {
commit(types.CHANNEL_INVENTORY_CHANNELS_UPDATED, groups);
},

async fetchShopifyConfigs ({ commit }) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

commit is defined but not used.

return shopifyConfigs;
},

async fetchJobs ({ commit, dispatch }) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fetch jobs and configs again on changing productStore

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Its already handled in the code.

@ravilodhi ravilodhi merged commit 244c9a7 into hotwax:main Jul 26, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants