Skip to content

Conversation

@clauspruefer
Copy link
Member

Pull Request

Description

Some framework code sections generate too much debug-output when highly frequented (e.g. object set / get value or similar). They must be commented out.

Type of Change

  • Enhancement

Additional Notes

It could also be a performance enhancement.

@clauspruefer clauspruefer added this to the Release 1.0 milestone Aug 11, 2025
@clauspruefer clauspruefer self-assigned this Aug 11, 2025
Copilot AI review requested due to automatic review settings August 11, 2025 08:43
@clauspruefer clauspruefer added enhancement New feature or request base Base system labels Aug 11, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR reduces debug output in framework code sections that are frequently executed to improve performance and reduce console noise. The changes comment out debug logging statements in high-traffic methods like object getters, setters, and event handling.

  • Comments out debug logging in frequently called methods across multiple framework files
  • Adds null check for Element in DOMaddEventListener method
  • Removes unnecessary blank line in reset method

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
www/sysObjFormfieldItem.js Comments out debug logs in FormItemInit, FormItemGetValue, and reset methods
www/sysFactory.js Comments out debug log in getObjectByID method
www/sysBaseObject.js Comments out debug log in getObjectData method
www/sysBaseDOMElement.js Comments out debug logs in removeDOMElement and setDOMElementValue methods, adds null check

@clauspruefer clauspruefer merged commit 516730b into main Aug 11, 2025
4 checks passed
@clauspruefer clauspruefer deleted the reduce-debug-output branch August 11, 2025 13:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

base Base system enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants