Repository navigation
Update howlongtobeat extension - #22120
Conversation
- Fix: Apply Prettier formatting - Fix: Hash not found error by updating API endpoint to /api/locate/; introduce a constant in HltbSearch class in case of future changes - Initial commit
|
Thank you for your contribution! 🎉 🔔 @Cronos87 @whitespacecode @ridemountainpig 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. You can expect an initial review within five business days. |
There was a problem hiding this comment.
Greptile Overview
Summary
This PR fixes a "Hash not found" error by updating the HowLongToBeat API search endpoint from /api/seek/ to /api/locate/.
Key changes:
- Introduced
API_SEARCH_ENDPOINTconstant inHltbSearchclass for centralized endpoint management - Updated all API calls to use the new
/api/locate/endpoint - Modified hash extraction regex in
helpers.tsto dynamically use the endpoint constant, making the code more maintainable for future API changes - Added changelog entry documenting the fix
The implementation is clean and follows good practices by centralizing the endpoint configuration. The change appears to be a direct response to an upstream API modification by HowLongToBeat.
Confidence Score: 5/5
- This PR is safe to merge with minimal risk
- The changes are straightforward and focused: updating an API endpoint URL from
/api/seek/to/api/locate/. The implementation adds a constant for maintainability and updates all references consistently. No logical errors, security issues, or breaking changes detected. - No files require special attention
Important Files Changed
File Analysis
| Filename | Score | Overview |
|---|---|---|
| extensions/how-long-to-beat/src/hltbsearch.ts | 5/5 | Added API_SEARCH_ENDPOINT constant and updated endpoint from /api/seek/ to /api/locate/ to fix hash not found error |
| extensions/how-long-to-beat/src/helpers.ts | 5/5 | Updated regex pattern generation to dynamically use API_SEARCH_ENDPOINT constant for hash extraction |
| extensions/how-long-to-beat/CHANGELOG.md | 5/5 | Added changelog entry for hash not found error fix |
3 files reviewed, no comments
ridemountainpig
left a comment
There was a problem hiding this comment.
Tested well. Looks good to me.
|
Looks good to me too! Many thanks for your appreciation of this extension 🙏🏼 |
pernielsentikaer
left a comment
There was a problem hiding this comment.
Looks good to me, approved 🔥
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
- chore: add assets and metadata for store submission - docs: add comprehensive documentation - test: add comprehensive test coverage - feat: implement UI components and main search interface - feat: add internationalization support - feat: add AI-powered query interpretation - feat: implement core app search functionality - feat: add type definitions and fuzzy matching utilities - feat: initialize app-search extension with project configuration - Update CODEOWNERs (7b1e59c4) - Add kagi-news extension (#22389) - brew: Change "formula" to "formulae" (#22518) - Update CODEOWNERs (257af696) - Add string-formatter extension (#21859) - Update CODEOWNERs (2a0fab28) - Add helium extension (#22290) - feat(markdown-codeblock): add newline prefix (#22369) - Update CODEOWNERs (b20058a1) - Docker/add windows support (#22455) - Add Windows platform support (#22453) - Update CODEOWNERs (aa68611f) - Add xkcd-password-generator extension (#22433) - Update CODEOWNERs (8bf2a9d9) - Add Stagehand extension (#22179) - Update CODEOWNERs (59d237b7) - Add micro-snitch-logs extension (#22390) - Update CODEOWNERs (238052ee) - Update github extension (#22384) - Docs: Update the utils docs - Update CODEOWNERs (42e307ec) - Add ivpn extension (#22149) - Add Pagination to List of Playlist Songs (#22145) - [Update] [Things] Increase timeout in AppleScript and update Node packages to latest (#22512) - Update figma-files-raycast-extension extension (#22254) - Update prism-launcher extension (#22458) - Update unicode-symbols extension (#22510) - Update jsr extension (#22503) - Update CODEOWNERs (0fd5ad08) - Add keeper-security extension (#22296) - Update filemaker-snippets extension (#22509) - Update CODEOWNERs (e858971c) - Add paynow extension (#22380) - [ipapi.is] fix error when some location field is invalid (#22493) - Update CODEOWNERs (ccfa9932) - Update zen-browser extension (#22491) - Update tembo extension (#22471) - Delete .github/workflows/add-approve-label.yml (#22501) - Update `Chatwoot` extension - Add "My Inbox" command + Fix "List Messages" command (#22490) - [Linear] Use API-provided notification presentation (#22285) - Update CODEOWNERs (1a7209ee) - Update harvest extension (#22256) - Update CODEOWNERs (13787cdf) - Fix finding button in Tahoe. (#22330) - Update GitHub Actions workflow for PR approvals (#22487) - Docs: update for the new API release - Update CODEOWNERs (77f64775) - Added support for Asana sections (#21912) - Update auto-label workflow for PR approvals (#22484) - Update GitHub Actions workflow to set effective token (#22482) - Update workflow to use pull_request_review event (#22479) - Update CODEOWNERs (d5727aab) - Add action to generate and copy private links (#22273) - Enhance PR approval labeling workflow (#22477) - Chatgpt atlas bookmarks improvement (#22371) - Add windows support (#22367) - Update diskutil-mac extension (#22307) - [Secret Browser Commands] add ChatGPT Atlas, etc (#22348) - Update deployhq extension (#22319) - [Serie A] Update extensions (#22427) - Update CODEOWNERs (a0f6527b) - Update arc extension (#22272) - Update CODEOWNERs (82962ede) - Add file-info extension (#22259) - [LaLiga] Update extensions (#22452) - Update CODEOWNERs (9f49ac17) - Update jotoba extension (#22379) - Update capture fullpage of website extension (#22392) - Update CODEOWNERs (9eeb19ae) - Add `Formizee` extension - The Open-Source Forms Platform (#22281) - Update CODEOWNERs (3878eb92) - [Video Downloader] ADD "Open in Explorer" for Windows users. (#22300) - Add `Sevalla` extension (#22407) - Update CODEOWNERs (c4582cbb) - Add `Attio` extension - Objects, Tasks, Webhooks, Lists, Notes, Members and Teams (1st version) (#22432) - Update CODEOWNERs (04f103bd) - Update google tasks extension (#22439) - Update CODEOWNERs (1e072cd8) - feat: add KeePassXC entry placeholder support (#22357) - Update ton-address extension (#22370) - [Postiz] Fix Creation Failing + Post Enhancements (#22372) - Update comet extension (#22381) - Update CODEOWNERs (291204ff) - [Random] Update dependencies, release for Windows (#22353) - Update CODEOWNERs (eeb3d87a) - Update capture fullpage of website extension (#22304) - Update CODEOWNERs (5204e8d4) - Add `HomeBox` extension - A simple home inventory management software (#22264) - Update docklock-plus extension (#22240) - Update `Autumn` extension - New Features command + Windows Support + Enhancements (#22311) - Update CODEOWNERs (7385f9dd) - Update paste as plain text extension (#22328) - Update CODEOWNERs (0ad576af) - Add `Vartiq` extension - Manage Projects, Apps, Webhooks, Webhook Messages (#22324) - Update CODEOWNERs (f28be428) - Update browser bookmarks extension (#22343) - Update CODEOWNERs (85c4dc01) - Update chatgpt atlas extension (#22351) - Update CODEOWNERs (2468906f) - Add ChatGPT Atlas extension (#22340) - Docs: update for the new API release - Update nightscout extension (#22293) - Threads: ESLint simplification, dependency updates, new commands, and documentation (#22276) - Update CODEOWNERs (a2bc7743) - Add wled-controller extension (#22258) - Update CODEOWNERs (12a75181) - Update jetbrains extension - Add Support for Toolbox V3 (#22265) - Update CODEOWNERs (3c3bfba8) - Add fathom extension (#22187) - Update youtube extension (#22250) - Update CODEOWNERs (2ddb7251) - Update fetch youtube transcript extension (#22220) - docs: [YouTube] reflect YouTube extension features instead of the GitLab extension (#22246) - Update kimai extension (#21809) - Update multiple extensions to address security vulnerabilities. (#22241) - Update linkding extension (#22231) - Update CODEOWNERs (f24e76f7) - Add http-observatory extension (#22219) - Update dig extension (#22213) - Update CODEOWNERs (4dd7c9d8) - Update apple-reminders extension (#22182) - Update CODEOWNERs (6336d869) - Add `Paymenter` extension - View Invoices + View Tickets + View & Create Users (#22232) - Update CODEOWNERs (f7242a65) - Update nhl extension (#22237) - Update CODEOWNERs (6d84bbb2) - Update obsidian-tasks extension (#21863) - Update harvest extension: Add favorites command (#22210) - Update CODEOWNERs (e8d487be) - Add tududi extension (#22165) - Update raycast-zoxide extension (#22218) - Update CODEOWNERs (00c88e12) - Update cheatsheets extension (#22226) - New Feature: Bootstrap Icons: AI Search Fallback (#22221) - Update `Unkey` extension - move to Unkey SDK w/ v2 Endpoints for better performance (#22214) - feat(nuxt): add Windows compatibility (#22209) - Update CODEOWNERs (4e5503af) - Add forscore extension (#22204) - tabler: handle pagination/search APIs (#22189) - Update CODEOWNERs (72e0c46f) - Update plane extension (#22198) - Update CODEOWNERs (a15e7275) - Add haystack extension (#22052) - Update zed-recent-projects extension (#22199) - things: fix timeout on macOS Tahoe (#22193) - macosicons: enhance error handling with detailed troubleshooting (#22192) - feat(nuxt): v2.1.0 (#22104) - [Bitwarden] Add Windows support (#21940) - Update CODEOWNERs (0d47291d) - Update instant-domain-search extension (#22081) - Update CODEOWNERs (a006b143) - Update time-machine extension (#22045) - Update base-stats extension (#21710) - Update CODEOWNERs (88cf72d9) - Update contributors (#22175) - Add Bootstrap Icons extension (#22190) - Update CODEOWNERs (9e13279b) - Add edgestore-raycast extension (#22117) - Update CODEOWNERs (a82922ec) - New Extension: Metacritic (#21588) - Update dust-tt extension (#22167) - [1Password] Adopt the latest extension template (#22109) - Update CODEOWNERs (b1b36e04) - Kaomoji Windows Support (#22158) - Update CODEOWNERs (21f635c6) - Update changedetection-io extension (#22126) - Update CODEOWNERs (7aa198cb) - [IPInfo] Release for Windows (#22075) - Update threads extension (#21962) - Update search-npm extension (#22153) - Update CODEOWNERs (0f83c147) - Update deployhq extension (#22151) - Update anna-s-archive extension (#22156) - Update `brand.dev` extension - Take Screenshots + Retrieve Styleguides + more brand data (#22155) - fix(keepassxc): retrieve keepassxc app location. (#22073) - Update bible extension (#22157) - Update CODEOWNERs (10372204) - Add serialcast extension (#21795) - Update CODEOWNERs (b25f5e83) - Add yazio-tracker extension (#21954) - Update bible extension (#22112) - Update grammaring extension (#22113) - Update CODEOWNERs (e100bc12) - Update toggle-fn extension (#22130) - Update CODEOWNERs (1f62a06f) - [Linear] Schema deprecation and update SDK (#22095) - Update CODEOWNERs (576ae0c4) - Update jwt-decoder extension (#22088) - Update duckduckgo-image-search extension (#22064) - Update CODEOWNERs (1869fd16) - Add deployhq extension (#21902) - Update CODEOWNERs (e46aede5) - Add bahn-info extension (#21492) - Update howlongtobeat extension (#22120) - Update CODEOWNERs (dfa9df71) - feat: add massCode assistant (#21851) - Update zoxide-git-projects extension to add alternate application and copy shortcuts (#22143) - Update CODEOWNERs (14d29e47) - Add planning-center-api-docs extension (#22029) - Update CODEOWNERs (df7f1aca) - Update font-awesome extension (#22085) - Update google-chrome extension (#22074) - Update unicode-symbols extension (#22103) - Update CODEOWNERs (1c08b627) - [Twitter] Modernize + fix smol controlled form thingy (#21767) - feat(bento-me): add Windows support. (#22119) - [Plane] fix crash due to different logo response (#22146) - Update CODEOWNERs (cc8cf75b) - Update `Plane` extension - search projects & view their work items + filter work items (#22106) - Update CODEOWNERs (187ad3c6) - Update hackmd extension (#22035) - Update CODEOWNERs (9befbb8b) - Update base64 extension (#21507) - [MapleStory.gg] Add support for Windows (#22086) - Update CODEOWNERs (8d7ab8d0) - Update `Supermemory` extension - search and add projects + Removed `useEffect` + Simplified `getApiKey`+ Moved API Key check into HoC (#22102) - [RICE Score] Port to Windows (#22118) - [Snake] Add Windows support (#22105) - [Brand Icons] Routine maintenance (#22087) - Update CODEOWNERs (da27c425) - Add `Chatwoot` extension (#22116) - Update CODEOWNERs (1e28965f) - update information & a small fix (#22137) - Add lapack-blas-documentation-search extension (#22031) - kim/fix/youtube transcripts (#22067) - Update scheduler extension (#22003) - Update unicode-symbols extension (#22066) - Update zeabur extension (#22062) - Update CODEOWNERs (ac316560) - Add `OVHcloud` extension - Manage Domain, DNS Records, Nameservers (#22065) - Update CODEOWNERs (3a9d22a1) - Update sesh extension (#21914) - Set Due Date to Everyday for Existing Tasks (#22058) - Update CODEOWNERs (049667a3) - Update duckduckgo-image-search extension (#21953) - Update numpy-documentation-search extension (#22020) - Update CODEOWNERs (7d895075) - Add instant-domain-search extension (#21871) - Update CODEOWNERs (ed57125e) - Add fakecrime-upload extension (#22010) - Update CODEOWNERs (92d1043d) - Add plane extension (#21879) - [RSS Reader] AI enhanced rss-reader extension (#22000) - Update CODEOWNERs (e4687ae8) - Add clean-text extension (#20988) - Update CODEOWNERs (99f287ce) - Fix quit-applications extension: Apple Events authorization error with fallback to ps command (#21155) - Update CODEOWNERs (fdc83ab6) - Scoop(refactor): implement singleton pattern for scoop command management and hooks for the UI (#21702) - Update CODEOWNERs (24d2d377) - feat(search-router): add custom search engine support (#21714) - Update sportssync extension (#21970) - Update CODEOWNERs (f31f0658) - Update zen-browser extension (#21556) - linear: add status preference to create issue for myself (#21959) - Update CODEOWNERs (061fee85) - Add ipinfo extension (#21991) - Update `Postiz` extension - support v2 endpoint + toggle display (#22044) - Fix: Address recipe fetching bug (#22033) - Update CODEOWNERs (32769831) - Update CT-7567 username in raycast2github.json (#22050) - Refactor reviewer permission check in workflow (#22041) - Update some deps to solve vulnerabilities (#22040) - Update CODEOWNERs (573ea59e) - Fix some security warnings (#21921) - [United Nations] Add support for Windows (#22032) - [Installed Extensions] Add support for Windows (#22036) - Implement comment creation and updating for PR bot (#22037) - Decommission Clarify Raycast extension. (#22034) - Docs: update for the new API release - Refactor platform label handling in PR bot (#22016) - Implement platform detection for extensions (#22014) - Update CODEOWNERs (dd22780a) - Add near-rewards extension (#21917) - Update CODEOWNERs (5bcb18d9) - Add toneclone extension (#21701) - [dust] feat(login): auto-switcher for user region (#21668) - Update CODEOWNERs (a97cef3c) - Add alloy extension (#21849) - Update CODEOWNERs (0fa6b009) - [Bitwarden Vault] Add a command to create a login (#21360) - Update CODEOWNERs (10274f0e) - Add numpy-documentation-search extension (#22013) - Update `ipapi.is` extension - Modernize + Windows Support + Enhancements (#21935) - Update CODEOWNERs (bdd2960d) - Update datetime format converter extension (#21707) - Update CODEOWNERs (8f7b8b7b) - Add `Infisical` extension (#21880) - Update CODEOWNERs (f3417a17) - Add `Chatbase` extension - View Agents/Bots, their conversations and messages (#21963) - add issue type to templates (#22005) - Update CODEOWNERs (ce65697d) - Add guitar-tools extension (#21855) - Update CODEOWNERs (27cae3f6) - Add shopify-dev-docs-search extension (#21694) - Update CODEOWNERs (9433c5d4) - Update comet extension (#21945) - [epim] Add automatic role status refresh after activation (#22008) - [raycastbot] Add support for closing issues as duplicate (#21548) - Update CODEOWNERs (4356e0bd) - Update `Kaomoji Search` extension - Windows Support + Modernize (#21976) - Update workflow configurations (#22002) - Update CODEOWNERs (5a03e66d) - Add braintick extension (#21545) - [Say] Fix missing await (#22001) - Update CODEOWNERs (ae2261c9) - Add rtl-reader extension (#21549) - Update CODEOWNERs (aaeda7de) - Add airsync extension (#21903) - [Say] Add Stop Say command & enhancements (#21998) - Docs: Update the utils docs - Update add-approve-label.yml (#21995) - Updated WebBites extension (#21987) - Enhance label addition workflow with debug info (#21990) - Update add-approve-label.yml (#21989) - Update reviewer type and token handling in workflow (#21988) - Refine auto-labeling for approved PRs (#21986) - Update add-approve-label.yml (#21984) - Update add-approve-label.yml (#21983) - Update add-approve-label.yml (#21982) - Update add-approve-label.yml (#21981) - Update add-approve-label.yml (#21980) - Update add-approve-label.yml (#21979) - Rework of fuzzy-file-search extension (#21675) - Update add-approve-label.yml (#21977) - Update add-approve-label.yml (#21975) - Add GitHub Actions workflow to auto-label approved PRs (skip write+ users only) (#21974) - Update CODEOWNERs (45a587fb) - [Web Converter] Add Windows Support (#21691) - Update CODEOWNERs (f922e589) - Add security-search extension (#21711) - Improve video filename handling and update dependencies (#21958) - [Grafana] add command Pages (#21952) - Fix formatting in generate-code-owners.yml (#21951) - Update CODEOWNERs (070fbee8) - Implement fallback for core dirs and key files checkout (#21950) - Refactor sparse checkout and improve Slack notifications (#21949) - Enhance sparse checkout and improve commit message (#21947) - Update qrcode generator extension (#21922) - Enhance URL handling: allow direct opening of URLs and add utility function for URL validation (#21555) - [Trello] Allow for multiple assignees on card (#21512) - Update messages extension (#21939) - Update stripe extension (#21943) - Update generate-code-owners.yml for sparse-checkout (#21925) - Add comma-separator extension (#21749) - Add gomander extension (#21647) - [Google Transalte] add hotkey to switch between language sets quickly (up and down) (#21918) - Add supermemory extension (#21811) - Add nepali-calendar extension (#21708) - Add folder-organizer extension (#21575) - Update github extension (#21742) - [Logseq] Windows support (#21705) - add an extra space for reward text (#21905) - Add uranium-raycast-plugin extension (#21501) - Update 1password extension (#21689) - Fix: The "Search Bookmarks" command returns an error when the hard-coded default path does not exist (#21706) - [Raindrop.io] open in 2ndary browser + modernize (#21748) - feat: enable windows support (#21739) - Update plexus extension (#21894) - Add hemolog extension (#21733) - Add `Koyeb` extension (#21891) - Update genius-lyrics extension (#21678) - Update battery-health extension: add adaptor power watts (#20966) - feat: Update YouTube transcript functionality (#21868) - [Bitbucket] Swap to API tokens (#21489) - Update aws extension (#21688) - Update code-runway extension (#21662) - Add claude-code-launcher extension (#21075) - Ext/window sizer: Updated screenshots to macOS Tahoe (#21790) - Update bilibili extension (#21703) - Update Ext/surge outbound switcher (#21860) - Ext/surge outbound switcher: Updated screenshots to macOS Tahoe (#21791) - Update `Font Awesome` extension - fix search would get stuck since token was not persisted (#21835) - Update aave-search extension (#21798) - Update `Spaceship` extension - View Lifecycle State of "Domain" + Change "Nameservers" of "Domain" + Add "Windows" Support (#21816) - feat(KeePassXC): add windows support. (#21785) - Update onbo extension (#21792) - Update `Todo List` extension - Added `tooltip` to to-do list items so longer titles easier to read + Added `metadata` images + Modernized (#21819) - [Comet] sort bookmarks by dateAdded + Modernize (#21734) - [Pipedrive] fix issue + lots of changes (#21709) - Add `Youform` extension - view your forms, their blocks and submissions (#21840) - Update arc extension (#21821) - [video-downloader] Fix long video name issue (#21839) - [Playnite Launcher] Fix cold starting issue (#21827) - Add razuna extension (#21558) - fix(nuxt): sanitize component name and optimize ai prompt (#21804) - Update gif search extension (#21834) - Improve Sesh List (#21805) - Update tembo extension (#21810) - Update duan-raycast-extension extension (#21836) - [Forked Extensions] Add support for checking aheads & branches (#21838) - Update svgl extension (#21841) - Update CODEOWNERs - Update unicode-symbols extension (#21726) - [JSONtoTS] Add Windows Support (#21736) - Update CODEOWNERs - feat(mcp-registry): update nuxt ui mcp url (#21763) - Update `MailerSend` extension - Add Windows Support + View Domain DNS Records (#21698) - Add `Vanguard Backup` extension - Manage **Backup Destinations** + Manage **Backup Tasks** + Manage **Remote Servers** (#21769) - Update CODEOWNERs - Update `bmrks` extension - change delete action shortcut + modernize (#21770) - feat(nuxt): update to nuxt ui v4 (#21762) - Updated Wordflow (#21753) - Update CODEOWNERs - Added WebBites extension (#21227) - Update CODEOWNERs - feat: add CometAPI extension for AI-powered text processing tools (#21562) - Update CODEOWNERs - Add nightscout extension (#21552) - PPL: Fixed View Newspapers bug (#21693) - Docs: Update the utils docs - Docs: Add changelog for windows (#21695) - Update CODEOWNERs - Update parcel extension (#21415) - Update CODEOWNERs - Docs: update for the new API release - Update mail extension (#21687) - Add platforms support to package.json for windows and linux (#21666) - Update CODEOWNERs - Update CODEOWNERs - Update dependencies and improve keyboard shortcuts for cross-platform compatibility (#21667) - Update static-marks extension (#21428) - Update gitlab extension (#21670) - Update how long to beat extension (#21671) - Update Google Calendar Quickadd (#21673) - [Statamic Docs] Rename dev readme to avoid it showing on the store (#21654) - Update hue palette extension (#21627) - Update CODEOWNERs - Add `Postiz` extension - Search Channels + Search Posts (week) & Create (draft, text-only) Post & Delete Post (#21553) - Added version switcher to Statamic Docs extension (#21620) - Update CODEOWNERs - Add ip-finder extension (#21543) - Migration for 1.103.0 and Windows docs (#21652) - Update granola extension (#21629) - Update CODEOWNERs - Add Raycast FRC (#21390) - Update unicode-symbols (#21641) - [Playnite Launcher] Support for portable versions & fixes (#21622) - Update duan-raycast-extension extension (#21626) - [Forked Extensions] Fix incorrect content for copying (#21635) - Zed Recent Projects - fix broken pinned cache (#21608) - Docs: update for the new API release - Update CODEOWNERs - Add simple-dictionary extension (#21456) - Update CODEOWNERs - `zen-browser`: Add Windows Support (#21600) - Update CODEOWNERs - Add swiss-train-times extension (#21522) - Update CODEOWNERs - Add onbo extension (#21551) - Update zen-browser extension (#21414) - Update CODEOWNERs - Add share-a-quote extension (#21541) - Update CODEOWNERs - Add `Autumn` (useautumn.com) extension - List Customers & Create Customer + List Products & Create Product (#21514) - [OCI] List NoSQL + Manage Object Storage (#21572) - Update CODEOWNERs - Update remember this extension (#21367) - Update debug package to
Description
Updated hltb api search endpoint to fix Error hash not found. Introduced a constant API_SEARCH_ENDPOINT to HltbSearch class in case of future changes
Checklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder