Skip to content

Update spanish-tv-guide extension - #28026

Merged
raycastbot merged 5 commits into
raycast:mainfrom
doktor500:ext/spanish-tv-guide
May 17, 2026
Merged

raycastbot merged 5 commits into
raycast:mainfrom
doktor500:ext/spanish-tv-guide

Conversation

@doktor500

@doktor500 doktor500 commented May 17, 2026 •

Copy link
Copy Markdown
Contributor

Description

  • Fix a display issue with an icon happening in Raycast 2 beta
  • Fix a timezone issue

Screencast

raycast-spanish-tv-guide.mp4

Checklist

- Pull Raycast store contributions
- Pull contributions
- Fix lint and remove jest
- Update changelog
- Fix timezone issue
- Bump dependencies
- Fix icon for raycast 2
- Update title
- Bump dependencies
- Calculate if a program is live client side as the API is now cached
- Bump depdendencies
- Consume new API
- Merge pull request raycast#2 from doktor500/tv-guide-v2
- Downgrade eslint to 8.X
- Add eslint file
- Fix lint issues
- Renamet metadata directory to docs
- Fix changelog typo
- Update changelog date
- Update changelog
- Merge pull request raycast#1 from doktor500/tv-guide-v2
- Formatting
- Refactor
- Imrpove markdown
- Always display up to date channel schedule
- Rename file
- Rename to DTO
- Bump dependencies
- Fix imports
- Fix time issue
- Display if a program is live
- Set selected program based on user interaction
- Refactor types
- Fix timezone issue
- Move get program details to repository
- Add maybe type
- Rename property
- Display program details
- Fix lint
- Optimise icon generation process
- Extract toId function
- Drop previous broadcasted programs when the list is too long
- Fix flickering issue
- Fix keys
- Restructure directories
- Refactor Channel details component
- Refactor Channel component
- Extract icon utils
- Refactor channels component
- Fix lint
- Use navigation api
- Selected channel view
- Create all channels view
- Use reducer
- Remove type
- Fix lint
- Update raycast username
- User friendly error handling
- Set live stream icon
- Bump dependencies
- Wait for icons to be loaded
- Fix metadata and readme
- Update CHANGELOG.md
- Fix lint
- Cleanup
- Update changelog
- Extract constant
- Bump dependencies
- Resize icons
- Optimize
- Pull contributions
- Remove live logic
- Update demo.gif
- Fix title
- Add screenshot
- Fix icon
- Bump dependencies
- Initial version
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: spanish-tv-guide Issues related to the spanish-tv-guide extension platform: macOS OP is author The OP of the PR is the author of the extension labels May 17, 2026
@raycastbot

Copy link
Copy Markdown
Collaborator

Thank you for the update! 🎉

We're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days.

@doktor500
doktor500 marked this pull request as ready for review May 17, 2026 09:30
@greptile-apps

greptile-apps Bot commented May 17, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR fixes two bugs in the spanish-tv-guide extension: a display issue with an icon in Raycast 2 beta and a timezone parsing issue. It also migrates the ESLint config to the v9 flat format, removes jest, and updates several dependencies including jimp to v1.

  • Icon fix: Non-live programs now render "transparent.png" instead of an empty/null value that caused a display regression in Raycast 2; the asset is added to the assets/ folder.
  • Timezone fix: dateUtils.ts replaces a hardcoded UTC offset with the IANA zone "Europe/Madrid" for DST-correct parsing, and introduces getSystemTimezone() to display times in the user's local timezone with a proper Intl fallback.
  • Tooling cleanup: .eslintrc.json replaced with a flat eslint.config.js, jest.config.ts removed, and dependency versions updated across the board.

Confidence Score: 5/5

The changes are targeted and well-scoped: a one-line asset reference swap fixes the icon bug, and the timezone logic now correctly defers to Luxon with the IANA zone name and falls back to the Intl API in all failure paths.

Both stated fixes are straightforward and the implementation is sound. The Jimp v1 API migration is handled correctly, and the ESLint flat-config migration follows the established pattern. No changed code path introduces new risks.

No files require special attention.

Important Files Changed

Filename Overview
extensions/spanish-tv-guide/src/utils/dateUtils.ts Timezone fix: replaces hardcoded UTC+1 offset with IANA zone "Europe/Madrid" for DST-aware parsing, and adds getSystemTimezone() to display times in the user's local zone using execSync + Intl fallback
extensions/spanish-tv-guide/src/components/SelectedChannel.tsx Icon fix for Raycast 2: non-live programs now use "transparent.png" asset instead of a value that caused display issues in the Raycast 2 beta
extensions/spanish-tv-guide/src/utils/iconUtils.ts Updated Jimp import and API call for v1 compatibility (named import, object-style contain arguments)
extensions/spanish-tv-guide/eslint.config.js Migrates from legacy .eslintrc.json to ESLint v9 flat config using defineConfig from "eslint/config" and @raycast/eslint-config
extensions/spanish-tv-guide/package.json Dependency updates: @raycast/api bumped to ^1.104.17, jimp to v1, luxon/ramda updated, jest/ts-jest removed, eslint bumped to v10, TypeScript to v6
extensions/spanish-tv-guide/CHANGELOG.md New entry added for bug fixes; date is hardcoded as "2026-05-17" rather than the {PR_MERGE_DATE} placeholder (previously flagged)
extensions/spanish-tv-guide/assets/transparent.png New transparent placeholder icon asset added to support the Raycast 2 icon display fix in SelectedChannel

Reviews (5): Last reviewed commit: "Update CHANGELOG.md, add platforms field..." | Re-trigger Greptile

@0xdhrv 0xdhrv self-assigned this May 17, 2026

@0xdhrv 0xdhrv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good to me, approved ✅

@raycastbot
raycastbot merged commit 88de05a into raycast:main May 17, 2026
1 check passed
@github-actions

Copy link
Copy Markdown
Contributor

@raycastbot

Copy link
Copy Markdown
Collaborator

🎉 🎉 🎉

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

@doktor500
doktor500 deleted the ext/spanish-tv-guide branch July 5, 2026 12:42
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: spanish-tv-guide Issues related to the spanish-tv-guide extension OP is author The OP of the PR is the author of the extension platform: macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants