@burdenoff/microfe-planmagnet 2026.1008.4 → 2026.1009.1

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.
@@ -36,7 +36,7 @@ function f({ workspaceId: f, projectId: p, startDate: m, endDate: h }) {
36
36
  preset: "CUSTOM",
37
37
  from: S,
38
38
  to: C
39
- } : void 0)),
39
+ } : void 0, p)),
40
40
  "data-testid": "delivery-satisfaction-open",
41
41
  children: [g("planmagnet.analytics.delivery.satisfactionOpen", "Responses"), /* @__PURE__ */ l(s, { className: "ml-1 h-3.5 w-3.5" })]
42
42
  })]
@@ -121,8 +121,13 @@ export interface SatisfactionPageState {
121
121
  /** '' = both metrics (the responses list only; the figures always show both). */
122
122
  metricType: SatisfactionMetricType | '';
123
123
  }
124
- /** The Customer satisfaction page for a scope (and a window other than the default), as a navigate() path. */
125
- export declare function satisfactionPageLink(scope: SatisfactionScope, window?: WindowChoice): string;
124
+ /**
125
+ * The Customer satisfaction page for a scope (and a window other than the default), as a navigate() path.
126
+ * `hostProjectId` keeps the host's active project (`?project=`) on a drill-down that starts inside a project-scoped view:
127
+ * navigate() hands the shell the whole path, so a link without it would reset that context. It is context only, never a
128
+ * satisfaction filter (see pageStateFromSearch).
129
+ */
130
+ export declare function satisfactionPageLink(scope: SatisfactionScope, window?: WindowChoice, hostProjectId?: string): string;
126
131
  /**
127
132
  * The page state a URL query asks for (`?window=&from=&to=&product=&release=&satisfactionProject=&metric=`).
128
133
  * `project` belongs to the host's active context; it must never silently filter this page. Anything unreadable
@@ -105,11 +105,11 @@ function j(e, t) {
105
105
  to: n
106
106
  };
107
107
  }
108
- function M(e, t) {
109
- let r = new URLSearchParams();
110
- t && t.preset !== "LAST_90_DAYS" && (r.set("window", t.preset), t.preset === "CUSTOM" && (r.set("from", t.from), r.set("to", t.to))), e.productId && r.set("product", e.productId), e.releaseId && r.set("release", e.releaseId), e.projectId && r.set("satisfactionProject", e.projectId);
111
- let i = r.toString();
112
- return `/${n}${i ? `?${i}` : ""}`;
108
+ function M(e, t, r) {
109
+ let i = new URLSearchParams();
110
+ t && t.preset !== "LAST_90_DAYS" && (i.set("window", t.preset), t.preset === "CUSTOM" && (i.set("from", t.from), i.set("to", t.to))), e.productId && i.set("product", e.productId), e.releaseId && i.set("release", e.releaseId), r && i.set("project", r), e.projectId && i.set("satisfactionProject", e.projectId);
111
+ let a = i.toString();
112
+ return `/${n}${a ? `?${a}` : ""}`;
113
113
  }
114
114
  function N(e, t) {
115
115
  let n = new URLSearchParams(e), r = n.get("window"), i = n.get("from") ?? "", o = n.get("to") ?? "", s;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-planmagnet",
3
- "version": "2026.1008.4",
3
+ "version": "2026.1009.1",
4
4
  "description": "Burdenoff PlanMagnet Microfrontend",
5
5
  "type": "module",
6
6
  "files": [