Customize visualization for embedded (linked) objects in a Page

WHAT DO YOU RECOMMEND?

I find myself wanting the following:

  1. Type inheritance – looks like it’s already been requested as in here: Multi-Type Vs. Inheritance
  2. Custom visualization of nested (linked) Objects in a Page. This also applies to the visualization of Gallery View “cards” for an Inline Query.
    1. Step 1: Define a Serializer that can select immediate properties and properties of potentially deeply nested Object properties. Akin to a Django DRF Serializer chain.
    2. Step2: Drag and drop those properties in a canvas view. The result is that I can capture a certain visualization of an Object to be embedded elsewhere.

HOW COULD IT BE DONE / REAL WORLD USE CASES?

I asked Claude to give me an example, this one works okay :grinning_face: :

  1. For a sample Person Object with the following properties:

Example Person: Sarah Chen
├── email: ``[email protected]
├── role: VP Engineering
├── company: → TechCorp (Object)
│ ├── name: TechCorp
│ ├── industry: SaaS
│ └── size: 500-1000
├── lastInteraction: → Meeting (Object)
│ ├── date: 2025-01-15
│ ├── type: Coffee Chat
│ └── nextSteps: Send proposal
└── projects: → [Project1, Project2] (Objects)

  1. Select which properties I want for my Card or embedded Object visualization:

// User defines display template
{
“fields”: [
“name”,
“email”,
“role”,
“company.name”,
“company.industry”,
“lastInteraction.date”,
“lastInteraction.nextSteps”,
“projects[0:2].title” // First 2 projects
],
}

  1. Let me use a canvas Block for the embedded (linked) Object to format the display, as in this sample Block or card:

┌────────────────────────────────────┐
│ Sarah Chen
│ VP Engineering
│ ──────────────────
│ 📧 ``[email protected]``
│ 🏢 TechCorp (SaaS)

│ Last Meeting: Jan 15, 2025
│ → Send proposal

│ Projects:
│ • AI Platform Migration
│ • Performance Optimization
└────────────────────────────────────┘

RECOMMENDED ALTERNATIVES

  1. If a complex Serializer feature isn’t possible: I’d like to, through a simplified interface, select properties of a Page’s linked Object and then drag those around a Block to format the display of the Object. I find that especially wanted for the Object’s display in the “card” of a Gallery View of an Inline Query.

ADDITIONAL CONTEXT

ᅟIf further context, people, or related Feature Requests should be mentioned, do so right here:

Something like these two existing feature requests?

Thanks for reading my proposal!

It’s not really like #1 (More note content). I do want more content and for all Objects. However, I want to choose exactly what properties to display and customize the view of the embedded linked Object using a Canvas interface.

This is much more like #2 (Preview display options). I just upvoted it because I think we want the same thing. I would like this for both Inline Queries and embedded linked Objects. I elaborated on how to select properties and the formatting.

Topics related to #2