kibana/examples/embeddable_examples/public/app
Nathan Reese 05916056cd
[embeddable] make presentation interface names consistent (#205279)
PR cleans up presentation interface names for consistentency
* adds `$` suffix to all observables. For example, `dataLoading` =>
`dataLoading$`
* removes `Panel` naming convention from interface names since an api
may not be a panel, an api may be a dashboard. For example,
`PublisesPanelTitle` => `PublishesTitle`

#### Note to Reviewers
Pay special attention to any place where your application creates an
untyped API. In the example below, there is no typescript violation when
the parent returns `dataLoading` instead of `dataLoading$` since the
parent is not typed as `PublishesDataLoading`. Please check for
instances like these.

```
<ReactEmbeddableRenderer
  getParentApi={() => {
    dataLoading: new BehaviorSubject()
  }}
/>
```

---------

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
2025-01-22 10:46:01 -06:00
..
presentation_container_example [embeddable] make presentation interface names consistent (#205279) 2025-01-22 10:46:01 -06:00
state_management_example [embeddable] make presentation interface names consistent (#205279) 2025-01-22 10:46:01 -06:00
app.tsx Preparation for High Contrast Mode, Analytics Experience domains (#202608) 2024-12-12 13:16:07 -06:00
overview.tsx Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
register_embeddable.tsx [embeddable] remove legacy embeddable factories from 'Add from library' flyout (#202823) 2024-12-05 12:55:40 -07:00
render_examples.tsx [embeddable] make presentation interface names consistent (#205279) 2025-01-22 10:46:01 -06:00
setup_app.ts [embeddables] state management example (#192587) 2024-09-12 09:50:27 -06:00
sidebar.tsx [embeddables] state management example (#192587) 2024-09-12 09:50:27 -06:00