Last active
August 31, 2021 11:51
-
-
Save himanshuc3/31a7f0254d8e5e2a29445b0ba248e48f to your computer and use it in GitHub Desktop.
RR AMR UI
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RR AMR UI | |
| 1-Build System | |
| webpack - local dev | |
| docker - production build | |
| nginx server | |
| env shell script | |
| runtime env variables | |
| 2-Screens or pages | |
| _app | |
| 1-1 mapping of folders to authenticated route views | |
| Reusable components from 3-Components are used | |
| _external - screens for unauthenticated users - login & register | |
| 3-Components | |
| _components - reusable components - based on top of antd ui | |
| Core components | |
| _components_scene - konva based map visualization used for representing graph and agents | |
| 4-Store | |
| _store - redux & thunk are used as store | |
| 5-Styles | |
| _styled - styled components initially used but should be removed in favor of scss | |
| _styles - scss theme and reusable styles | |
| Misc | |
| eslint | |
| prettierrc | |
| travis | |
| typescript | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function render(model){ | |
| let current_state_name = model.active_states[0].name; | |
| return $("h1", | |
| {style: {color: "darkBlue"}}, | |
| `The current state is: ${current_state_name}`); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment