xilopaint / alfred-urban-dictionary

Search Urban Dictionary from Alfred.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Some suggestions to improve readability

fedecalendino opened this issue Β· comments

commented

Hi!

I quite like this workflow, it's super handy!

I have a few suggestions that might improve the readability of the results.

  1. Switch the titles and the subtitles to give more importance to the definitions rather than their scoring.

  2. Remove all the [...] that are associated with links to other UD pages.

  3. Sort the results by their πŸ‘πŸ» score (or maybe by the ratio of πŸ‘ŽπŸ» / πŸ‘πŸ»)

  4. Remove the word you are looking for from the subtitle.

BEFORE:

before

AFTER:

after

Cheers,
Fede.

commented

ps: i'd happily push a PR for this repo if you want.

Results are sorted the same way as the website what means the workflow follows UD's own algorithm. A higher like count doesn't mean a higher score and therefore a more relevant result as you also have dislikes, that's why I'm not willing to change this part. As for switching titles and subtitles and omitting the search term, it's problematic for more than one reason. Firstly, your approach implies that the resulting words are always identical to what you typed and it's not true. See:

Screenshot 2023-06-04 at 09 51 47

Also, the large title font allows less content to be displayed.

Regarding, [...] I agree with the suggestion and would accept a PR to fix this.

commented

Right, I wasn't aware of that!

I'll make the PR for the brackets.

Cheers.