Display neatly formatted fields in a GLQL rendered table or list

Proposal

Some fields returned by a GLQL query can be easily represented. String and Number fields can be displayed as is using a text presenter, but for other fields, we should format them and present them neatly. These include:

  • Boolean: Display Yes or No instead of true or false. Applies to fields like confidential.
  • Collection: Some fields return an array of results, like labels. Allow displaying them by creating a container presenter that delegates to child presenters.
  • Link: If a field contains a webUrl or a webPath and also a title, display it as a link.
  • Null: Display as None instead.
  • Time: Display time as X days ago or in X days.
Edited by Himanshu Kapoor