How to run
- Host the files with a static server
- Open the index.html in dest
/dest/index.html
- Rebuild by
npm start
Requirement
Implement Point
-
Write a model for the ui
-
Write a ajax method for json file
-
Write a component for the agent detail
- circle border
- black circle icon
- close button
-
Write a popup by add resources
- verify logic => the resource should in a collection which is defined before
-
Write the UI of agent container and sidebar
- Agents tab
- Summary logic by agent state
- History layout
-
Write the tab(dashboard/my cruise/agents/help)
-
Compatible with IE9+
-
Write the login page, user/psw from json file
-
Use css3 query media to responsive
-
Write a pro-cruise
- use es6, babel to convert
- webpack to package
To implement
-
popup
- add data to panel
- remove btn
-
switch tab to load data
-
switch category to filter data
-
makesure the ui in screen 1024, currently there is a issue
-
summary table logic
-
history logic
-
how to find the closest .class element
-
support 1024+
-
validate input value
-
summary should recalc while switch the category
-
deny icon
-
remove
-
validate input string on Add
To improve and Refactor
-
deny action => disable controls
-
save data in localstorage
-
avoid duplicate name on popup
-
add test
-
popup should has a mask
-
html5 semantic tags
-
the enter key should effect on popup page
-
use gulp to replace script files from dev page => dest page But why the second time copy index.html => dest/index.html can be success???
-
recalculate summary data by switch category
-
recalc history by agent id
-
cannot update data to json files
-
limit the min width
-
deny icon
-
the tab should remove the underline
-
limit the width of resource on popup