@malloy-publisher/sdk 0.0.141 → 0.0.142
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.es.js
CHANGED
|
@@ -28766,7 +28766,7 @@ function ec({
|
|
|
28766
28766
|
ref: d,
|
|
28767
28767
|
sx: {
|
|
28768
28768
|
flex: 1,
|
|
28769
|
-
overflow: "
|
|
28769
|
+
overflow: "hidden",
|
|
28770
28770
|
p: 0,
|
|
28771
28771
|
// Adjust bottom padding when toggle is shown to prevent content overlap
|
|
28772
28772
|
pb: u ? "40px" : 1
|
|
@@ -51482,7 +51482,7 @@ function bV({
|
|
|
51482
51482
|
}
|
|
51483
51483
|
const G = _.text || "", ne = G.includes("run:") || G.includes("->") || /^\s*(run|query)\s*:/m.test(G);
|
|
51484
51484
|
try {
|
|
51485
|
-
if (ne && w) {
|
|
51485
|
+
if (ne && w && z.length > 0) {
|
|
51486
51486
|
let O = G;
|
|
51487
51487
|
if (z.length > 0) {
|
|
51488
51488
|
const X = Rz(G), W = X && v.get(X) || /* @__PURE__ */ new Set(), J = X ? z.filter((K) => {
|
package/package.json
CHANGED
|
@@ -179,7 +179,7 @@ export default function Notebook({
|
|
|
179
179
|
/^\s*(run|query)\s*:/m.test(cellText);
|
|
180
180
|
|
|
181
181
|
try {
|
|
182
|
-
if (hasQuery && modelPath) {
|
|
182
|
+
if (hasQuery && modelPath && filtersToApply.length > 0) {
|
|
183
183
|
// Query cell - use models API with optional filters
|
|
184
184
|
let queryToExecute = cellText;
|
|
185
185
|
|
|
@@ -241,7 +241,7 @@ export default function Notebook({
|
|
|
241
241
|
result: response.data.result,
|
|
242
242
|
});
|
|
243
243
|
} else {
|
|
244
|
-
// Non-query code cell - use notebook cell execution API
|
|
244
|
+
// Non-query code cell (or no filters applied) - use notebook cell execution API
|
|
245
245
|
const response =
|
|
246
246
|
await apiClients.notebooks.executeNotebookCell(
|
|
247
247
|
projectName,
|
|
@@ -160,7 +160,7 @@ export default function ResultContainer({
|
|
|
160
160
|
ref={contentRef}
|
|
161
161
|
sx={{
|
|
162
162
|
flex: 1,
|
|
163
|
-
overflow: "
|
|
163
|
+
overflow: "hidden",
|
|
164
164
|
p: 0,
|
|
165
165
|
// Adjust bottom padding when toggle is shown to prevent content overlap
|
|
166
166
|
pb: shouldShowToggle ? "40px" : 1,
|