Coder Social home page Coder Social logo

hotwax / job-manager Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 32.0 6.81 MB

HotWax Commerce Job Manager App

Home Page: https://job-manager.hotwax.io/

License: Apache License 2.0

JavaScript 0.92% HTML 0.91% Vue 62.24% TypeScript 32.28% CSS 2.12% Java 0.43% Swift 0.97% Ruby 0.14%
css hacktoberfest html ionic javascript typescript vue

job-manager's People

Contributors

adityasharma7 avatar amansinghbais avatar azkyakhan avatar bashu22tiwari avatar dependabot[bot] avatar dhiraj1405 avatar disha1202 avatar divyanshugour avatar dixitdeepak avatar dt2patel avatar franciscoemanuel avatar k2maan avatar mayank909 avatar meet-aniket avatar nidbhagwat avatar nihu-sharma avatar r-sourabh avatar rathoreprashant avatar ravilodhi avatar ritika-patel08 avatar rvutd avatar sandeeprajput20 avatar sanskar345 avatar shanmukhdutt avatar shashwatbangar avatar yashi002 avatar ymaheshwari1 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

job-manager's Issues

Multiple date time instances on mobile when using trigger for modal

Current behavior

When we use trigger for modal on Job Details page, closing date time modal shows empty modal

Expected behavior

When using trigger, only one modal should get opened

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Use Ion Img component to render images

As described in official documentation:

Img is a tag that will lazily load an image whenever the tag is in the viewport. This is extremely useful when generating a large list as images are only loaded when they're visible. The component uses Intersection Observer internally, which is supported in most modern browsers, but falls back to a setTimeout when it is not supported.

https://ionicframework.com/docs/api/img

We could check if it works well with our implementation of the Image component and provides desired optimisations:
https://github.com/hotwax/job-manager/blob/main/src/components/Image.vue

Selecting the same timezone in the timezone modal results in extra API call

Current behavior

When selecting the same timezone as the currently selected timezone in the timezone modal, the api call to set the timezone is being made, that is not needed.

Expected behavior

When selecting the same timezone the api call should not being made.

Steps to reproduce the issue

  • Login to the app
  • Go to settings page
  • Click Change button for changing the timezone
  • In the modal, search for the same timezone currently selected and select the timezone in the modal
  • See in the network tab that the api call is made, but actually the timezone is not changed as previous and current timezone are same.

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Login Credentials:

  • username: aaron.wagner
  • password: Aaron@123

Menu footer improvement

What is the motivation for adding/enhancing this feature?

The menu footer should have the option to change product store and Shopify config when there are multiple options. By default product options should be there and if there are multiple product stores & Shopify config then only product store options should exist

For most of the cases either there will be multiple stores or the shopify configs. In any of the scenario right configuration should be there in menu footer

What are the acceptance criteria?

  • ...

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Selecting Current date while scheduling a job

Current behavior

While scheduling the job, the current date is highlighted but not selected. So, when the time is selected and set to scheduled it doesn't get scheduled.
Each time, the date needs to select whether it is by default the current date.

Expected behavior

While Scheduling a job, by default current date should be selected and only time needs to be set.

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Last run doesn't shows previous occurrences for jobs of Initial load page

Current behavior

image

Expected behavior

Steps to reproduce the issue

  1. Navigate to the Initial Load page.
  2. Click Import products in Bulk, job configuration chip will appear
    Last run shows no occurrence even if there were jobs scheduled earlier

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Job status not updated when api fails

Current behavior

When scheduling/cancelling a job using checkbox/toggle and if the api fails then the job state does not gets changed to the previous state untill refresh

Expected behavior

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Remove PO reallocation job

What is the motivation for adding/enhancing this feature?

The PO reallocation job doesn't actually solve any problem and may cause confusion for the user. So we should remove it from UI.

Found on the pre-order page at the bottom.

Allow Base URL to be set from .env file as well as from login page

What is the motivation for adding/enhancing this feature?

If the base url is set in env file, skip asking on Login page and showing on settings page. This will allow it easy to deploy app for specific instance as well for

What are the acceptance criteria?

  • Adding to .env hides the OMS url input from login as well as settings page
  • When not in .env, OMS url input should be available login as well as settings page

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Fetch the draft job information on login and clear them on logout

What is the motivation for adding/enhancing this feature?

We should store the draft and pending jobs separately. When getting any job from state, we should check if any pending job, if not then return draft job

What are the acceptance criteria?

  • ...

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Change the color of filter icon when any filter is applied

What is the motivation for adding/enhancing this feature?

If filters are applied on pipeline page, and filters menu is closed then there is no way using which user can directly see that there are filters applied or not.

What are the acceptance criteria?

  • Change filter icon color to secondary when any filter is applied

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Add swipe to cancel functionality on the batch jobs

What is the motivation for adding/enhancing this feature?

User should be able to cancel batch jobs by clicking the cancel icon

What are the acceptance criteria?

  • On swipe, a cancel icon should be displayed at the end
  • On clicking the icon an alert should be displayed to confirm the cancel action
  • On confirm, cancel the job

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Screenshot:

image

