ulakbus-ui
ulakbus-ui copied to clipboard
gorevler widgeti hazirlanmasi #5254
gorevler widgeti asagidaki ozellikleri kapsayacak;
- websocket ile gonderilen 'task_list' keyi socket.js ile dinlenerek dispatch edilip broadcast edilecek
- broadcast edilmis data dashboard_widgets_directives.js dosyasinda tanimlanacak userTasks directiveinde yakalanarak widget icinde kullanilacak
- beklenen data formati ilk etapta su sekildedir:
task_list = [
{WFToken: "yfuialhfuial", title: "sample 1 workflow", description: "sample 1", wf_type: "type x", date: '02.05.2016'},
{WFToken: "yfuialhfuial", title: "sample 2 workflow", description: "sample 2", wf_type: "type x", date: '02.05.2016'},
{WFToken: "yfuialhfuial", title: "sample 3 workflow", description: "sample 3", wf_type: "type y", date: '02.05.2016'},
{WFToken: "yfuialhfuial", title: "sample 4 workflow", description: "sample 4", wf_type: "type y", date: '02.05.2016'}
];
- taskler type bazinda gruplanarak widget icine yerlestirilecek
- taskler yaklasan tarihler baz alinarak oneme gore renklendirilerek gosterilecek