Commit ff83600
authored
Refactor port handler (#3984)
* Refactor port handler and fix reconnect
* Fix as per review
* Don't auto-connect for virtual or manual
* Fix auto-connect switch state
* Move auto-connect title to the parent div
The checkbox is "hidden" under the switchary
library, so move to the parent to be able to show
it.
* Select active port when request permission port exists before
* Fix retun value for webserial requestPemission1 parent a6e3761 commit ff83600
File tree
6 files changed
+219
-377
lines changed- src
- components/port-picker
- js
- protocols
- tabs
6 files changed
+219
-377
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
51 | 54 | | |
52 | | - | |
53 | | - | |
| 55 | + | |
54 | 56 | | |
55 | 57 | | |
56 | 58 | | |
| |||
0 commit comments