Skip to content

Commit 80309b2

Browse files
Truncates long titles in launchpad item list
Makes room for remote/repo name in first row.
1 parent 2f3f561 commit 80309b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plus/focus/focus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ export class FocusCommand extends QuickCommand<State> {
381381
);
382382

383383
return {
384-
label: i.title,
384+
label: i.title.length > 60 ? `${i.title.substring(0, 60)}...` : i.title,
385385
// description: `${i.repoAndOwner}#${i.id}, by @${i.author}`,
386386
description: `\u00a0 ${i.repository.owner.login}/${i.repository.name}#${i.id} \u00a0 ${
387387
i.codeSuggestionsCount > 0

0 commit comments

Comments
 (0)