@goodandready/dsh-goal 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/client.js +29 -1
- package/package.json +1 -1
package/lib/client.js
CHANGED
|
@@ -4366,7 +4366,35 @@ window.__ModuleLoader__.load({
|
|
|
4366
4366
|
);
|
|
4367
4367
|
|
|
4368
4368
|
// 2. Register settings card.
|
|
4369
|
-
//
|
|
4369
|
+
// List seat (plugins.item): the seat the Plugins page renders as the plugin's own
|
|
4370
|
+
// page with its configuration. The label is a static string on purpose — it is
|
|
4371
|
+
// resolved while the page renders, and a locale lookup there would take the whole
|
|
4372
|
+
// client batch down with it.
|
|
4373
|
+
registerSlotSafe(
|
|
4374
|
+
|
|
4375
|
+
'plugins.item',
|
|
4376
|
+
|
|
4377
|
+
{
|
|
4378
|
+
|
|
4379
|
+
name: 'plugins.item',
|
|
4380
|
+
|
|
4381
|
+
id: ROW_ID,
|
|
4382
|
+
|
|
4383
|
+
order: 60,
|
|
4384
|
+
|
|
4385
|
+
label: () => 'Goal',
|
|
4386
|
+
|
|
4387
|
+
locale: NS,
|
|
4388
|
+
|
|
4389
|
+
inject: () => ({ ctx, scope: settingsScope }),
|
|
4390
|
+
|
|
4391
|
+
},
|
|
4392
|
+
|
|
4393
|
+
GoalSettingsCard,
|
|
4394
|
+
|
|
4395
|
+
);
|
|
4396
|
+
|
|
4397
|
+
// Row seat and the legacy seat kept as fallbacks.
|
|
4370
4398
|
|
|
4371
4399
|
registerSlotSafe(
|
|
4372
4400
|
|
package/package.json
CHANGED