Skip to content

Migrate ABViewGrid - #722

Merged
benthongtiang merged 13 commits into
masterfrom
ben/grid
Jun 1, 2026
Merged

Migrate ABViewGrid#722
benthongtiang merged 13 commits into
masterfrom
ben/grid

Conversation

@benthongtiang

Copy link
Copy Markdown
Contributor

Migrated the Grid View to the new plugin architecture and resolved a critical crash in the List data field when handling empty selections.

Relate PR.
CruGlobal/plugin_ABDesigner#349
CruGlobal/appbuilder_class_core#343

@benthongtiang benthongtiang added the patch Tag Pull Requests to trigger a patch version update label May 15, 2026
@github-actions

github-actions Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Lighthouse Performance Report

Metrics





📄Full Report
Note: Above values are an average of 3 reports, only the last report was uploaded.

Comment thread AppBuilder/platform/plugins/included/view_grid/FNAbviewgridComponent.js Outdated
Comment thread AppBuilder/platform/plugins/included/view_grid/FNAbviewgridComponent.js Outdated

@johnny-hausman johnny-hausman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rework those files into your plugin.

Comment thread AppBuilder/platform/plugins/included/view_grid/FNAbviewgridComponent.js Outdated
Comment thread AppBuilder/platform/plugins/included/view_grid/FNAbviewgridComponent.js Outdated
benthongtiang and others added 9 commits May 22, 2026 10:03
…ort, function or class'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ort, function or class'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ort, function or class'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ort, function or class'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
…ort, function or class'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

@johnny-hausman johnny-hausman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a few more updates

Comment thread AppBuilder/platform/plugins/included/view_grid/FNAbviewgrid.js Outdated
Comment thread AppBuilder/platform/plugins/included/view_grid/FNAbviewgrid.js

try {
await CurrentObject.model().update(item.id, item);
await CurrentObject.model().update(item.id, patch);

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

are you sure we are supposed to be updating the smaller patch? That isn't what we were doing before.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found that sometimes updating the data fails when sending the entire item. I using patch because it only updates the modified field. Let me know what you think.

@johnny-hausman johnny-hausman left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Alright, lets give this a try!

@benthongtiang
benthongtiang merged commit 2e5d0c9 into master Jun 1, 2026
9 checks passed
@benthongtiang
benthongtiang deleted the ben/grid branch June 1, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

patch Tag Pull Requests to trigger a patch version update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants