Skip to content

UI AppShell containing the whole plugin #1548

Closed
@ecgan

Description

@ecgan

User story

This is a proposal and a follow-up to #1543 (review):

For a long term better solution, I think we should have an AppShell that contains the whole plugin, and things like the CustomerEffortScorePrompt, DifferentCurrencyNotice and NavigationClassic components should be in the AppShell, so that there will only be one instance of them throughout the whole app. With that approach, we wouldn't need to have this useEffect call. This approach would also solve the issue where the notice appears to keep re-appearing when we switch tabs, see demo video of the issue below:

Here are a few problems that we have in our existing code without AppShell:

Describe the solution you'd like

Have an AppShell that contains the whole plugin, so that the above mentioned components can be placed in the AppShell, thus addressing the problems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    type: enhancementThe issue is a request for an enhancement.type: technical debtThis issue/PR represents/solves the technical debt of the project.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions