Repository navigation
[Art Wallpapers.] Rebrand to 'Another Boring Piece' + Auto Switch Wallpaper - #27938
Conversation
- Rename store-facing strings: title "Art Wallpapers." with subtitle "Another boring piece. Daily." Keep internal slug to preserve the existing Raycast Store listing. - Migrate API base URL to service.anotherboring.day and outbound art detail links to anotherboring.day. Same payload, no type changes. - Add Auto Switch Wallpaper command: background no-view command with a 30m static interval, 30m/1h/1d refresh preferences, optional on-switch HUD, and a 5-entry ring buffer to dedupe recent images. Manual invocations force a switch and reset the timer. - Harden utils.ts: sanitize wallpaper IDs before joining into cache paths and escape filePath before AppleScript interpolation. Defense in depth — current backend IDs are cuids and never trigger this. - Ignore /openspec and /.claude (local agent-tooling scaffolds). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
|
Thank you for your contribution! 🎉 🔔 @nurel07 @alexibuild 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. 📋 Quick checkout commandsBRANCH="feat/another-boring-piece"
FORK_URL="https://github.com/nurel07/raycast-extensions.git"
EXTENSION_NAME="basalt-wallpapers"
REPO_NAME="raycast-extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 10-15 business days. |
Greptile SummaryThis PR rebrands the extension from "Basalt Wallpaper" to "Art Wallpapers." (slug unchanged as
Confidence Score: 5/5Safe to merge; the new Auto Switch command is well-scoped and all three commands were tested end-to-end per the author. The core logic — background scheduling, ring-buffer deduplication, AppleScript path escaping, and the manual/background launch split — is straightforward and correct. The two findings are minor convention gaps that do not affect runtime behavior. No files require special attention beyond the two small convention fixes flagged in Important Files Changed
Prompt To Fix All With AIFix the following 2 code review issues. Work through them one at a time, proposing concise fixes.
---
### Issue 1 of 2
extensions/basalt-wallpapers/src/auto-switch-wallpaper.tsx:61
Per project convention, `getPreferenceValues` should always be called with the explicit `<Preferences>` type argument so TypeScript resolves to the auto-generated command-scoped type rather than relying on the implicit default. Omitting it here can mask type errors if the preference schema changes and the generated type diverges from what the code accesses.
```suggestion
const preferences = getPreferenceValues<Preferences>();
```
### Issue 2 of 2
extensions/basalt-wallpapers/package.json:1-2
The `$schema` field is required in every Raycast extension's `package.json`. It enables editor autocomplete, inline validation, and IntelliSense for Raycast-specific fields, which is especially useful when adding new commands or preferences as this PR does.
```suggestion
{
"$schema": "https://www.raycast.com/schemas/extension.json",
"name": "basalt-wallpapers",
```
Reviews (4): Last reviewed commit: "Update CHANGELOG.md" | Re-trigger Greptile |
…and use auto-generated types Removes the manually defined `Preferences` interface from `auto-switch-wallpaper.tsx` in favor of the auto-generated types from `raycast-env.d.ts`. This aligns with project convention and prevents type drift when `package.json` preferences schema changes. Updates imports to remove unused `getPreferenceValues` dependency.
… cache management - Added "types" for Node.js to tsconfig.json for improved type support. - Introduced "ignoreDeprecations" option in tsconfig.json to manage deprecation warnings. - Refactored cache management in utils.ts to define CacheFile type for better type safety in file operations.
|
Hey @nurel07 👋 If you want, we can update the slug and set redirects to support the new name. |
|
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. |
…ling period (#27968) * chore(another-boring-piece): rename slug from basalt-wallpapers, drop trailing period Follow-up to #27938. Per @0xdhrv's offer to set up redirects for the new brand name: - Move folder: extensions/basalt-wallpapers/ → extensions/another-boring-piece/ - Update name slug to "another-boring-piece" - Drop trailing period in title: "Art Wallpapers." → "Art Wallpapers" Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * fix: changelog date format * refactor(another-boring-piece): update package-lock and README, remove old screenshots - Updated package-lock.json to reflect the new name "another-boring-piece" and added peer dependencies. - Modified README.md to reference new screenshot paths in the metadata directory. - Removed outdated screenshot files from the media directory. * Update CHANGELOG.md and optimise images --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]> Co-authored-by: Dhruv Suthar <[email protected]> Co-authored-by: Dhruv Suthar <[email protected]> Co-authored-by: raycastbot <[email protected]>
…ling period (raycast#27968) * chore(another-boring-piece): rename slug from basalt-wallpapers, drop trailing period Follow-up to raycast#27938. Per @0xdhrv's offer to set up redirects for the new brand name: - Move folder: extensions/basalt-wallpapers/ → extensions/another-boring-piece/ - Update name slug to "another-boring-piece" - Drop trailing period in title: "Art Wallpapers." → "Art Wallpapers" Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]> * fix: changelog date format * refactor(another-boring-piece): update package-lock and README, remove old screenshots - Updated package-lock.json to reflect the new name "another-boring-piece" and added peer dependencies. - Modified README.md to reference new screenshot paths in the metadata directory. - Removed outdated screenshot files from the media directory. * Update CHANGELOG.md and optimise images --------- Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]> Co-authored-by: Dhruv Suthar <[email protected]> Co-authored-by: Dhruv Suthar <[email protected]> Co-authored-by: raycastbot <[email protected]>
Description
Rebrand the extension's store-facing identity to "Art Wallpapers." with subtitle "Another boring piece. Daily." Keep the internal slug
basalt-wallpapersto preserve the existing Store listing.Migrate API to
service.anotherboring.day; outbound art-detail links toanotherboring.day. Same payload, noWallpapertype changes.Add a new command: Auto Switch Wallpaper (
no-view,interval: 30m). The desktop wallpaper rotates on a configurable schedule (30 min / 1 hour / 1 day) with an optional HUD on change. Manual invocations force a switch and reset the timer. A 5-entry ring buffer in RaycastCacheprevents showing the same image twice in a row.Includes small defense-in-depth hardening in
utils.ts(sanitize cache keys, escape AppleScript path interpolation).Type of change
Checklist
🤖 Generated with Claude Code