Skip to content

PPL: Improved cached logic and removed unused fields#17666

Merged
pernielsentikaer merged 4 commits intomainfrom
ppl-cache-improvements
Mar 8, 2025
Merged

PPL: Improved cached logic and removed unused fields#17666
pernielsentikaer merged 4 commits intomainfrom
ppl-cache-improvements

Conversation

@danielsequeira
Copy link
Contributor

Description

Improved newspapers cached logic and removed fields without data.

Checklist

@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: portuguese-primeira-liga Issues related to the portuguese-primeira-liga extension labels Mar 8, 2025
@raycastbot
Copy link
Collaborator

raycastbot commented Mar 8, 2025

Thank you for your contribution! 🎉

🔔 @danielsequeira you might want to have a look.

You can use this guide to learn how to check out the Pull Request locally in order to test it.

Due to our current reduced availability, the initial review may take up to 10-15 business days

@raycastbot raycastbot added the OP is author The OP of the PR is the author of the extension label Mar 8, 2025
Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR improves the Portuguese Primeira Liga extension by enhancing newspaper caching logic and removing unused fields from various components.

  • Updated cache key in extensions/portuguese-primeira-liga/src/hooks/useNewspapers.ts to include year for better uniqueness: newspapers-${dayMonthYear}
  • Removed unused 'form' field from Table interface in extensions/portuguese-primeira-liga/src/types/index.ts
  • Removed unused 'position' field from Player interface in extensions/portuguese-primeira-liga/src/types/index.ts
  • Lists in standings.tsx and topScorers.tsx correctly use isLoading prop to avoid empty state flicker

💡 (2/5) Greptile learns from your feedback when you react with 👍/👎!

4 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

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.

Fixed 7 vulnerabilities (4 moderate, 3 high)
Added missing icon

SCR-20250308-inat

@pernielsentikaer pernielsentikaer merged commit e24c200 into main Mar 8, 2025
9 checks passed
@pernielsentikaer pernielsentikaer deleted the ppl-cache-improvements branch March 8, 2025 09:13
@github-actions
Copy link
Contributor

github-actions bot commented Mar 8, 2025

Published to the Raycast Store:
https://raycast.com/danielsequeira/portuguese-primeira-liga

@raycastbot
Copy link
Collaborator

🎉 🎉 🎉

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

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: portuguese-primeira-liga Issues related to the portuguese-primeira-liga extension OP is author The OP of the PR is the author of the extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants