hotwax / job-manager Goto Github PK
View Code? Open in Web Editor NEWHotWax Commerce Job Manager App
Home Page: https://job-manager.hotwax.io/
License: Apache License 2.0
HotWax Commerce Job Manager App
Home Page: https://job-manager.hotwax.io/
License: Apache License 2.0
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.
eCom store whole data is getting displayed
Display store name only
Both date and time are displyed.
Only display time picker.
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
With confirmation buttons users can choose to confirm or cancel the date time selected
https://ionicframework.com/docs/api/datetime#showing-confirmation-buttons
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.
https://www.figma.com/file/bVPRRw282CqGKMdbz7dciH/HC-Ionic-design-system?node-id=18818%3A59782
https://www.figma.com/file/bVPRRw282CqGKMdbz7dciH/HC-Ionic-design-system?node-id=18863%3A61271
Selecting product store is required for all jobs. user should not be able to schedule job without it.
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."
cancelScheduledJob API adds some more details to job required for future tracking
You need to pass only jobId to it
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.
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 following API endpoint to webhookEndpointUrls:
https://github.com/hotwax/job-manager/blob/main/src/services/WebhookService.ts#L14
User should be able to cancel batch jobs by clicking the cancel icon
Screenshot:
Job list should reset to initial UI
The filters will allow user to get specific jobs based upon the category and pinned jobs
https://www.figma.com/file/bVPRRw282CqGKMdbz7dciH/HC-Ionic-design-system?node-id=23603%3A87300
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.
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.
While Scheduling a job, by default current date should be selected and only time needs to be set.
After multiple login, the shopify product store and config information is not displayed on the menu footer
In every case, the information should be properly rendered.
Screenshot:
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.
When selecting the same timezone the api call should not being made.
Change
button for changing the timezoneLogin Credentials:
The functionality of the pre-order page has changed since initial UI
Re-arrange jobs and add new required job options.
Use checkbox instead of dropdown for jobs.
Figma link: https://www.figma.com/file/bVPRRw282CqGKMdbz7dciH/?node-id=18788%3A56454
When setting jobs runtime initially or updating runtime for the existing job, the runtime is set to current time only.
runtime should be set to user input value
We could have a link to add job run schedule to Google Calendar
https://stackoverflow.com/a/21653600/7130371
The current date picker takes browser time even if the user has set a different timezone.
It should allot the time based on the timezone and should not pick the browser's time.
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
Implement more jobs section on all pages
Jobs will be fetched based upon job enum type id
When we use trigger for modal on Job Details page, closing date time modal shows empty modal
When using trigger, only one modal should get opened
The build is failing with errors due to multiple use of show-default-buttons
The build should not fail and no errors must be there
There are 2 brokering jobs scheduled in job manager. In the pipeline tab, on selecting brokering filter, it is showing no jobs available.
If brokering jobs are scheduled in job manager. In the pipeline tab, on checking the brokering filter, it should show jobs which are scheduled.
Right now selecting "none" in the shop selector in the settings screen gets all jobs regardless of product store.
Instead, it should only get jobs without any product store entry.
Show abbreviated named offset and unabbreviated named offset
https://moment.github.io/luxon/#/formatting?id=table-of-tokens
When hosting app, we could provide specific aliases that maps to specific instance baseURL. This will ease accessing app for non hotwax domain instances
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
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
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' .
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.
Add an empty state to the pipeline pages when there are no jobs running.
"There are no jobs pending | running right now"
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
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
Id and service name are displayed on pending job segment.
Remove id and service name
UI is already created with #244
Update as need
https://www.figma.com/file/bVPRRw282CqGKMdbz7dciH/HC-Ionic-design-system?node-id=23842%3A83391&t=EwnGrKo71tXMohaa-0
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.
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.