Skip to content

v0.2.0

Latest

Choose a tag to compare

@xiaokai-lyk xiaokai-lyk released this 13 Jun 10:40
· 2 commits to main since this release

PCA9685 Debugging Panel v0.2.0 πŸŽ‰

A significant update bringing internationalization, action recording & replay,
and improved developer experience to the remote servo debugging panel.


✨ New Features

🌐 Internationalization (i18n)

  • Added bilingual support: English and Simplified Chinese (zh-CN).
  • Language switch available in the settings modal; preference persisted across sessions.
  • All UI text β€” status bar, channel cards, actions, modals β€” updates instantly on language change.

🎬 Action Recording & Replay

  • Record a snapshot of all 16 channel positions (angle/pulse + calibration) as a named action.
  • Actions are persisted to config.json and survive across restarts.
  • One-click replay: restores all channels to their recorded positions using 3-tier smart
    calibration resolution (current β†’ snapshot β†’ raw duty fallback).
  • Rename and delete actions from the actions grid.
  • Default name "Action N" assigned automatically when recording.

πŸ› οΈ Debug Mode (--debug)

  • Enable with python main.py --debug or pca9685-panel --debug.
  • Per-request timing middleware shows request duration in the server logs.
  • Full Python tracebacks in HTTP 500 error responses instead of generic messages.

πŸ—‘οΈ Clear Cache

  • "Clear Cache" button in the settings modal allows users to delete all saved configs
    and actions with one click, resetting to factory defaults.

πŸ’… Improvements

  • JS-fail overlay: A bilingual warning overlay is now shown if JavaScript fails to load
    or crashes, so users without JS know the app won't work.
  • Accessibility: aria-label attributes added to all form inputs.
  • Enhanced action buttons: Improved layout and styling in the actions grid for
    better visual clarity.

πŸ› Fixes & Maintenance

  • Fixed duplicate object key in config.json causing potential config corruption.
  • Cleaned up unused code in the frontend.
  • Updated .gitignore for developer notes and local tooling files.

Full Changelog: v0.1.0...v0.2.0