Repository navigation
Conversation
Mikearaya
added this pull request to stack #788
September 23, 2026 11:21
Mikearaya
force-pushed
the
core-setting-admin-ui
branch
from
September 23, 2026 11:22
66c8385 to
12a8b0c
Compare
Mikearaya
force-pushed
the
core-setting-admin-ui
branch
from
September 23, 2026 14:22
12a8b0c to
fc862cc
Compare
Mikearaya
force-pushed
the
core-setting-admin-ui
branch
2 times, most recently
from
September 23, 2026 15:34
c41e521 to
d8a5a0c
Compare
Mikearaya
force-pushed
the
core-setting-admin-ui
branch
from
September 24, 2026 11:54
d8a5a0c to
b4f6137
Compare
Mikearaya
force-pushed
the
core-setting-admin-ui
branch
from
October 5, 2026 11:44
b4f6137 to
3a20b62
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
@unchainedshop/core-settingsmodule — a runtime key-value settings store backed by MongoDB with namespace-scoped Zod schema validation, default values, and public/private visibilityshopSettingsSchema,shopSettingsNamespaces,shopInfo.settings) and mutation (updateShopSettings) behindmanageShopSettingspermission, plus an MCP resource for AI integrationsSchemaField) that maps JSON Schema types (string, number, boolean, enum, nested objects) to existing form field componentsshopsettings namespace in the kitchensink example demonstrating real-world configuration (site name, support email, guest checkout, maintenance mode, notification preferences)How it works
registerSettingsNamespace({ key, schema, public, defaults })beforestartPlatform()shopSettingsSchema(namespace)for the admin UI to generate forms dynamicallyshopInfo.settings(namespace)for storefront use/settingsand renders an inline detail page with schema-driven form fields when a namespace is selectedTest plan
shopnamespace appears in admin UI under Settingsshopnamespace and verify the form renders all fields (text, number, checkbox, nested object)shopInfo { settings(namespace: "shop") }manageShopSettingssees a read-only form