Skip to content

Conversation

@didoda
Copy link
Member

@didoda didoda commented Oct 18, 2024

This provides an optimization in every relation section (except for "children") on a view.

New buttons:

  • Save: activated when a related data changes. On click, data si saved and relation section is reloaded (ajax api call)
  • Reset: activated when a related data changes. On click relation section is reloaded (ajax api call)

When form data for a relation is modified, a proper message is visible and new buttons are enabled

image

Note:

  1. main "save" button is still a possibility (retrocompatibility)
  2. this change does not involve relation children because it has a special behavior. In "children" section new buttons are not available; usual behaviour is expected, "press" the main save button to save data

@didoda didoda added the feature New feature or request label Oct 18, 2024
@didoda didoda added this to the 4.x milestone Oct 18, 2024
@didoda didoda marked this pull request as ready for review October 18, 2024 12:39
@didoda didoda modified the milestones: 4.x, 5.x Dec 9, 2024
@didoda didoda merged commit 37d4177 into bedita:master Jan 21, 2025
3 checks passed
@didoda didoda deleted the feat/save-and-reset-related branch January 21, 2025 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature New feature or request release:minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant