Skip to content

Instantly share code, notes, and snippets.

@rlingineni
Last active March 6, 2019 18:58
Show Gist options
  • Save rlingineni/98d261b3570cc7df0b3d0f23687b6207 to your computer and use it in GitHub Desktop.
Save rlingineni/98d261b3570cc7df0b3d0f23687b6207 to your computer and use it in GitHub Desktop.
Change Owners Dialog
Change Owners Dialog
Select Only Files -> Approve Ownership
Select only directories-> Render Preview
Select mixture of directory of file -> Render Preview
# Respect the Undo, if the user
Render Preview
Checked Subfolders Option -> Show all files
Unchecked Subfolders Option -> Show only relevant files and folders
Show all files
Complete -> Approve Ownership
# throw our any files/folders that will not be touched (i.e. already mapped)
Show only relevant files and folders
Complete -> Approve Ownership
# final state
Approve Ownership
function render(model){
let current_state_name = model.active_states[0].name;
return $("h1",
{style: {color: "darkBlue"}},
`The current state is: ${current_state_name}`);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment