@trops/dash-core 0.1.474 → 0.1.475

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/dist/index.js CHANGED
@@ -57747,6 +57747,16 @@ function NotificationsTab(_ref4) {
57747
57747
  uuid: item.uuid || item.uuidString,
57748
57748
  title: ((_item$userPrefs = item.userPrefs) === null || _item$userPrefs === void 0 ? void 0 : _item$userPrefs.title) || config.displayName || item.component,
57749
57749
  "package": config["package"] || "Other",
57750
+ // Scoped component id (e.g. "trops.google.GoogleWidget")
57751
+ // — disambiguates rows when several widgets share a
57752
+ // title or display the same package label. Mirrors the
57753
+ // Listeners tab convention so the user only learns one
57754
+ // identification scheme.
57755
+ component: item.component,
57756
+ // Layout instance id — disambiguates two widgets of the
57757
+ // SAME component on the dashboard (e.g. two GitHub
57758
+ // widgets in the same workspace).
57759
+ itemId: item.id,
57750
57760
  notifications: config.notifications
57751
57761
  });
57752
57762
  }
@@ -57772,7 +57782,7 @@ function NotificationsTab(_ref4) {
57772
57782
  var q = searchQuery.trim().toLowerCase();
57773
57783
  if (!q) return widgetInstances;
57774
57784
  return widgetInstances.filter(function (wi) {
57775
- var hay = [wi.title, wi["package"]].concat(_toConsumableArray(wi.notifications.map(function (n) {
57785
+ var hay = [wi.title, wi["package"], wi.component, wi.itemId != null ? "#".concat(wi.itemId) : ""].concat(_toConsumableArray(wi.notifications.map(function (n) {
57776
57786
  return "".concat(n.key, " ").concat(n.displayName || "");
57777
57787
  }))).join(" ").toLowerCase();
57778
57788
  return hay.includes(q);
@@ -57869,8 +57879,11 @@ function NotificationsTab(_ref4) {
57869
57879
  children: [/*#__PURE__*/jsxRuntime.jsx("span", {
57870
57880
  className: "text-sm font-medium",
57871
57881
  children: wi.title
57882
+ }), /*#__PURE__*/jsxRuntime.jsxs("span", {
57883
+ className: "text-[10px] opacity-50 font-mono",
57884
+ children: [wi.component, wi.itemId != null ? " \xB7 #".concat(wi.itemId) : ""]
57872
57885
  }), /*#__PURE__*/jsxRuntime.jsx("span", {
57873
- className: "text-[10px] opacity-50",
57886
+ className: "text-[10px] opacity-40",
57874
57887
  children: wi["package"]
57875
57888
  })]
57876
57889
  }), /*#__PURE__*/jsxRuntime.jsx("div", {