Battery Types Manage View

The Edit Battery Type view enables users to modify site, name, voltage, and capacity, with options to save or cancel.

The Edit Battery Type view allows users to update existing battery details, including site, name, voltage values, and capacity. Pre-filled fields display current data for easy reference, while mandatory validation ensures accuracy. Users can save changes using the Save button or discard updates with the Cancel button, streamlining the editing process.

Edit Battery Type View

Form Layout

The form is presented as a modal with a title at the top, multiple input fields in the centre, and action buttons at the bottom. Below is the breakdown of each element.

Header Section

The header section includes the title, indicating the purpose of the modal.

Element
Description

Title

Displays the title "New Battery Type" at the top of the modal.

Input Fields Section

The main section contains all the fields required to define a new battery type.

Field Name
Type
Description

Site

Dropdown Menu

Select the site where this battery type will be associated. Options are predefined (e.g., Minnovation).

Name

Text Input

Input the name of the battery type (e.g., "18650 Sony"). This is a required field.

Maximum Voltage

Numeric Input (Volts)

Enter the maximum voltage the battery supports. Mandatory.

Minimum Voltage

Numeric Input (Volts)

Enter the minimum voltage the battery supports. Mandatory.

Nominal Voltage

Numeric Input (Volts)

Specify the nominal (standard) operating voltage of the battery. Mandatory.

Capacity

Numeric Input (Amp Hours)

Input the capacity of the battery, typically in ampere-hours (Ah). Mandatory.

Action Buttons Section

The bottom section contains action buttons for saving or discarding changes.

Button
Type
Description

Cancel Button

Action Button

Discards any changes and closes the modal without saving.

Save Button

Action Button

Saves the new battery type if all required fields are completed correctly.

Note : The close icon (X) in the top-right corner of the Edit Battery Types modal allows users to exit without saving changes.

Validation and Behaviour

Validation Rule
Description

Mandatory Fields

All fields marked with an asterisk (*) must be completed for the "Create" button to be activated.

Units Display

Voltage fields include a label ("Volts") for clarity, while capacity includes "Amp Hours."

Error Handling

If a field is left blank or invalid, an error message is displayed to guide the user.

Mini Workflow Example

  1. Step 1: Open the New Battery Type modal.

  2. Step 2: Select the Site from the dropdown menu.

  3. Step 3: Enter the Name, Maximum Voltage, Minimum Voltage, Nominal Voltage, and Capacity.

  4. Step 4: Click the Create button to save the new battery type, or select Cancel to discard changes.

Conclusion

The Create New Battery Type window is a structured form that ensures users provide all essential data for defining a battery type. By validating mandatory fields and guiding users with clear labels and units, it simplifies the process of adding new entries to the system.

Last updated