shopware / shopware/shopware

Add dedicated modal callbacks separate from button configurations (Meteor Admin Sdk)

Open
#14,729 0 comments 0 reactions 0 assignees View on GitHub
component/administration domain/framework
Dominant language
PHP
Stars
3.4k
Forks
1.2k
Avg merge
2d 23h
Merged PRs (30d)
433

Description

### Technical TODO

## Problem
Currently, modal callbacks are tightly coupled to button callbacks. This means repeated modal triggers require custom button configurations each time, making the API cumbersome and inflexible.

## Goal
Decouple modal lifecycle callbacks from button configurations to provide a cleaner, more flexible API.

## Acceptance criteria
- [ ] Modal callback API is designed (onOpen, onClose, onConfirm, etc.)
- [ ] Modal-level callback handlers are implemented
- [ ] Backwards compatibility with existing button callbacks is maintained
- [ ] Documentation and examples are updated

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.