Save open review reply editors before publishing.
Review Request #13044 — Created May 12, 2023 and submitted
This change adds review reply editors to the set of things that will be
saved when publishing new content from the unified banner. Incidentally,
it appears that the old draft reply banners never did this (meaning we'd
fail to save new reply content when hitting the publish button).This change also fixes up a couple regressions in event names for legacy
actions which are hidden when the unified banner feature is enabled.
- Ran js-tests.
- Set some pending data in replies to review headers and comments and
then published from the unified banner. Saw the open editors save
correctly and the reloaded page contain the new content.
Summary | ID |
---|---|
16d1ae7ad2c9c9bacc41e08573ea7a4e5a9f086f |
- Commits:
-
Summary ID ab8463318b594f373b60a655d3c759c439750aae 69108de86ebf1758d74f319fdaf6b9a23079000e - Diff:
-
Revision 2 (+190 -26)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID 69108de86ebf1758d74f319fdaf6b9a23079000e 16d1ae7ad2c9c9bacc41e08573ea7a4e5a9f086f - Diff:
-
Revision 3 (+198 -20)
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.