Skip to content

Commit fb96991

Browse files
committed
[FIX] pivot: make pivot update notification sticky
When there is a static pivot formula, and the user tries to update something, the notification disappears too quickly. It's almost impossible to fully read before it disappear. And users probably needs to read it multiple times to understand. closes #6050 Task: 4680152 Signed-off-by: Rémi Rahir (rar) <[email protected]>
1 parent d584b7d commit fb96991

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/side_panel/pivot/pivot_side_panel/pivot_side_panel_store.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export class PivotSidePanelStore extends SpreadsheetStore {
151151
"Pivot updates only work with dynamic pivot tables. Use %s or re-insert the static pivot from the Data menu.",
152152
pivotExample
153153
),
154-
sticky: false,
154+
sticky: true,
155155
});
156156
}
157157
}

tests/pivots/spreadsheet_pivot/spreadsheet_pivot_side_panel.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -488,7 +488,7 @@ describe("Spreadsheet pivot side panel", () => {
488488
await click(fixture.querySelectorAll(".o-autocomplete-value")[1]);
489489
expect(mockNotify).toHaveBeenCalledWith({
490490
text: "Pivot updates only work with dynamic pivot tables. Use =PIVOT(1) or re-insert the static pivot from the Data menu.",
491-
sticky: false,
491+
sticky: true,
492492
type: "info",
493493
});
494494

0 commit comments

Comments
 (0)