Skip to content

[Page] Access to Page layout while using embedded app #669

@michenly

Description

@michenly

I love the polaris Page layout and would love to use this throughout my app to display header, breadcrumbs, primary + secondary actions.

screen shot 2018-10-22 at 12 09 59 pm

However, because the application is an embedded app (and I do need some app-bridge functionalities ie. modal, toast), the Page component default to embedded app view that add breadcrumbs in the same line with app name.

screen shot 2018-10-22 at 12 14 09 pm

I have temporarily resolved the issues by copy & pasting the current Page component and calling
this.context.easdk.Bar.update({icon: 'icon_url'}); myself.

Ideally, I can also pass the icon once as part of AppProvider, and have this icon persist throughout the entire app.

Metadata

Metadata

Assignees

No one assigned

    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