Skip to content

Commit

Permalink
Don’t repeat proposal title in Alfred’s subtitle field
Browse files Browse the repository at this point in the history
We had previously repeated the proposal title in the subtitle because the title field might get truncated earlier due to its bigger font size. However, now that we display some additional metadata in the subtitle (version when a proposal was implemented, review period of proposals in review), I think not repeating the title is better.
  • Loading branch information
ole committed May 14, 2024
1 parent 8468216 commit 245ddd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion se-lookup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ extension AlfredItem {
init(proposal: Proposal) {
self.uid = proposal.url.absoluteString
self.title = "\(proposal.id): \(proposal.title)"
self.subtitle = "\(proposal.status.description)\(proposal.title)"
self.subtitle = "\(proposal.status.description)"
self.arg = proposal.url.absoluteString
self.autocomplete = proposal.id
self.quicklookurl = proposal.url.absoluteString
Expand Down

0 comments on commit 245ddd2

Please sign in to comment.