@proveanything/smartlinks-utils-ui 0.9.10 → 0.9.12

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.
@@ -2113,7 +2113,10 @@ var useShellDeepLink = (args) => {
2113
2113
  bootLoggedRef.current = true;
2114
2114
  console.info("[RecordsAdminShell] deep-link boot snapshot", {
2115
2115
  enabled: deepLinkState.enabled,
2116
- urlState: deepLinkState.urlState,
2116
+ urlStateRecordId: deepLinkState.urlState.recordId ?? null,
2117
+ urlStateScope: deepLinkState.urlState.scope ?? null,
2118
+ urlStateView: deepLinkState.urlState.view ?? null,
2119
+ urlStateRaw: JSON.stringify(deepLinkState.urlState),
2117
2120
  paramNames: deepLinkState.paramNames,
2118
2121
  windowHash: typeof window !== "undefined" ? window.location.hash : null,
2119
2122
  windowSearch: typeof window !== "undefined" ? window.location.search : null
@@ -2132,9 +2135,17 @@ var useShellDeepLink = (args) => {
2132
2135
  lastAppliedDLRef.current = `${preservingPendingRecordId ? currentDeepLinkedRecordId ?? "" : ""}|${editingScope?.raw ?? ""}|${echoView}`;
2133
2136
  }, [deepLinkState.enabled, deepLinkState.urlState.recordId, editingScope?.raw, selectedItemId, itemView, pendingDeepLinkRecordId]);
2134
2137
  useEffect(() => {
2135
- if (!deepLinkState.enabled) return;
2136
2138
  const { recordId, scope, view } = deepLinkState.urlState;
2137
2139
  const sig = `${recordId ?? ""}|${scope ?? ""}|${view ?? ""}`;
2140
+ console.info("[RecordsAdminShell] restore effect tick", {
2141
+ enabled: deepLinkState.enabled,
2142
+ recordId,
2143
+ scope,
2144
+ view,
2145
+ sig,
2146
+ lastApplied: lastAppliedDLRef.current
2147
+ });
2148
+ if (!deepLinkState.enabled) return;
2138
2149
  if (sig === lastAppliedDLRef.current) return;
2139
2150
  lastAppliedDLRef.current = sig;
2140
2151
  if (view && itemViews.includes(view) && view !== itemView) {
@@ -2177,6 +2188,14 @@ var useShellDeepLink = (args) => {
2177
2188
  }, [deepLinkState.enabled, deepLinkState.urlState]);
2178
2189
  useEffect(() => {
2179
2190
  const pending = pendingDeepLinkRecordId;
2191
+ console.info("[RecordsAdminShell] resolver tick", {
2192
+ pending,
2193
+ isCollection,
2194
+ collectionItemsCount: collectionItems.items.length,
2195
+ collectionItemsLoading: collectionItems.isLoading,
2196
+ recordListCount: recordListItems.length,
2197
+ recordListLoading
2198
+ });
2180
2199
  if (!pending) return;
2181
2200
  if (isCollection) {
2182
2201
  const hit2 = collectionItems.items.find((it) => it.id === pending || it.itemId === pending);
@@ -8395,16 +8414,6 @@ function RecordsAdminShellInner(props) {
8395
8414
  }
8396
8415
  )
8397
8416
  ] }),
8398
- !isProductTab && !isRuleTab && !isGlobalTab && /* @__PURE__ */ jsx(
8399
- StatusFilterPills,
8400
- {
8401
- value: filter,
8402
- onChange: setFilter,
8403
- counts: facetBrowse.counts,
8404
- hideZero: ["partial"],
8405
- i18n
8406
- }
8407
- ),
8408
8417
  isProductTab && !productPinned && (() => {
8409
8418
  const cfg = scopeCounts.productIds;
8410
8419
  let configured = 0;