Comments (7)
@kostobog as you proposed I also think it is better not to assign new mechanic when work session does not have one. Maybe user could assign from list of current mechanics? We can discuss it during next meeting with @kalamartin
It should not cause any problem but just be empty.
from csat-maintenance-planner.
See picture below for reference of user_sign:
Replace the actual sign in plan manager with user sign as can be seen:
from csat-maintenance-planner.
from csat-maintenance-planner.
I need some feedback.
First, the data in csat-data does not contain a triple for the mechanic user_sign. Currently I have implemented the employee_id.
Second, I am not sure what to do with work sessions who are not assigned a mechanic. Currently, a new mechanic is attached for each session which has no mechanic. I think it is better not to assign mechanic if session has a mechanic do not assign a new mechanic. What do you think @blcham @LaChope
I am not sure if this will lead to some problems on the client @LaChope.
The code changes in the server side can be reviewed in the pull-request.
Here is an example of how the this would look like in the data. The first JSON snippet shows a session plan with resource assigned a mechanic and the second shows a session with a resource assigned null.
This file example-plan-GFR_H-20 K+2K+4K.json.zip contains a JSON with the full plan containing snippets from below.
{
"types": null,
"applicationType": "SessionPlan",
"entityURI": null,
"id": 16647971489330078,
"title": null,
"resource": {
"types": null,
"applicationType": "Mechanic",
"entityURI": "http://onto.fel.cvut.cz/ontologies/csat-maintenance/mechanic--12345",
"id": "12345",
"title": "12345"
},
"plannedStartTime": 1658730600000,
"plannedEndTime": 1658739600000,
"plannedDuration": 9000000,
"plannedWorkTime": 9000000,
"startTime": 1658730600000,
"endTime": 1658739600000,
"duration": 9000000,
"workTime": 9000000
}
{
"types": null,
"applicationType": "SessionPlan",
"entityURI": null,
"id": 16647971489330078,
"title": null,
"resource": null,
"plannedStartTime": 1658730600000,
"plannedEndTime": 1658739600000,
"plannedDuration": 9000000,
"plannedWorkTime": 9000000,
"startTime": 1658730600000,
"endTime": 1658739600000,
"duration": 9000000,
"workTime": 9000000
}
from csat-maintenance-planner.
@LaChope there is still ID instead user sign. When it will be change to user_sign?
@kostobog please send example of worksession with no mechanic assigned, I cannot imagine this scenario.
from csat-maintenance-planner.
Blocker: kbss-cvut/aircraft-maintenance-planning-system#81
from csat-maintenance-planner.
Solved with #120
from csat-maintenance-planner.
Related Issues (20)
- IRI finishing with cvut/plan-manager should show the plan manager app HOT 3
- Plan manager does not load on the first time HOT 1
- Test
- Plan manager does not show occasionally all the tasks HOT 6
- Test dashboard 2.0 HOT 11
- When selected plan part is highlighted its parent plans are not HOT 1
- Plan editor does not show general task plans
- Scopes within the planner do not indicate when expandable HOT 1
- Show output of text analysis in UI HOT 12
- Design how to extend UI with aircraft manuals data
- Selecting a TaskPlan or SessionPlan in plan editor causes plan editor to freeze if general task plans are hidden.
- We do not have unified formatting of Javascript files HOT 1
- Add searchbox into plan-manager
- Plan is not shown for new workpackage HOT 1
- Indicator for loading is shown even if i do not expect anything to load
- Filtering 'Session Plans' does not work
- Progress is shown even if plan-manager don't load data HOT 1
- Fix style for tooltip of tasks in the plan editor
- Test dashboard 1.0
- Add netlify deployment with example data HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from csat-maintenance-planner.