Skip to content

Add HomeBox extension - A simple home inventory management software - #22264

Merged
raycastbot merged 6 commits into
raycast:mainfrom
xmok:ext/homebox
Oct 23, 2025
Merged

raycastbot merged 6 commits into
raycast:mainfrom
xmok:ext/homebox

Conversation

@xmok

@xmok xmok commented Oct 18, 2025

Copy link
Copy Markdown
Contributor

Demo

There is a demo installation that can be used at https://demo.homebox.software/home.

Description

This is a Raycast extension for HomeBox - A simple home inventory management software.

I looked into it as an alternative to MyIdlers extension and it's pretty nice.

Screencast

homebox.mp4

Checklist

@raycastbot

ghost commented Oct 18, 2025

Copy link
Copy Markdown
Collaborator

Congratulations on your new Raycast extension! 🚀

You can expect an initial review within five business days.

Once the PR is approved and merged, the extension will be available on our Store.

ghost left a comment •

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Greptile Overview

Summary

Adds a new Raycast extension for HomeBox, a home inventory management system. The extension provides commands to view statistics, search/create items, labels, and locations.

Key changes:

  • API client with token-based authentication and automatic refresh
  • Custom hooks for data fetching with pagination support
  • UI components for searching and managing items, labels, and locations
  • Proper error handling and optimistic updates

Issues found:

  • Variable naming swap in CreateItem component causing incorrect loading state aliases (line 134-135)
  • Quantity validation incorrectly rejects "0" as invalid input (line 164)

Confidence Score: 3/5

  • This PR has two logical errors that will cause incorrect behavior in production
  • Score reflects two critical logic bugs: swapped loading state variables that could cause UI inconsistencies, and broken validation that prevents users from entering "0" as a quantity
  • extensions/homebox/src/search-items.tsx requires fixes for swapped variables and validation logic

Important Files Changed

File Analysis

Filename Score Overview
extensions/homebox/package.json 5/5 extension manifest with correct dependencies and configuration
extensions/homebox/src/homebox.ts 5/5 API client with token management and error handling
extensions/homebox/src/hooks.ts 5/5 custom hooks wrapping API calls with caching
extensions/homebox/src/search-items.tsx 2/5 items search UI with swapped loading state variables (line 134-135) and broken quantity validation (line 164)

Additional Comments (2)

  1. extensions/homebox/src/search-items.tsx, line 134-135 (link)

    logic: loading state aliases are swapped - isLoadingLocations comes from useLabels() and isLoadingLabels comes from useLocations()

  2. extensions/homebox/src/search-items.tsx, line 164 (link)

    logic: validation fails for "0" since Number("0") returns 0 which is falsy - use isNaN() instead

14 files reviewed, 2 comments

Edit Code Review Agent Settings | Greptile

@pernielsentikaer pernielsentikaer self-assigned this Oct 23, 2025

ghost left a comment

Copy link
Copy Markdown
Contributor

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 5204e8d into raycast:main Oct 23, 2025
@github-actions

ghost commented Oct 23, 2025

Copy link
Copy Markdown
Contributor

@raycastbot

ghost commented Oct 23, 2025

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.

@xmok
xmok deleted the ext/homebox branch October 23, 2025 17:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants