kibana/examples/embeddable_examples/public/react_embeddables/saved_book
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
..
book_state.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
constants.ts Adds AGPL 3.0 license (#192025) 2024-09-06 19:02:41 -06:00
create_saved_book_action.tsx [Embeddables Rebuild] Make Serialize Function Synchronous (#203662) 2024-12-12 21:25:03 -05:00
saved_book_editor.tsx [Serialized state only] Update Library Transforms and Duplicate (#206140) 2025-01-21 13:43:43 -05:00
saved_book_library.ts [Embeddables Rebuild] Make Serialize Function Synchronous (#203662) 2024-12-12 21:25:03 -05:00
saved_book_react_embeddable.tsx [embeddable] make presentation interface names consistent (#205279) 2025-01-22 10:46:01 -06:00
types.ts [Serialized state only] Update Library Transforms and Duplicate (#206140) 2025-01-21 13:43:43 -05:00