Skip to content

ui: introduce new "embedder" interface to place deployment vars#4822

Open
LalitMaganti wants to merge 2 commits intomainfrom
dev/lalitm/embedder
Open

ui: introduce new "embedder" interface to place deployment vars#4822
LalitMaganti wants to merge 2 commits intomainfrom
dev/lalitm/embedder

Conversation

@LalitMaganti
Copy link
Member

This CL introduces a new "embedder" interface to allow for people
deploying their own instances of the Perfetto UI to be able to easily
configure a bunch of changes without needing to make changes to the
source code smeared across the codebase.

This interface will eventually host all the deployment specific things
but for now I've just moved one thign over which is the GA id. Followup
changes will move the "default extension server" here also.

This CL introduces a new "embedder" interface to allow for people
deploying their own instances of the Perfetto UI to be able to easily
configure a bunch of changes without needing to make changes to the
source code smeared across the codebase.

This interface will eventually host all the deployment specific things
but for now I've just moved one thign over which is the GA id. Followup
changes will move the "default extension server" here also.
@LalitMaganti LalitMaganti requested a review from a team as a code owner February 17, 2026 12:44
@LalitMaganti
Copy link
Member Author

@primiano FYI

@github-actions
Copy link

github-actions bot commented Feb 17, 2026

* the UI to adapt to the environment it's running in (e.g. ui.perfetto.dev
* vs a third-party embedding).
*/
export interface Embedder {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we like Embedder as a name or do we prefer "deployment" or something else?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant