Skip to content

fix(web): explain what the location preset includes - #5037

Merged
strelov1 merged 1 commit into
mainfrom
fix/remote-geography-and-location-copy
Nov 23, 2026
Merged

strelov1 merged 1 commit into
mainfrom
fix/remote-geography-and-location-copy

Conversation

@strelov1

@strelov1 strelov1 commented Nov 23, 2026 •

Copy link
Copy Markdown
Owner

What and why

Rename the Location preset to “Use my location” and show the country or region it uses, plus worldwide jobs and those with an unknown location. When location is unavailable, explain why and point to the manual filters. Update the filter specifications to match.

The preset continues to compose the existing country and region facets.

Checklist

  • All 13 location preset unit tests pass.
  • Component lint and both Svelte compiler targets pass.
  • No Go, SQL or generated artifacts changed.
  • Full GitHub web and smoke checks.

Note

Low Risk
UI copy and layout in the location filter modal only; no changes to filter logic, APIs, or backend behavior.

Overview
Renames the Location filter preset from "Eligible for me" to "Use my location" and adds visible help text instead of relying on a tooltip.

When geography resolves, the copy names the country or region and states that results also include worldwide jobs and jobs with unknown locations. When resolution fails, the toggle stays disabled and the help directs users to pick country or region manually. Layout moves the control above the Global / Not specified pills, with aria-describedby wiring for accessibility.

OpenSpec for eligible-for-me-filter and filter-modal is updated so requirements and scenarios match the new label and help behavior. Staging still uses the same country/region facet composition via eligibleForMe.ts; only presentation and specs change.

Reviewed by Cursor Bugbot for commit 83f4446. Bugbot is set up for automated code reviews on this repo. Configure here.

Summary by CodeRabbit

  • New Features
    • Renamed the location filter to “Use my location” and moved it above the other location options.
    • Added help text explaining which locations are included. When your location can’t be determined, the toggle stays visible but disabled, with guidance to choose a country or region manually.

@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The location filter specifications and component now use the “Use my location” label. The component provides help text that describes the resolved location and included job locations, or directs visitors to manual filters when the location is unknown.

Changes: Location filter control

Layer / File(s) Summary
Control requirements and description
openspec/specs/eligible-for-me-filter/spec.md, openspec/specs/filter-modal/spec.md, web/src/lib/components/filters/LocationPane.svelte
The specifications update the control label, placement, and help-text requirements. The location pane derives a display name, links descriptive text to the control, and separates it from the flat-region pills. The former location-dependent title is removed.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Feature

Merge Risk: Minimal · up to 83f44

This change renames the location preset to "Use my location" and adds help text explaining which locations it includes, or pointing to manual filters when location is unknown. No concrete problems were found, and the change is low risk to merge.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "fix(web): explain what the location preset includes" matches the main change. The PR renames the Location preset to "Use my location" and adds help text that states which country or region …
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "fix(web): explain what the location preset includes" matches the main change. The PR renames the Location preset to "Use my location" and adds help text that states which country or region it uses, plus worldwide and unknown-location jobs. The title names the web scope and the core intent, though it does not mention the rename or the disabled state when location cannot be resolved.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

Commits

Reviewing files that changed from the base of the PR and between f7c323b and 83f4446.

Files selected for processing: 3

  • openspec/specs/eligible-for-me-filter/spec.md
  • openspec/specs/filter-modal/spec.md
  • web/src/lib/components/filters/LocationPane.svelte

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 1 remain after this review.

@strelov1 strelov1 changed the title Fix remote job geography and clarify the location preset fix(location): correct remote job geography and clarify the location preset Nov 23, 2026
@strelov1 strelov1 changed the title fix(location): correct remote job geography and clarify the location preset fix(web): explain what the location preset includes Nov 23, 2026
@strelov1
strelov1 marked this pull request as ready for review November 23, 2026 02:26
@cursor

cursor Bot commented Nov 23, 2026

Copy link
Copy Markdown

Bugbot couldn't run - usage limit reached

Bugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit.

A user or team admin can review and increase usage limits in the Cursor dashboard.

(requestId: d4eaab51-fa4f-44d0-bece-91f3cc0763f3)

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 23, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-23T02:27:46.843943Z 83f4446 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@strelov1
strelov1 merged commit b21fbbd into main Nov 23, 2026
50 of 53 checks passed
@strelov1
strelov1 deleted the fix/remote-geography-and-location-copy branch November 23, 2026 02:35
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