Skip to content

Clean bella#128

Merged
Sekiro-kost merged 5 commits into
betafrom
cleanBella
May 21, 2026
Merged

Clean bella#128
Sekiro-kost merged 5 commits into
betafrom
cleanBella

Conversation

@Sekiro-kost
Copy link
Copy Markdown
Contributor

Description

Suggested changelog entry

Related issues/external references

Fixes #

Types of changes

  • Bug fix (non-breaking change which fixes)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
    • This change is only breaking for integrators, not for external standards or end-users.
  • Documentation improvement

PR checklist

  • I have checked there is no other PR open for the same change.
  • I have read the Contribution Guidelines.
  • I grant the project the right to include and distribute the code under the GNU.
  • I have added tests to cover my changes.
  • I have verified that the code complies with the projects coding standards.
  • [Required for new sniffs] I have added MD documentation for the sniff.

<!--

Please make sure your pull request passes all continuous integration checks!

PRs which are failing their CI checks will likely be ignored by the maintainers.

PRs using atomic, descriptive commits are hugely appreciated as it will make
reviewing your changes easier for the maintainers.

-->

Sekiro-kost and others added 5 commits May 20, 2026 11:02
Delete legacy bellaMobile class and demo panelWebApp UI files, remove their include from mobile.class.php, and clean up mobile.api.php by removing the unused syncBella stub and fixing a typo in the notifications comment. This removes dead/sample code related to the Bella feature and tidies up mobile-related sources.
Include '/../desktop/php/panelWebApp.php' and '/../core/class/bellaMobile.class.php' in the mobile_update() $oldFiles array so these legacy files are removed during updates. This change ensures deprecated panel web app and mobile class files are cleaned up when running the update routine.
Add a special-case in mobile_update migration: when migrating a command with logicalId 'phoneBattery', set its 'calculValueOffset' configuration to '#value# * 100' and log the action. This ensures battery values are scaled (e.g., from fractional to percentage) as part of the existing logicalId renaming and save process.
@Sekiro-kost Sekiro-kost merged commit 229ba5a into beta May 21, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants