Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fc9107c

Browse filesBrowse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
Use addressLabel in the UI.
- for the boards dropdown, and - for the `Tools` > `Port` menu. Closes #1331 Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
1 parent 474d5e5 commit fc9107c
Copy full SHA for fc9107c

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎arduino-ide-extension/src/browser/boards/boards-toolbar-item.tsx

Copy file name to clipboardExpand all lines: arduino-ide-extension/src/browser/boards/boards-toolbar-item.tsx
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ export class BoardsDropDown extends React.Component<BoardsDropDown.Props> {
138138
{boardLabel}
139139
</div>
140140
<div className="arduino-boards-dropdown-item--port-label noWrapInfo noselect">
141-
{port.address}
141+
{port.addressLabel}
142142
</div>
143143
</div>
144144
{selected ? <div className="fa fa-check" /> : ''}

‎arduino-ide-extension/src/browser/contributions/board-selection.ts

Copy file name to clipboardExpand all lines: arduino-ide-extension/src/browser/contributions/board-selection.ts
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ PID: ${PID}`;
288288
for (let i = 0; i < sortedIDs.length; i++) {
289289
const portID = sortedIDs[i];
290290
const [port, boards] = ports[portID];
291-
let label = `${port.address}`;
291+
let label = `${port.addressLabel}`;
292292
if (boards.length) {
293293
const boardsList = boards.map((board) => board.name).join(', ');
294294
label = `${label} (${boardsList})`;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.