Skip to content

[Art Wallpapers.] Rebrand to 'Another Boring Piece' + Auto Switch Wallpaper - #27938

Merged
raycastbot merged 4 commits into
raycast:mainfrom
nurel07:feat/another-boring-piece
May 16, 2026
Merged

raycastbot merged 4 commits into
raycast:mainfrom
nurel07:feat/another-boring-piece

Conversation

@nurel07

@nurel07 nurel07 commented May 15, 2026

Copy link
Copy Markdown
Contributor

Description

Rebrand the extension's store-facing identity to "Art Wallpapers." with subtitle "Another boring piece. Daily." Keep the internal slug basalt-wallpapers to preserve the existing Store listing.

Migrate API to service.anotherboring.day; outbound art-detail links to anotherboring.day. Same payload, no Wallpaper type 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 Raycast Cache prevents 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

  • New feature (Auto Switch Wallpaper)
  • Chore (rebrand, endpoint migration)

Checklist

  • I've read the Contribution Guidelines
  • I've run `npm run lint` and there are no errors
  • I've tested my changes locally with `ray dev`
  • All three commands work end-to-end

🤖 Generated with Claude Code

- 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]>
@raycastbot raycastbot added extension fix / improvement Label for PRs with extension's fix improvements extension: basalt-wallpapers Issues related to the basalt-wallpapers extension platform: macOS OP is author The OP of the PR is the author of the extension labels May 15, 2026
@raycastbot

raycastbot commented May 15, 2026 •

Copy link
Copy Markdown
Collaborator

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 commands
BRANCH="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 dev

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

@greptile-apps

greptile-apps Bot commented May 15, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR rebrands the extension from "Basalt Wallpaper" to "Art Wallpapers." (slug unchanged as basalt-wallpapers), migrates the API base URL to service.anotherboring.day, and introduces a new no-view Auto Switch Wallpaper command that rotates the desktop wallpaper on a configurable schedule using Raycast's background interval runner.

  • Auto Switch Wallpaper: runs every 30 min via Raycast's scheduler; an in-code timer check (30m / 1h / 1d preference) prevents unnecessary switches, and a 5-entry ring buffer in Cache avoids back-to-back repeats with up to 3 retry attempts.
  • Defense-in-depth in utils.ts: cache keys are sanitized with a character allowlist and AppleScript path strings now escape \ and " before interpolation.
  • Package updates: @raycast/api bumped to 1.104.17, dev dependencies updated.

Confidence Score: 5/5

Safe 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 auto-switch-wallpaper.tsx and package.json.

Important Files Changed

Filename Overview
extensions/basalt-wallpapers/src/auto-switch-wallpaper.tsx New no-view command implementing background wallpaper rotation with a 5-entry ring buffer and configurable interval; logic is sound but getPreferenceValues() is called without the explicit <Preferences> type argument.
extensions/basalt-wallpapers/src/utils.ts API endpoints migrated to service.anotherboring.day; cache-key sanitization and AppleScript path escaping added as defense-in-depth — changes look correct.
extensions/basalt-wallpapers/package.json Extension rebranded, new auto-switch-wallpaper command and preferences added correctly; missing $schema field.
extensions/basalt-wallpapers/src/index.tsx Outbound art-detail link updated to anotherboring.day; no functional changes, looks clean.
extensions/basalt-wallpapers/CHANGELOG.md New changelog entry added for the rebrand and auto-switch feature; date uses a hardcoded value instead of the {PR_MERGE_DATE} placeholder.
extensions/basalt-wallpapers/README.md Updated to reflect the rebrand and document the new Auto Switch Wallpaper command.
Prompt To Fix All With AI
Fix 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

@0xdhrv 0xdhrv self-assigned this May 16, 2026
0xdhrv added 2 commits May 16, 2026 06:07
…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.

@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 ✅

@0xdhrv

0xdhrv commented May 16, 2026

Copy link
Copy Markdown
Member

Hey @nurel07 👋

If you want, we can update the slug and set redirects to support the new name.

@raycastbot
raycastbot merged commit 388bb42 into raycast:main May 16, 2026
3 checks 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.

raycastbot added a commit that referenced this pull request May 18, 2026
…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]>
almatkai pushed a commit to almatkai/raymes-extensions that referenced this pull request Jul 13, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

extension: basalt-wallpapers Issues related to the basalt-wallpapers extension extension fix / improvement Label for PRs with extension's fix improvements 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