Skip to content

Never auto-pick custom imagery, and keep a custom pick's template - #183

Merged
jeffmaki merged 1 commit into
developfrom
custom-imagery-never-auto-picked
Oct 30, 2026
Merged

jeffmaki merged 1 commit into
developfrom
custom-imagery-never-auto-picked

Conversation

@jeffmaki

Copy link
Copy Markdown
Contributor

Follow-up to #182, whose branch got this commit just after it merged.

Custom imagery declares no coverage, so #182's check treated it as worldwide. A custom layer chosen on one workspace then followed the user into workspaces it doesn't cover, and left them black.

  • We never pick custom imagery. Only someone choosing it for that workspace, or a background= in the URL, can show it. A new workspace resets to imagery covering its whole extent.
  • A custom pick keeps its own template. Rapid has one custom slot, so setting a different custom URL on another workspace would otherwise change this one.
  • CLAUDE.md gets a "Background imagery" section with the order for choosing imagery.

A custom layer chosen for a workspace always sticks there, since we can't tell whether it covers the area.

Testing: only against fake imagery, not real Rapid. Lint, the type check and unit tests pass with CI's commands. In e2e, everything passed except the two sign-in tests that hard-code localhost:3000, because the suite ran on port 3100 beside a dev server; CI's run on 3000 is the full check.

🤖 Generated with Claude Code

Custom imagery declares no coverage, so it counted as worldwide and followed
the user into workspaces it doesn't cover. Only a choice can show it now.
Rapid has one custom slot, so a saved custom pick keeps its own template.
Document the imagery order in CLAUDE.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Oct 30, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 16 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2b390141-b285-4e03-ac93-dfb2d1a1c0e1
Commits

Reviewing files that changed from the base of the PR and between 7b9f606 and e348786.

Files selected for processing: 3
  • CLAUDE.md
  • test/unit/util/rapid-background.test.ts
  • util/rapid-background.ts
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jeffmaki
jeffmaki merged commit 11f958d into develop Oct 30, 2026
2 checks passed
@jeffmaki
jeffmaki deleted the custom-imagery-never-auto-picked branch October 30, 2026 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant