mirror of
https://github.com/safijari/openpuck.git
synced 2026-11-03 22:30:22 +00:00
[PR #257] Split panel into ES modules #263
Labels
No labels
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
safijari/openpuck#263
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/safijari/openpuck/pull/257
Author: @nabaxo
Created: 8/27/2026
Status: 🔄 Open
Base:
main← Head:refactor/panel-es-modules📝 Commits (1)
de88a59Split monolithic panel script into ES modules📊 Changes
16 files changed (+1798 additions, -1907 deletions)
View changed files
📝
docs/index.html(+1 -1907)➕
docs/js/app.js(+259 -0)➕
docs/js/backup.js(+128 -0)➕
docs/js/capture.js(+72 -0)➕
docs/js/dongle.js(+52 -0)➕
docs/js/firmware.js(+405 -0)➕
docs/js/flight.js(+66 -0)➕
docs/js/hang.js(+24 -0)➕
docs/js/lizard.js(+180 -0)➕
docs/js/protocol.js(+169 -0)➕
docs/js/slots.js(+42 -0)➕
docs/js/status.js(+223 -0)➕
docs/js/trail.js(+17 -0)➕
docs/js/types.js(+91 -0)➕
docs/js/util.js(+37 -0)➕
docs/js/wedge.js(+32 -0)📄 Description
I needed to use my tokens on something, and the page was a mess, the clanker will explain why this is better and more maintainable.
Summary
<script>block indocs/index.htmlinto 15 browser-native ES modules (docs/js/*)<script type="module" src="js/app.js">— no build step, no bundlersetHandlers,setStatusHandlers,setLizardLoader) instead of direct cross-importsModule breakdown
util.js$,log,escHtml,fmtDur,fmtSlider,setSlider,betaPopuptrail.jshang.jswedge.jsslots.jstypes.jslizard.jsprotocol.jsstatus.jsdongle.jscapture.jsflight.jsbackup.jsfirmware.jsapp.jsTest plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.