vercel / vercel/examples

edge functions/feature-flag-optimizely not loading variations/sort flag

Open
#383 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5.2k
Forks
1.8k
Avg merge
3d 12h
Merged PRs (30d)
6

Description

It's possible I'm misunderstanding how this demo is supposed to work (https://github.com/vercel/examples/tree/main/edge-functions/feature-flag-optimizely), but when I go to the application I see products sorted alphabetically. When I go in and delete optimizely_visitor_id cookie and reload the page I don't see any changes. I tried deleting the cookie and reloading a few times, but did not notice any changes.

How am I supposed to trigger a new variation of the feature flag?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Open the edge-functions/feature-flag-optimizely example linked in the issue and start by tracing how the optimizely_visitor_id cookie and the sort feature flag variation are handled. Reproduce the report by deleting the cookie and reloading, then verify that the example clearly demonstrates how to trigger a different variation.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.