Skip to content

Add ability to compare RKE template revisions#4900

Merged
nwmac merged 3 commits intorancher:masterfrom
nwmac:rke-template-compare
Dec 13, 2022
Merged

Add ability to compare RKE template revisions#4900
nwmac merged 3 commits intorancher:masterfrom
nwmac:rke-template-compare

Conversation

@nwmac
Copy link
Member

@nwmac nwmac commented Oct 19, 2022

Addresses rancher/dashboard#5954

Select two RKE revisions and a new 'Compare' button will be enabled - clicking this brings up a modal dialog showing the diff between the two template revisions.
image

image

image

(note ember images shown - these pages also appear embedded in the vue UI)

This PR:

  • Adds a selectionChanged to sortable table and the cluster revisions table
  • Wires this in to the cluster revisions view and adds a compare button (enabled when 2 revisions selected)
  • Shows diff in a modal

@nwmac nwmac self-assigned this Oct 19, 2022
@nwmac nwmac added this to the 2.7.1 milestone Oct 19, 2022
@nwmac nwmac requested a review from codyrancher October 20, 2022 13:24
@nwmac
Copy link
Member Author

nwmac commented Oct 20, 2022

@codyrancher Updated as per your feedback

@nwmac nwmac merged commit fb46348 into rancher:master Dec 13, 2022
@nwmac nwmac deleted the rke-template-compare branch December 13, 2022 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants