[MGNLUI-2947] Eliminate code duplication in RestorePreviousVersionActions Created: 28/May/14  Updated: 09/Mar/21  Resolved: 09/Mar/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 5.2.6
Fix Version/s: None

Type: Improvement Priority: Neutral
Reporter: Daniel Lipp Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MGNLUI-2914 Make opening of preview after Restore... Closed
supersession
supersedes MGNLUI-1662 Make i.m.pages.app.action.RestorePrev... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Date of First Response:

 Description   

Right now we have info.magnolia.pages.app.action.RestorePreviousVersionAction and info.magnolia.ui.contentapp.detail.action.RestorePreviousVersionAction that seem to be almost identical. Should be easy to be less redundant.



 Comments   
Comment by Mikaël Geljić [ 03/Jun/14 ]

Linking to MGNLUI-2914 which made it configurable whether version is opened in detail editor upon restore or not (in pages action only though). When we merge, this is a good chance to make this showPreview flag generally available.

Generated at Mon Feb 12 09:01:43 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.