Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog update changelog/8860-api #1543

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions changelog/platform.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,27 @@ icon: "layer-group"

## December 2024

### December 21, 2024

<div style={{ display: "table", width: "auto" }}>
<div style={{ display: "table-row", width: "auto" }}>
<Snippet file="chips/dataxp.mdx" />
<div style={{ float: "left", display: "table-column", paddingLeft: "30px", width: "calc(80% - 30px)" }}>

api@1dedeae
This update introduces a conditional check before rebuilding a sheet in a workbook. The changes include:

The code now checks if there are updates to fields or other properties (excluding actions and fields) before rebuilding the sheet. If there are updates to fields or other properties, the sheet will be rebuilt using the ephemeral.forWorkbook(workbook).utils.buildSheet() method.

The updatedSheet object is destructured to extract the slug, actions, and fields properties. The remaining properties are assigned to the nonActionOrFieldUpdates object.

If there are updates to fields (shouldUpdateFields is true) or if there are updates to other properties (Object.keys(nonActionOrFieldUpdates).length is greater than 0), the sheet will be rebuilt.

The changes aim to optimize the rebuilding process by only triggering it when necessary, potentially improving performance and avoiding unnecessary rebuilds when only actions or fields are updated.
</div>
</div>
</div>

### December 10, 2024

<div style={{ display: "table", width: "auto" }}>
Expand Down
13 changes: 13 additions & 0 deletions changelog/src/platform/20241221-1734769860203.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
### December 21, 2024
## dataxp

api@1dedeae
This update introduces a conditional check before rebuilding a sheet in a workbook. The changes include:

The code now checks if there are updates to fields or other properties (excluding actions and fields) before rebuilding the sheet. If there are updates to fields or other properties, the sheet will be rebuilt using the ephemeral.forWorkbook(workbook).utils.buildSheet() method.

The updatedSheet object is destructured to extract the slug, actions, and fields properties. The remaining properties are assigned to the nonActionOrFieldUpdates object.

If there are updates to fields (shouldUpdateFields is true) or if there are updates to other properties (Object.keys(nonActionOrFieldUpdates).length is greater than 0), the sheet will be rebuilt.

The changes aim to optimize the rebuilding process by only triggering it when necessary, potentially improving performance and avoiding unnecessary rebuilds when only actions or fields are updated.