Questions: local development
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 42/100
- Issue type
- Documentation
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- documentation
Research direction
Read developer-guide.md at the "how-can-i-experiment-with-the-new-feature-locally" section and review the existing explanation of flags and localhost origin-trial tokens. Confirm the pros and cons, including third-party origin trials, then update the guide with concise usage guidance; done means the section clearly explains when to choose each approach.
Written by the indexing model from the issue text.
Description
I see the (great!) developer guide suggests two ways to experiment with a new feature locally.
You can get started experimenting with the new feature on localhost either by flipping the flag locally or requesting an origin trials token for localhost.
Two questions:
- What are pros and cons of the two ways? When would you recommend each approach? What about third-party origin trials, does this change anything?
Things I could think of:
- Benefits of
localhosttokens over flags:- Token can be shared across a team. No need to replace the token when checking out the code of a small prototype (one gotcha though: port- and protocol-dependent)
- No need to restart the browser / turn flags on and off
- Work across Chrome and Edge without extra setup
- Benefits of flags over tokens:
- Faster to set up
- Easier to troubleshoot / No troubleshooting: "if a flag is in chrome://flags and I activate it, the feature will be on" (vs.: if I'm using an expired flag, I'll need to troubleshoot this).
- Do you think it would be useful to add a brief "When to use flags and when to use a localhost token for local development" in the developer guide under how-can-i-experiment-with-the-new-feature-locally? Or to highlight with a one-liner the one benefit of each approach?
- Dominant language
- Bikeshed
- Stars
- 536
- Forks
- 145
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GoogleChrome/OriginTrials
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
GoogleChrome/OriginTrials#111 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
GoogleChrome/OriginTrials#131 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
GoogleChrome/OriginTrials#126 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
GoogleChrome/OriginTrials#102 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
GoogleChrome/OriginTrials#100 ·
All issues in GoogleChrome/OriginTrials
Similar issues
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentPossibly taken @cvas22 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
influxdata/telegraf#20264 ·
Maintainers usually reply within 1 day
-
sync-en
Difficulty 1/5 Under an hour Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
needs-atl
Difficulty 1/5 Under an hour Newbie friendliness 88/100
GoogleChrome/modern-web-guidance-src#3726 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
The-AIOS/aios#405 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation L1 level 1 needs-review wocs
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
SatyamPandey-07/WorkSphere#10721 · 1 comment ·
Maintainers usually reply within 1 day