Skip to content

Allow to customize created elements and links from MetadataProvider#87

Merged
AlexeyMz merged 1 commit into
masterfrom
metadata-provider-pass-element-state
Nov 2, 2025
Merged

Allow to customize created elements and links from MetadataProvider#87
AlexeyMz merged 1 commit into
masterfrom
metadata-provider-pass-element-state

Conversation

@AlexeyMz
Copy link
Copy Markdown
Member

@AlexeyMz AlexeyMz commented Nov 1, 2025

  • Change MetadataProvider.{createEntity, createRelation} to return result object with initial template state in addition to the data to customize the created cells (i.e. new elements can be expanded or collpased);
  • Deprecate and hide by default "Edit" and "Delete" action buttons in StandardEntity expanded state (can be re-enabled by setting showActions prop to true).

@AlexeyMz AlexeyMz force-pushed the metadata-provider-pass-element-state branch from 32d294b to 6dbaacc Compare November 2, 2025 00:02
* Change `MetadataProvider.{createEntity, createRelation}` to return result object with initial template state in addition to the data to customize the created cells (i.e. new elements can be expanded or collapsed);
* Deprecate and hide by default "Edit" and "Delete" action buttons in `StandardEntity` expanded state (can be re-enabled by setting `showActions` prop to `true`).
@AlexeyMz AlexeyMz force-pushed the metadata-provider-pass-element-state branch from 6dbaacc to 2e9be49 Compare November 2, 2025 00:12
@AlexeyMz AlexeyMz merged commit ad0a43e into master Nov 2, 2025
4 checks passed
@AlexeyMz AlexeyMz deleted the metadata-provider-pass-element-state branch November 2, 2025 00:18
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

Successfully merging this pull request may close these issues.

1 participant