Skip to content
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

Update tennis-standings extension #12280

Merged
merged 5 commits into from
May 16, 2024

Conversation

drillprop
Copy link
Contributor

@drillprop drillprop commented May 10, 2024

Description

Follow up of #12248

Screencast

Ekran.10.maj.2024.12.54.mp4

Checklist

- documentation and adjustments
- fix show player in ranking feature
- improve copy, remove rendundant files
- replace old rankings with enhanced rankings
- add contributor
- Initial commit
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: tennis-standings Issues related to the tennis-standings extension labels May 10, 2024
@raycastbot
Copy link
Collaborator

raycastbot commented May 10, 2024

Thank you for your contribution! 🎉

🔔 @faisal3389 @xilopaint you might want to have a look.

@xilopaint
Copy link
Contributor

xilopaint commented May 10, 2024

I still prefer the leaderboard icon over repeating Points:. Also, I believe it's more common to use Rankings (in the plural form), in this context, than the singular form Ranking. The rest looks good to me.

EDIT: I didn't see the code, just the screencast.

@drillprop
Copy link
Contributor Author

Thanks for the feedback.

Also, I believe it's more common to use Rankings (in the plural form), in this context, than the singular form Ranking.

Sure, I'll fix that.

I still prefer the leaderboard icon over repeating Points:.

I find the leaderboard icon a bit unclear in terms of its meaning. What about stars? 👇🏻
Zrzut ekranu 2024-05-10 o 20 36 20

VS

Zrzut ekranu 2024-05-10 o 20 40 13

@xilopaint
Copy link
Contributor

I don't see how the star can be clearer than the leaderboard icon. The tennis standings are essentially leaderboard positions. An alternative is using the pts abbreviation after the points (e.g. 10760 pts), but I didn't test to see how it looks.

There's also redundancy in the dropdown. You don't need the "Filter by country" section if you're already using the same message as a placeholder:

Screenshot 2024-05-10 at 16 09 19

@xilopaint
Copy link
Contributor

xilopaint commented May 10, 2024

Thinking a bit more, I would also recommend against using emojis in the rankings. It's impossible to know all the flags. Look at the current WTA rankings:

Screenshot 2024-05-10 at 16 19 03

With all due respect, I have no clue what the flags of Belarus and Kazakhstan look like, even though those are two top-10 players. Your emojis are not helpful for smaller countries. I much prefer the previous way of presenting the countries. Furthermore, emojis are known to impoverish the design and make it inconsistent.

@drillprop
Copy link
Contributor Author

drillprop commented May 12, 2024

@xilopaint

Also, I believe it's more common to use Rankings (in the plural form), in this context, than the singular form Ranking.

fixed

There's also redundancy in the dropdown. You don't need the "Filter by country" section if you're already using the same message as a placeholder:

fixed

I don't see how the star can be clearer than the leaderboard icon. The tennis standings are essentially leaderboard positions. An alternative is using the pts abbreviation after the points (e.g. 10760 pts), but I didn't test to see how it looks.

I'm still not convinced by this. I find the icon blurry - it looks to me like some buildings and a star on top of it. It doesn't look like a podium to me. Also, the numbers on the right of the icon don't tell about the player's position but about the player's points, so the leaderboard semantically doesn't fit here IMO.
But anyway, I won't be arguing here - I set the leaderboard icon like you want. Fixed

Regarding emojis and countries:

Furthermore, emojis are known to impoverish the design and make it inconsistent.

Sure, I understand your point and partly agree. But If I would set the name of the country close to the name(using subtitle prop) as you suggest, it would be more actually confusing. I use the subtitle to show ranking changes since the last ranking release, and If I would add a country close to it, it wouldn't be really incomprehensible. This is how it would look 👇🏻

image

Removing ranking change is not an option - IMO this information is more important in the leaderboard extension than showing the name country. You want to know how players progress through the season.

With all due respect, I have no clue what the flags of Belarus and Kazakhstan look like, even though those are two top-10 players.

You can always check the player's country name by checking the player's details. So you can access this information very easily, actually.
image

Also, to convince you a little bit more, there is a very similar extension already that uses the same pattern with emojis.

image

So in the end I left emojis and countries as it is.

After fixing the requested changes here's how the extension looks:
image

image

@xilopaint
Copy link
Contributor

xilopaint commented May 12, 2024

I find the icon blurry - it looks to me like some buildings and a star on top of it. It doesn't look like a podium to me. Also, the numbers on the right of the icon don't tell about the player's position but about the player's points, so the leaderboard semantically doesn't fit here IMO.

A podium is basically what you get when you search for "ranking" in Iconify:

Screenshot 2024-05-12 at 10 36 35

Yet, if you think Icon.Leaderboard can be improved, you can always talk to the Raycast design team. New icons can also be requested. Or do you think it would be a better option not to use any icon at all, as in the Formula 1 extension you showed?

But If I would set the name of the country close to the name(using subtitle prop) as you suggest, it would be more actually confusing. I use the subtitle to show ranking changes since the last ranking release, and If I would add a country close to it, it wouldn't be really incomprehensible.

I see your point. To be honest, I can't find a good solution to accommodate everything. The emojis make the design look cheap, no wonder you won't find them in Raycast built-in extensions. But in the absence of a better alternative, let's leave them in the list view as you suggested. I only think it's too much using the flag ahead of the country name. In the dropdown I would remove the emojis and prove with Icon.Globe for "All countries" and Icon.Map for each country.

I would also remove the emoji in the player's details because it looks ugly and unnecessary.

@pernielsentikaer pernielsentikaer self-assigned this May 14, 2024
@pernielsentikaer
Copy link
Collaborator

We can also move flags to accessories, I'm not sure if it makes it less cluttered? We can also make a preference to not show the flag if you don't like that @xilopaint

tennis-standings 2024-05-15 at 05 52 29

@xilopaint
Copy link
Contributor

We can also make a preference to not show the flag if you don't like that @xilopaint

Not necessary. I'm not the extension author, just a contributor, and this PR brings good improvements.

I would remove the flags from the dropdown and the player's details, but it's just my opinion. @drillprop can have the final say here.

@pernielsentikaer
Copy link
Collaborator

I actually like the flags, for me it brings value to have it

@drillprop is this all ready to be merged?

@drillprop
Copy link
Contributor Author

drillprop commented May 16, 2024

I actually like the flags, for me it brings value to have it

@drillprop is this all ready to be merged?

I was busy for the last few days and I couldn't answer. I would also keep the flags, especially in the dropdown. With all due respect, I don't like the idea of setting repetitive Map icons.

Yes, it's ready to be merged.

Copy link
Collaborator

@pernielsentikaer pernielsentikaer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi 👋

Looks good to me, approved 🔥

@raycastbot raycastbot merged commit f7e342b into raycast:main May 16, 2024
2 checks passed
Copy link
Contributor

Published to the Raycast Store:
https://raycast.com/Zalgo_123/tennis-standings

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag.

MohamedK1 added a commit to MohamedK1/raycast-extensions that referenced this pull request May 22, 2024
- feat: avoid overwriting a file
- Update CODEOWNERs
- Add ai-screenshot extension (raycast#12399)
- Update raycast2github.json
- Update CODEOWNERs
- Update read-ai extension (raycast#12101)
- Update CODEOWNERs
- Update date-format-converter extension (raycast#12087)
- Update CODEOWNERs
- Add u301-url-shortener extension (raycast#12398)
- Update CODEOWNERs
- Add number-facts extension (raycast#12395)
- Update CODEOWNERs
- [consoledev] Update consoledev extension (raycast#12397)
- Update package.json for chatgpt-quick-actions with GPT-4o model (raycast#12390)
- Update CODEOWNERs
- [Amazon AWS] "Copy Link" Action for console links and other bug-fixes (raycast#12379)
- Update pick-your-wallpaper extension (raycast#12462)
- feat(Timers): persistent commands, codebase cleanup (raycast#12473)
- Added keyword (raycast#12483)
- Update CODEOWNERs
- Update 1password extension (raycast#12156)
- Apple Notes: Fix lint
- Update CODEOWNERs
- Apple Notes: Fix typo
- Update CODEOWNERs
- Fix \`naver-search\` broken url for en-ko dict (raycast#12400)
- Move lemon into pastContributors (raycast#12421)
- Update omg-lol extension (raycast#12366)
- Update CODEOWNERs
- Update jira extension (raycast#12405)
- Apple Notes: Fix SQL query
- Apple Notes: Filently sail if there are no invitation links
- Update CODEOWNERs
- [Update] [Open Path] Peek url in safari (raycast#12453)
- Add Lucky Surf extension (raycast#12135)
- Update CODEOWNERs
- Add Pass extension (raycast#12296)
- Update CODEOWNERs
- Update keyboard-brightness extension (raycast#12158)
- [Say] Add voice rate & output device support (raycast#12422)
- Update drupal-org extension (raycast#12434)
- Update snap-jot extension (raycast#12467)
- [Bugfix] [Bing Wallpaper] Fix set wallpaper issue (raycast#12452)
- Update kimai extension (raycast#12425)
- Update CODEOWNERs
- Update contribute-to-an-extension.md to ensure CHANGELOG.md is updated or created (raycast#12427)
- [Update] [Easy New File] New File Now (raycast#12442)
- Update ai-humanizer extension (raycast#12437)
- Update f1-standings extension (raycast#12457)
- feat(change-case): add README to clarify behavior (raycast#12464)
- Update CODEOWNERs
- Update chatgpt extension (raycast#12385)
- [YAFW] fix: raycast#12440 & raycast#12439 (raycast#12478)
- Update CODEOWNERs
- Add Horoscope extension (raycast#12261)
- Update CODEOWNERs
- Update clockify extension (raycast#12374)
- Update CODEOWNERs
- Update drupal-org extension (raycast#12239)
- Update CODEOWNERs
- Add swift-repl extension (raycast#12104)
- [Shell] fix for commands not sent to iTerm2 (raycast#12364)
- Update CODEOWNERs
- Update dependencies (raycast#12408)
- Update pokedex extension (raycast#12411)
- Update CODEOWNERs
- Add android-versions extension (raycast#12316)
- Update CODEOWNERs
- Update youtrack extension (raycast#12351)
- Add genius-lyrics extension (raycast#12314)
- [Say] Fix voice picker (raycast#12396)
- Update CODEOWNERs
- Update simple-reminder extension (raycast#12402)
- Docs: update for the new API release
- Update alt-text-generator extension (raycast#12349)
- Update CODEOWNERs
- [Say] Add Say - Spoken Content extension (raycast#12289)
- Update CODEOWNERs
- Update jira extension (raycast#12392)
- GitHub: Add support for projects (raycast#11999)
- Apple Notes: Fix tags
- [Simple Reminder] Update the UI when no reminders are active (raycast#12368)
- Update CODEOWNERs
- Jira: Fix Open in Browser action
- Update tennis-standings extension (raycast#12280)
- Update CODEOWNERs
- Add uploadthing extension (raycast#12293)
- Add \`/status_name\` to todo creation parser (raycast#12082)
- Update query-chatgpt extension (raycast#12377)
- Apple Notes: Fix backlink error
- Apple Notes: Fix backlinks error
- Wallpapers: Fix wallpapers with underscore
- Spotify Controls: Update screenshot
- Add migrations for 1.73.0 and 1.74.0
- Docs: update for the new API release
- Update chatgpt extension (raycast#12362)
- [Ray.so] Add new color themes and preview images for Vercel & Evil Rabbit partners and updated programming languages (raycast#12267)
- Update CODEOWNERs
- Add ugly-face extension (raycast#12325)
- Update chatgpt extension (raycast#12338)
- Update CODEOWNERs
- Brew: Remove --include-pinned upgrade flag [raycast#12342] (raycast#12345)
- [Toothpick] Device not disconnecting using AppleScript backend (raycast#12348)
- Apple Notes: Fix link on macOS Ventura
- Apple Notes: Links, backlinks, tags (raycast#12341)
- Update doutu extension (raycast#12322)
- Update CODEOWNERs
- Add "A Song of Ice and FIre" extension (raycast#12335)
- Update CODEOWNERs
- Add klack extension (raycast#12275)
- Add input fields for Raycast and macOS versions (raycast#12265)
- Update linear extension (raycast#12118)
- [Perplexity-API] Updated Models (raycast#12336)
- Update browser-ai extension (raycast#12257)
- Update CODEOWNERs
- fix: standardise filename before testing format support (raycast#12201)
- Docs: update for the new API release
- feat(msteams): added call option (raycast#12242)
- Update CODEOWNERs
- Update CODEOWNERs
- Update pixabay extension (raycast#11871)
- Update homeassistant extension (raycast#11954)
- Update running-page extension (raycast#12306)
- Update CODEOWNERs
- Add dog-images extension (raycast#12176)
- Update Relcaim.ai extension to cache the user for 30 minutes. (raycast#12286)
- Add Converting PDF to Image command to iLovePDF extension (raycast#12317)
- Merge branch \'contributions/merge-1715595213938086000\' into pdf_to_image
- Pull contributions
- Update CODEOWNERs
- [Speedtest] Update interface to include streaming quality - 12232 (raycast#12284)
- Update raycast-explorer extension (raycast#12213)
- Adding Compressing PDF command (raycast#12308)
- feat: add PDF to Image command in iLovePDF extension
- chore: make title titled cased
- Merge branch \'contributions/merge-1715547025023987000\' into ilovepdf
- Pull contributions
- Merge branch \'contributions/merge-1715541634996198000\' into ilovepdf
- Pull contributions
- Update CODEOWNERs
- Add bored extension (raycast#12214)
- Update CODEOWNERs
- Update CODEOWNERs
- Add RelaGit extension (raycast#12050)
- [shell] add early support for \`kitty\` terminal (raycast#12188)
- [Update Extension] System Monitor - Overall improvements (raycast#12010)
- Update CODEOWNERs
- Update date-converter extension (raycast#12277)
- lint
- Update google-advanced-search extension (raycast#12179)
- Fix validation for username in SSH Tunnel Manager (raycast#12171)
- Update CODEOWNERs
- Update workouts extension (raycast#12260)
- Update CODEOWNERs
- feat(hugging face): added hf actions (raycast#12220)
- Update CODEOWNERs
- Add literal extension (raycast#11590)
- fix(change-case): pascal snake case incorrect name (raycast#12141)
- Update reflect extension (raycast#11953)
- Update CODEOWNERs
- Add mozilla-vpn extension (raycast#12034)
- Update linear extension (raycast#12246)
- Update CODEOWNERs
- Update sonos extension (raycast#12273)
- Update CODEOWNERs
- [putio]: Add VLC streaming support for both regular and MP4 streams (raycast#12043)
- Update bilibili extension (raycast#12274)
- Update CODEOWNERs
- [JSR] Add badges & correct name spells (raycast#12234)
- [Bugfix] [Avatar] Fix DiceBear avatar unavailability issue (raycast#12244)
- Update ipa-translator extension (raycast#12256)
- [Google Translate] add CMD+F to toggle full text (raycast#12262)
- Docs: update for the new API release
- Docs: update for the new API release
- Update CODEOWNERs
- Add ipa-translator extension (raycast#12124)
- Update ruler extension (raycast#12185)
- Docs: update for the new API release
- Update CODEOWNERs
- Add alt-text-generator extension (raycast#12159)
- Update quick-notes extension (raycast#12238)
- Update CODEOWNERs
- Update vercast extension (raycast#12153)
- Update alice-ai extension (raycast#12152)
- Update mercado-libre extension (raycast#12236)
- Fix Cloudflare capitalization (raycast#12230)
- Update CODEOWNERs
- Update yafw extension (raycast#12147)
- Update CODEOWNERs
- Adds flexibility to \'Get Favicon\' extension URL input so user isn\'t required to enter scheme (raycast#12216)
- Update CODEOWNERs
- Add running-page extension (raycast#12138)
- Update workouts extension (raycast#12226)
- Change Syntax icon to updated version (raycast#12134)
- Update CODEOWNERs
- Update Netlify extension (add Manage DNS Records) (raycast#12056)
- Update CODEOWNERs
- Update shell extension (raycast#12065)
- feat: add simple reminder menu bar (raycast#12223)
- Update CODEOWNERs
- Add aerospace extension (raycast#12122)
- Update CODEOWNERs
- Update simplelogin extension (raycast#11882)
- Update CODEOWNERs
- Add open-folders extension (raycast#11929)
- feat: add recurrent reminders (raycast#12208)
- feat: add compress PDF command in iLovePDF extension
- Update CODEOWNERs
- Update raycast-explorer extension (raycast#12161)
- feat: add image to pdf command in iLovePdf extension
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
extension fix / improvement Label for PRs with extension's fix improvements extension: tennis-standings Issues related to the tennis-standings extension
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants