ednaUI is a browser-based application intended to be used as the primary way for controlling the ednaServer backend. Uses React, Redux Toolkit, Tailwind CSS, and Webpack.
- Real-time status monitoring of sensor data and states
- Task configuration and management
- Utility functions
These components are associated with the monitoring tab, giving you information about the current state of the sampler.
The component that holds sensor readings.
The component that holds current state information
The component that keeps track of which valve is available, about to be used, being used, or already used.
This is the 404 Page
These components are associated with the task configuration page, which appear when editting a task.
This component is used by the TaskForm inside TaskConfig.
This component contains a button that takes the user to the top of a page.
This component handles saving, deleting, scheduling, and unscheduling tasks.
This component holds the values for the various parameters of a task.
These components are associated with the tasks tab
This component handles entering in a new task name
This component visualizes each of the tasks on the task tab
This is a tab only available in development mode that allows the user to test out a few features.
This tab provides all of the utility functions, such as hyperflush and rtc update.
An action describes what to do with new data after an event.
gets information from the sampler such as valves, currentState, utc, pressure...
Gets all tasks from the sampler
Requests to the sampler to make a new task with a provided name
Gets a particular task based on its ID
Sends updated task information to server
Deletes a task based on its ID
Schedules a saved task, sending its ID to the sampler
Unschedules a task based on its ID
Stores whether the loading screen should be shown or not.
Defines objects to store data in
Defines a task object, and a dictionary of tasks is used to store all tasks
Defines a status object.
Reducers take new information and update the state
Updates status
Used only in develop, creates an initial list of tasks of random IDs
Updates taskCollection
Updates whether the loadingScreen should be displayed or not.