Skip to content

batches: show alert when publication states are recalculated

Warren Gifford requested to merge kr/publish-from-preview-7 into main

Created by: courier-new

As another small improvement that came out of the design review this morning, this adds an alert banner whenever the publication states are recalculated:

https://user-images.githubusercontent.com/8942601/129980568-e155818c-fc6d-4dac-bb9b-a4defb64c88e.mov

To support this, DismissibleAlert will now only permanently be dismissed if you provide the local storage partial key. If not, you can revive it by unmounting + remounting.

I also added a story for the disabled "Apply" button in the first banner just for fun.

Merge request reports

Loading