ORNL-AMO / AMO-Tools-Desktop

AMO-Tools-Desktop is an energy efficiency calculation application for use with industrial equipment such as pumps, furnaces, fans, and motors, as well as for industrial systems such as steam. Currently in beta.
Other
39 stars 22 forks source link

Diagram tech enhancement/updates #7010

Closed nbintertech closed 1 month ago

nbintertech commented 1 month ago
  1. Change xyflow default id's - diagram nodes and edges still use default id's from xyflow. These should be changed to before we go into production - and could be a little more human readable/useful.
  2. Check and add form id's htmlFor - prevent duplicate refs
  3. Optimize callbacks with useCallback
  4. Optimize with debounce

Stretch - get css modules compiling

nbintertech commented 1 month ago

Changed above stuff, also added some performance for user input on saving diagram and the color palettes (reduce amount of calls to each)