visualizer icon indicating copy to clipboard operation
visualizer copied to clipboard

Display custom data properties in Transition Popover

Open mcMickJuice opened this issue 8 years ago • 0 comments

From what I can tell, "data" properties are not displayed in the data popover for a given state. I think it would be valuable to show these properties along with resolved data.

E.g. for state mymessages, we have

export const mymessagesState = {
  parent: 'app',
  name: "mymessages",
  url: "/mymessages",
  resolve: {
    // All the folders are fetched from the Folders service
    folders: (Folders) => Folders.all()
  },
  // If mymessages state is directly activated, redirect the transition to the child state 'mymessages.messagelist'
  redirectTo: 'mymessages.messagelist',
  component: 'mymessages',
  // Mark this state as requiring authentication.  See ../routerhooks/requiresAuth.js.
  data: { requiresAuth: true, pageTransition: true, layoutTransition: 'mymessages' }
};

requiresAuth, pageTransition and layoutTransition would be displayed at this state level in the popover. This would be handled similarly to "Resolved Data"

mcMickJuice avatar May 30 '17 17:05 mcMickJuice