-
Notifications
You must be signed in to change notification settings - Fork 1
Creating new paths
Basic Things To add when creating a new path or page in Glygen Array Project Front end
- Create a JS file for the component itself.
- Add a separate CSS based on requirement.
- Add new Route in Route.js
If it is a new Options in side menu
- Add a new path and title in SideMenu.js ( follow one of the existing paths like Glycan – ‘/glycans’)
Add a Case in WSUTIL for the API call (Get the backend path from Swagger or ask Sena if you can’t find it)
If it’s a login not required page add it to the LOGIN Not required List in APP.js
tag code is used to put the titles (tab) for the page.
is used to display errors based on forms and backend error codes.
Rest of the code it according to the requirement be it Table, Stepper, Forms, Grid, Tree Views etc.
Most part of Form elements are bootstrap and there is material UI is used as well. You can find those versions in package.json
Except for 404 error from backend you get JSON response and for 404 you might get text as response.