This can probably stay local to the App component and doesn’t require additional store states – add local state method to the App controlling whether the modal is shown or not. A click on the “publish” button either shows the modal or calls the store to save (and hides the modal again), and a click on the cancel button consumes the license modal's emitted close event and closes the license modal.
It blocks user interaction with the rest of the app when the license dialog is open.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
bridge: Wire up License | mediawiki/extensions/Wikibase | master | +269 -10 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | Charlie_WMDE | T238728 Step 1: inform about editing on a different project under different license (impact: high) | |||
Resolved | Michael | T246230 Wire up license modal in App component |
Event Timeline
Comment Actions
Change 579581 had a related patch set uploaded (by Michael Große; owner: Michael Große):
[mediawiki/extensions/Wikibase@master] bridge: Wire up License
Comment Actions
Change 579581 merged by jenkins-bot:
[mediawiki/extensions/Wikibase@master] bridge: Wire up License