[Bug]: Shopify config and product store not displayed in menu footer and on settings page

Current behavior

After multiple login, the shopify product store and config information is not displayed on the menu footer

Expected behavior

In every case, the information should be properly rendered.

Steps to reproduce the issue

  • Login into job-manager
  • See that shopify information is correctly loaded
  • Logout and login again
  • Observe that the shopify information is not loaded correctly

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Screenshot:

image

image

Build failing due to duplicate 'show-default-buttons'

Current behavior

The build is failing with errors due to multiple use of show-default-buttons

Expected behavior

The build should not fail and no errors must be there

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Shop: None option should only show jobs with no shop

Current behavior

Right now selecting "none" in the shop selector in the settings screen gets all jobs regardless of product store.

Expected behavior

Instead, it should only get jobs without any product store entry.

Remove id and service name from pending job segment

Current behavior

Id and service name are displayed on pending job segment.

Expected behavior

Remove id and service name

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

runTime being set to current time while setting/updating time

Current behavior

When setting jobs runtime initially or updating runtime for the existing job, the runtime is set to current time only.

Expected behavior

runtime should be set to user input value

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Add empty state to pipeline

What is the motivation for adding/enhancing this feature?

Add an empty state to the pipeline pages when there are no jobs running.

"There are no jobs pending | running right now"

UI issue on Miscellaneous page

Current behavior

image

Expected behavior

Job list should reset to initial UI

Steps to reproduce the issue

  1. Navigate to the Miscellaneous page.
  2. Click on any job and the job configuration card appears
  3. Navigate to any other page and navigate back.
    Space for the job configuration card still remains

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Improve date time picker UI in batch modal

Current behavior

Both date and time are displyed.

Expected behavior

Only display time picker.

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Use cancelScheduledJob instead of updateJobSandbox for cancelling the job

What is the motivation for adding/enhancing this feature?

cancelScheduledJob API adds some more details to job required for future tracking

You need to pass only jobId to it

What are the acceptance criteria?

  • ...

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Fix build console warnings

Current behavior

Expected behavior

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

User should not be able to schedule job without selecting product store.

Current behavior

Selecting product store is required for all jobs. user should not be able to schedule job without it.

Expected behavior

An error toast should show up asking user to select product store in settings page.

Toast message: "Please select a shop before scheduling a job."

Can you handle fixing this bug by yourself?

  • YES
  • [ x] NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Job not search by full job name

Current behavior

In pipeline tab when we search job with a full job name in 'search job'.
It doesn't find a job and shows 'There is no job pending right now' .

Steps to reproduce the issue

E.g Search 'Add pre-order tags' in the 'search job' space of pipeline tab
Job is not found

There are only specific keywords from which we can search job.

Brokering filter not working in pipeline tab

Current behavior

There are 2 brokering jobs scheduled in job manager. In the pipeline tab, on selecting brokering filter, it is showing no jobs available.
Screenshot 2022-12-21 at 4 13 14 PM
Screenshot 2022-12-21 at 4 14 13 PM

Expected behavior

If brokering jobs are scheduled in job manager. In the pipeline tab, on checking the brokering filter, it should show jobs which are scheduled.

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Use HTTP GET method for all the API calls for getting data

Current behavior

We initially faced issue passing complex data like object, array etc in GET method, and used POST method. With #185, this has been fixed, use GET method to all the API calls that requires data fetching.

Expected behavior

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Validate future date time when setting runtime from method instead of using minDateTime

Current behavior

The current date picker takes browser time even if the user has set a different timezone.

Expected behavior

It should allot the time based on the timezone and should not pick the browser's time.

Steps to reproduce the issue

Can you handle fixing this bug by yourself?

  • YES
  • NO

Environment details

  • Browser:
  • OS:
  • Code Version:

Additional information

Add support to configure brokering job before scheduling

What is the motivation for adding/enhancing this feature?

Right now users can only schedule standard brokering from the routing card. Instead users should be able to schedule all types of brokering by selecting facility and if brokering should only run for un fillable orders.

Drop down includes:
Brokering queue
Pre-order parking
Backorder parking

What are the acceptance criteria?

Screen Shot 2022-05-17 at 10 23 57 AM

Upgrade axios to v1.2.0 (latest )

What is the motivation for adding/enhancing this feature?

What are the acceptance criteria?

  • ...

Can you complete this feature request by yourself?

  • YES
  • NO

Additional information

Static jobs should be scheduled once

Current behavior

Navigate to any page, order, inventory etc where the job is disabled. Try scheduling the job from job configuration section/page, after the success message, again click on save changes it will schedule another instance of the job.

Expected behavior

Users should be allowed to schedule it once only. Save changes should be disabled till current action is not completed and once done job scheduled should be updated through it

Add shop selector to menu footer

What is the motivation for adding/enhancing this feature?

The shop name and other instance info is shown in the footer of the menu. It feels very natural to click it and change the selected shop.

What are the acceptance criteria?

Clicking the ship info in the footer should open an inline popover that lets the user select their shop that they would otherwise have to go into the settings page for.

  • ...

Screen Shot 2022-05-06 at 11 24 27 AM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.