Front end for a single Bento platform node. Written in React using Ant Design components.
- Use 4 spaces for indentation
- Use
async/awaitsyntax for asynchronous operations
.babelrc: Babel configuration file.eslintrc.js: ESLint configuration filesrc/: All application source codecomponents/: UI components.App.js: The root component, which determines the overall layout of the entire application....
modules/: Redux "modules", which determine the structure of the Redux state tree and specify relevant actions and reducers to handle them. This isn't a Redux-defined concept; rather, these can be thought of as an arbitrary but useful way to divide up action and reducer definitions into manageable, semi-self-contained sections.styles/: Shared style objects.utils/: Utility code shared across components, state code, and other modules in the application.actions.js: Utilities related to Redux actionsmenu.js: Utilities related to Ant Design menusmisc.js: Miscellaneous helper functionsnotifications.js: Utilities related to CHORD notificationsrequests.js: Utilities related to HTTP requestsschema.js: Utilities related to JSON schemassearch.js: Utilities related to CHORD searchurl.js: Utilities related to handling front-end URLs
constants.js: Re-usable application constantsduo.js: Constants and objects related to the CHORD representation of the GA4GH Data Use Ontology.events.js: Event dispatching code for triggering event handlers defined elsewhere.index.js: The entry point for the application. Sets up the store and router and renders theAppcomponent.propTypes.js: Re-usable prop types defined using theprop-typesmodule to enforce component property types.reducers.js: Root reducer definitiontemplate.html: HTML template for the application (given towebpack)
public/LICENSE.txt: Copy of the LGPL v3.0 license for serving from deployed instances of the application.webpack.config.js: Webpack configuration file