Skip to content

Follow up on requestModal.template ergonomics in Skybridge #612

@Jean-crack

Description

@Jean-crack

Summary

Follow up on the ergonomics of the requestModal.template option in Skybridge.

PR #586 added support for the optional template field in RequestModalOptions so Skybridge stays compatible with the Apps SDK API.

Open question

Today this looks like a low-level pass-through rather than a Skybridge-idiomatic API.

We should decide whether to:

  • keep template as a compatibility-only surface
  • document the expected usage clearly
  • introduce a higher-level Skybridge abstraction/helper for modal templates

Why

In review, Paul raised that it is unclear how users are expected to use this in practice:

  • do they build a template from scratch?
  • register it as a resource?
  • then pass the value through?

That may be valid for Apps SDK compatibility, but the developer experience in Skybridge is still unclear and may need a follow-up design/doc pass.

Context

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions