- 
 
- 
  Notifications
 You must be signed in to change notification settings 
- Fork 512
feat: simplify board and port handling #2149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
 
  Closed
 
 
 
 
  Closed
 
 
 Conversation
 
 
 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
 Learn more about bidirectional Unicode characters
 
 
 
 
 
 
 @kittaakos
kittaakos
 added
 
 type: enhancement
 Proposed improvement 
 
 topic: code
 Related to content of the project itself 
 labels
 Jul 21, 2023 
 
 
 
 
 
 
 
 4 tasks
 
  @kittaakos
 kittaakos
 force-pushed
 the
 
 
 #1319
 
 branch
 2 times, most recently
 from
 July 26, 2023 09:14  
 
8e66de6 to
 12a3d69  
 Compare
 
 
 
 kittaakos 
 pushed a commit
 to kittaakos/arduino-ide
 that referenced
 this pull request
 
 Jul 26, 2023 
 
 
 
 
 
 
 
 
when platform is not installed Ref: arduino#2149 (comment) Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
 kittaakos
 
  
 
 
 kittaakos
 
 
 commented
 
 
 Jul 26, 2023 
 
 
 
 
 
 
 
 arduino-ide-extension/src/browser/boards/boards-auto-installer.ts
 
 Outdated
 
 Show resolved
 Hide resolved
 
  
 
 arduino-ide-extension/src/browser/boards/boards-auto-installer.ts
 
 Outdated
 
 Show resolved
 Hide resolved
 
  
 
 arduino-ide-extension/src/browser/boards/boards-toolbar-item.tsx
 
 Outdated
 
 Show resolved
 Hide resolved
 
  
 
 arduino-ide-extension/src/browser/boards/boards-toolbar-item.tsx
 
 Outdated
 
 Show resolved
 Hide resolved
 
  
 
 arduino-ide-extension/src/browser/dialogs/certificate-uploader/certificate-uploader-dialog.tsx
 
 Outdated
 
 Show resolved
 Hide resolved
 
  @kittaakos
 kittaakos
 force-pushed
 the
 
 
 #1319
 
 branch
 2 times, most recently
 from
 July 28, 2023 14:55  
 
498c7e0 to
 d2a6f38  
 Compare
 
 
 kittaakos
 
  
 
 
 kittaakos
 
 
 commented
 
 
 Jul 31, 2023 
 
 
 
 
 
 
 
 ...no-ide-extension/src/browser/dialogs/certificate-uploader/certificate-uploader-component.tsx
 
 Outdated
 
 Show resolved
 Hide resolved
 
  @kittaakos
 kittaakos
 force-pushed
 the
 
 
 #1319
 
 branch
 2 times, most recently
 from
 August 2, 2023 17:24  
 
9cafe95 to
 1bf6fae  
 Compare
 
 
 
 @kittaakos
kittaakos
 added
 
 topic: CLI
 Related to Arduino CLI 
 
 type: imperfection
 Perceived defect in any part of project 
 labels
 Aug 2, 2023 
 
  @kittaakos
 kittaakos
 force-pushed
 the
 
 
 #1319
 
 branch
 from
 August 3, 2023 09:29  
 
c50c153 to
 ccc3801  
 Compare
 
 Closes arduino#1319 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
it's unavailable on macOS arm64 (YePpHa/node-protoc#9) and the API generation is a manual process: 0942ef6 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
To workaround the React-based widget lifecycle issue: eclipse-theia/theia#12093. The dialog constructor is called once, hence the default `toDispose` listener will execute only once per app lifecycle. The default dialog close behavior (from Theia) will dispose the widget. On dialog reopen, the constructor won't be called again, as the dialog is injected as a singleton, but the React component has been unmounted on dialog dispose. Hence, they will be recreated. The `componentDidMount` method will be called, but the `componentWillUnmount` is not called anymore. The dialog is already disposed. It leads to a resource leak. Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
 @kittaakos
 kittaakos
 force-pushed
 the
 
 
 #1319
 
 branch
 from
 August 3, 2023 13:17  
 
19cbd5a to
 610e464  
 Compare
 
 
 
 
 
 
 
 4 tasks
 
 Duplicate of #2165.
 
 Sign up for free
 to join this conversation on GitHub.
 Already have an account?
 Sign in to comment
 
 
 Add this suggestion to a batch that can be applied as a single commit.
 This suggestion is invalid because no changes were made to the code.
 Suggestions cannot be applied while the pull request is closed.
 Suggestions cannot be applied while viewing a subset of changes.
 Only one suggestion per line can be applied in a batch.
 Add this suggestion to a batch that can be applied as a single commit.
 Applying suggestions on deleted lines is not supported.
 You must change the existing code in this line in order to create a valid suggestion.
 Outdated suggestions cannot be applied.
 This suggestion has been applied or marked resolved.
 Suggestions cannot be applied from pending reviews.
 Suggestions cannot be applied on multi-line comments.
 Suggestions cannot be applied while the pull request is queued to merge.
 Suggestion cannot be applied right now. Please check back later.
 
 
 
 
 
 
 You can’t perform that action at this time.
 
 
 
Uh oh!
There was an error while loading. Please reload this page.
This PR has been replaced by #2165.
(削除) 🚧 Work in progress but in a previewable state (削除ここまで)(削除) See the Beta Testing Guide for the tester builds. The builds are not signed. See here, how to start the app on macOS. (削除ここまで)Motivation
(削除) The rewrite of the board and port handling in IDE2. The basic idea is to avoid trying to do port change detection on the IDE2 side (frontend) but rely on the CLI's new API: arduino/arduino-cli#2253. (削除ここまで)(削除) ### Change description (削除ここまで)(削除) Update to CLI from feature: Detect board port change after upload arduino-cli#2253 CLI. (削除ここまで)(削除) Updated to2.3.0Arduino Firmware Uploader. (削除ここまで)(削除) New way of handling the gRPC client initialization after Automatically download indexes, if missing, in gRPCInitcall arduino-cli#2119 . (削除ここまで)(削除) TBD (削除ここまで)(削除) ### Other information (削除ここまで)(削除) Closes #1319 (削除ここまで)(削除) Ref #2143 (削除ここまで)(削除) Ref #2158 (削除ここまで)Reviewer checklist