I hereby claim:
- I am jodyheavener on github.
- I am jodyheavener (https://keybase.io/jodyheavener) on keybase.
- I have a public key ASCXQnZgDrW6_zP8n24aGypguKG1WYfFQsOOmTFvPbuXJgo
To claim this, I am signing this object:
import { insert, Rectangle } from 'dtpm/document'; | |
const rectangle = new Rectangle({ | |
name: 'Example', | |
width: 100, | |
height: 200, | |
fill: '#2345ac' | |
}); | |
// insert it in the page afterward |
{ | |
"id": "dtpm-example", | |
"name": "dtpm-example", | |
"description": "This is an example plugin generated by the Design Tool Plugin Manager", | |
"homepage": "https://www.example.com/", | |
"version": "0.1.0", | |
"icon": "assets/icon.png", | |
"author": { | |
"name": "John Doe", | |
"email": "john@example.com" |
I hereby claim:
To claim this, I am signing this object:
function setFavicon(scheme) { | |
const svgFavicon = document.querySelector('.js-site-favicon[type="image/svg+xml"]'), | |
pngFavicon = document.querySelector('.js-site-favicon[type="image/png"]'); | |
scheme || (scheme = "light"); | |
if (svgFavicon && pngFavicon) { | |
svgFavicon.href = `favicon-${scheme}.svg`; | |
pngFavicon.href = `favicon-${scheme}.png`; | |
} |
// version 1 - every | |
if (!await conditionChecks.every(async (check) => { | |
const result = await check(); | |
if (!result.passing) { | |
return false; | |
} | |
if (result.key && result.value !== undefined) { | |
satisfiedConditions[result.key] = surveyGizmoSafe(result.value); | |
} | |
return true; |
type(scope): subject | |
# Why is this change happening? | |
Because: | |
- ... | |
# What does this commit change? | |
This commit: |
window.addEventListener('pm2:log:inbox', (event) => { | |
const otpForm = document.querySelector('.confirm-signup form') | |
const otpField = otpForm.querySelector('.otp-code') | |
const submitBtn = otpForm.querySelector('#submit-btn') | |
const signInRegex = /Signin code (\d{6})/gm | |
const signInCode = signInRegex.exec(event.detail) | |
if (signInCode[1]) { | |
console.log('Filling in signin code') | |
otpField.value = signInCode[1] |
diff --git a/app/experimenter/nimbus-ui/src/gql/experiments.ts b/app/experimenter/nimbus-ui/src/gql/experiments.ts | |
index 384c3c7c..2c2c6de1 100644 | |
--- a/app/experimenter/nimbus-ui/src/gql/experiments.ts | |
+++ b/app/experimenter/nimbus-ui/src/gql/experiments.ts | |
@@ -60,6 +60,15 @@ export const GET_EXPERIMENT_QUERY = gql` | |
populationPercent | |
totalEnrolledClients | |
proposedEnrollment | |
+ | |
+ featureConfig { |
diff --git a/app/experimenter/experiments/api/v5/types.py b/app/experimenter/experiments/api/v5/types.py | |
index be949b79..5a14a7bf 100644 | |
--- a/app/experimenter/experiments/api/v5/types.py | |
+++ b/app/experimenter/experiments/api/v5/types.py | |
@@ -143,6 +143,7 @@ class NimbusExperimentType(DjangoObjectType): | |
is_enrollment_paused = graphene.Boolean() | |
enrollment_end_date = graphene.DateTime() | |
can_review = graphene.Boolean() | |
+ is_editable = graphene.Boolean() | |
rejection = graphene.Field(NimbusChangeLogType) |
diff --git a/app/experimenter/nimbus-ui/src/components/PageEditBranches/FormBranches/index.test.tsx b/app/experimenter/nimbus-ui/src/components/PageEditBranches/FormBranches/index.test.tsx | |
index a9dd3dc11..c4891e6d0 100644 | |
--- a/app/experimenter/nimbus-ui/src/components/PageEditBranches/FormBranches/index.test.tsx | |
+++ b/app/experimenter/nimbus-ui/src/components/PageEditBranches/FormBranches/index.test.tsx | |
@@ -344,16 +344,16 @@ describe("FormBranches", () => { | |
} | |
const oldValue = featureConfigSelects[0].value; | |
- act(() => { | |
- fireEvent.change(featureConfigSelects[0], { |