Skip to content

inbox-bubble: a programmatic way to open the panel (event, hash, or export) #13

Description

@cverorg

0.7.x has no opener: no exported function, no CustomEvent listener, no #inbox hash handling. A site's footer link that says 'report a problem' should open the bubble in place instead of sending the visitor to another page. Proposal: listen for a 'reef-inbox:open' CustomEvent on window and honour '#inbox' in location.hash on load; both are inert when the coral is not mounted. Keep it in the canonical file under packages/dynamic-corals/inbox-bubble and bump patch.

Activity

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

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