Skip to content

优化flasher会话管理#3

Merged
bookshiyi merged 17 commits into
mainfrom
feat/hardware-session
Jun 18, 2026
Merged

优化flasher会话管理#3
bookshiyi merged 17 commits into
mainfrom
feat/hardware-session

Conversation

@bookshiyi

Copy link
Copy Markdown
Contributor

No description provided.

bookshiyi added 17 commits June 18, 2026 16:26
…ardwareSession to inject device via constructor
…add auto-reconnect

- Remove duplicate  declaration in startFlash (runtime syntax error)
- Enrich HardwareIdentity with manufacturerName, productName, serialNumber
- Update UsbSelector/HidSelector to capture richer device identity
- Add getDeviceIdentity() to HardwareSession, restore getCurrentDeviceDetails()
- Add startAutoReconnect()/stopAutoReconnect() listening to browser connect events
- Wire onReconnect callback in flasherFacade to restore 'ready' status
Unify naming with project convention (flasher- prefix).
- Rename class HardwareSession → FlasherSession
- Rename interface HardwareSessionDeps → FlasherSessionDeps
- Rename files: HardwareSession.ts → FlasherSession.ts,
  HardwareSession.types.ts → FlasherSession.types.ts,
  HardwareSession.spec.ts → FlasherSession.spec.ts
- Update all imports across selectors, flasherFacade, SessionManager
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
weblink Ready Ready Preview, Comment Jun 18, 2026 10:59am

@netlify

netlify Bot commented Jun 18, 2026

Copy link
Copy Markdown

Deploy Preview for goweblink ready!

Name Link
🔨 Latest commit a651835
🔍 Latest deploy log https://app.netlify.com/projects/goweblink/deploys/6a33cf75ef7b09000885b5a7
😎 Deploy Preview https://deploy-preview-3--goweblink.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 93
Accessibility: 87
Best Practices: 92
SEO: 82
PWA: 60
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

@bookshiyi bookshiyi merged commit ea9f729 into main Jun 18, 2026
4 of 7 checks passed
@bookshiyi bookshiyi deleted the feat/hardware-session branch June 18, 2026 10:59
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.

1 participant