fix(console): single feature patch (#10476)

# Which Problems Are Solved

This PR fixes an issue where all features where patched, instead of a
single one. This led to instance overrides which were not intended.
With this change, an update is executed whenever a toggle is hit, only
containing the respective feature, not all.

# How the Problems Are Solved

The console application was overriding the feature settings as an entire
request. A toggle change is now only changing the desired and targeted
feature using partial patches.

# Additional Context

Closes #10459

---------

Co-authored-by: Elio Bischof <[email protected]>
This commit is contained in:
Max Peintner
2025-08-22 09:55:31 +02:00
committed by GitHub
co-authored by Elio Bischof
parent ac3a4037a7
commit d8518d48f2
7 changed files with 251 additions and 21 deletions
+6 -6
View File
@@ -5,13 +5,13 @@
"open": "pnpm exec cypress open",
"test:e2e": "pnpm exec cypress run",
"test:open:golang": "pnpm run open --",
"test:e2e:golang": "pnpm run e2e --",
"test:e2e:golang": "pnpm run test:e2e --",
"test:open:golangangular": "CYPRESS_BASE_URL=http://localhost:4200 CYPRESS_BACKEND_URL=http://localhost:8080 pnpm run open --",
"test:e2e:golangangular": "CYPRESS_BASE_URL=http://localhost:4200 CYPRESS_BACKEND_URL=http://localhost:8080 pnpm run e2e --",
"test:open:angulargolang": "pnpm run open:golangangular --",
"test:e2e:angulargolang": "pnpm run e2e:golangangular --",
"test:e2e:golangangular": "CYPRESS_BASE_URL=http://localhost:4200 CYPRESS_BACKEND_URL=http://localhost:8080 pnpm run test:e2e --",
"test:open:angulargolang": "pnpm run test:open:golangangular --",
"test:e2e:angulargolang": "pnpm run test:e2e:golangangular --",
"test:open:angular": "CYPRESS_BASE_URL=http://localhost:4200 CYPRESS_BACKEND_URL=http://localhost:8080 CYPRESS_WEBHOOK_HANDLER_HOST=host.docker.internal pnpm run open --",
"test:e2e:angular": "CYPRESS_BASE_URL=http://localhost:4200 CYPRESS_BACKEND_URL=http://localhost:8080 CYPRESS_WEBHOOK_HANDLER_HOST=host.docker.internal pnpm run e2e --",
"test:e2e:angular": "CYPRESS_BASE_URL=http://localhost:4200 CYPRESS_BACKEND_URL=http://localhost:8080 CYPRESS_WEBHOOK_HANDLER_HOST=host.docker.internal pnpm run test:e2e --",
"lint": "prettier --check cypress",
"lint:fix": "prettier --write cypress",
"clean": "rm -rf .turbo node_modules"
@@ -30,4 +30,4 @@
"@types/node": "^22.3.0",
"cypress": "^14.5.3"
}
}
}