Update summary with UI improvements for human-readable names

Co-authored-by: openhands <openhands@all-hands.dev>
This commit is contained in:
openhands 2025-11-08 11:20:53 +00:00
parent 86e92f6111
commit de26bfe9d0
1 changed files with 6 additions and 0 deletions

View File

@ -20,11 +20,15 @@ Successfully removed the legacy station/pump configuration system and fully inte
- **Replaced text inputs with dropdowns**: For `station_id`, `equipment_id`, and `data_type_id` fields
- **Added dynamic loading**: Dropdowns are populated from tag metadata API endpoints
- **Updated form validation**: Now validates against available tag metadata
- **Enhanced table display**: Shows human-readable names with IDs in protocol mappings table
- **Updated headers**: Descriptive column headers indicate "Name & ID" format
### 4. JavaScript (`static/protocol_mapping.js`)
- **Added tag metadata loading functions**: `loadTagMetadata()`, `populateStationDropdown()`, `populateEquipmentDropdown()`, `populateDataTypeDropdown()`
- **Updated form handling**: Now validates against tag metadata before submission
- **Enhanced user experience**: Dropdowns provide selection from available tag metadata
- **Improved table display**: `displayProtocolMappings` shows human-readable names from tag metadata
- **Ensured metadata loading**: `loadProtocolMappings` ensures tag metadata is loaded before display
### 5. Security Module (`src/core/security.py`)
- **Removed legacy permissions**: `configure_safety_limits` permission removed from ENGINEER and ADMINISTRATOR roles
@ -45,6 +49,8 @@ Successfully removed the legacy station/pump configuration system and fully inte
- **Dropdown Selection**: Users select from available tag metadata instead of manual entry
- **Dynamic Loading**: Dropdowns populated from API endpoints on page load
- **Validation Feedback**: Clear error messages when invalid selections are made
- **Human-Readable Display**: Protocol mappings table shows descriptive names with IDs
- **Enhanced Usability**: Users can easily identify stations, equipment, and data types by name
## Benefits