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

when a layout changes, include change details in the layoutChange event #62

Open
heswell opened this issue Oct 2, 2023 · 0 comments
Open

Comments

@heswell
Copy link

heswell commented Oct 2, 2023

When a layout changes, a layout change event is triggered. This is handled by the Shell/layout management system , which persists the changed JSON representation of the UI.

Until now, the entire JSON structure of the UI has been persisted as one entity. We are moving to an approach that saves layouts individually, where the application level structure references those layouts rather than including them directly.

The layout change handling code needs to know whether any particular change is caused by a change at the application level (switching tabs, opening or closing a layout) or at the layout level (adding or moving a component within the layout, saving props on a component e.g sorting a table, applying a filter)

Modify the layout change callback to provide this information

@heswell heswell changed the title when a layout changes, include change details inn the layoutChange event when a layout changes, include change details in the layoutChange event Oct 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant