tg icon indicating copy to clipboard operation
tg copied to clipboard

Closing dialogs via standart eventing system instead of using postal events

Open oleh-maikovych opened this issue 2 years ago • 0 comments

Description

Previously dialog closing logic on save or cancel actions were implemented via postal events. But such approach proved to be cumbersome when it comes to managing centreUuid of action and entity master. But master action that triggeres postal close event is a descendant of dialog, therefore in that case standard eventing system can be used to trigger dialog close event. This approach eliminates the need to manage centreUuid for dialog closing purpose.

Expected outcome

More managable dialog closing logic.

oleh-maikovych avatar Nov 16 '23 16:11 oleh-maikovych