Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. User dashboard fetched with list of widgets
  2. Specific widget displayed in card with name at top
  3. Widget component resolves widgetDefinition, and passes responsibility down to a specific widget renderer, say SimpleSearch
  4. SimpleSearch component parses JSON blobs in widgetInstance _and_ widgetDefinition , and uses the information to build a path
  5. The app makes a call to that endpoint to fetch the data
  6. The app uses the parsed widgetInstance and widgetDefinition to instruct itself on how to display the incoming data
  7. Data is rendered onto the widget card

...