Project

General

Profile

Actions

Activity #2857

closed

Feature #3752: Design of the web framework for Data Centre Software

Feature #1850: Design and Development for web based ANRS

Module #2148: Developement for Configuration screens

Module #2856: Development of modules as per design changes

Module #2896: Development for UI

Development for UI form Platforms

Added by Thara S Pillai about 2 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Start date:
06/11/2024
Due date:
% Done:

100%

Estimated time:
Planned Due Date:
06/12/2024

Description

  • Create a new menu Platforms
  • Develop UI as per attached screenshot
  • Develop for a popup form on Add New click for Deployment Type
  • Develop for a popup form on Add New click for Platform Type
  • Simulate a list of existing Platform list (render from a simulated JSON)
  • Simulate lookup data from a response JSON
  • Simulate changes in Add new with new entries from form popup.
  • On Save click, Modify JSON list and update list.

{"data": [{
"pltf_id": 1,
"pltf_name": "Buoy 1",
"pltf_type_id": "1",
"pltf_type_name": "BUOY",
"dply_type_id": "1",
"dply_type_name": "DEEP",
"active":"Y"
}, {
"pltf_id": 1,
"pltf_name": "Buoy 2",
"pltf_type_id": "1",
"pltf_type_name": "BUOY",
"dply_type_id": "1",
"dply_type_name": "SHALLOW",
"active":"Y"
}
],
"lookup_data":{
"plat_types": [{"pltf_type_id": "1", "pltf_type_name": "BUOY"},{"pltf_type_id": "2", "pltf_type_name": "SHIP"}],
"deploy_types": [{"dply_type_id": "1", "dply_type_name": "SHALLOW"}, {"dply_type_id": "2", "dply_type_name": "SHALLOW"}]
},
"opstatus": {
"status": "success_or_error_warning",
"errorCode": "A code representing the specific error. codes like ERR-<4 digit code>",
"errorMessage": "A human-readable message describing the error",
"timestamp": "Timestamp of when the error occurred",
"source": "Source of the error. database_or_api_validation",
"traceId": "Unique identifier for tracking the request",
"logLevel": "INFO_or_WARN_or_ERROR"
}
}

Actions #1

Updated by Thara S Pillai about 2 years ago

Edit and Remove to update JSON and re-render list

Actions #2

Updated by Siji Mathew about 2 years ago

  • Status changed from New to In Progress
  • % Done changed from 0 to 50
Actions #3

Updated by Siji Mathew about 2 years ago

  • % Done changed from 50 to 60
Actions #4

Updated by Siji Mathew about 2 years ago

  • % Done changed from 60 to 80
Actions #5

Updated by Siji Mathew about 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 80 to 100

The UI screen for the platform is located at: views/platform.ejs.

The corresponding JavaScript file is located at: public/appjs/platform_ui.js.

The select combo and table entries are loaded when the page loads, and the JSON is updated for new entries.

The save, clear, edit, and delete functionalities are working correctly, and when we click delete, it shows an alert message.

Actions #6

Updated by Siji Mathew about 2 years ago

Code modified:

When we add a new deployment type and platform type, the data is updated in the lookup.json.

Platform and platform_type are set as mandatory fields (*).

Default data is added to the existing JSON files.

Actions #7

Updated by Thara S Pillai about 2 years ago

  • Status changed from Resolved to Closed
Actions #8

Updated by Thara S Pillai about 2 years ago

  • Parent task changed from #2856 to #2896
Actions

Also available in: Atom PDF