Skip to content

Latest commit

 

History

History
39 lines (28 loc) · 2.24 KB

README.md

File metadata and controls

39 lines (28 loc) · 2.24 KB

Discover

Contains the Discover application and the saved search embeddable.

Project tree

Contains all the client-only code. When you initially load Discover, public/application/main is executed and displayed.

  • /application
    One folder for every "route", each folder contains files and folders related only to this route.
    • /context (Also known as "Surrounding documents" - historically this has been a separate plugin)
    • /doc (Also known as "Single document" - historically this has been a separate plugin)
    • /main (Main part of Discover containing the document table)
    • /not_found (Rendered when a route can't be found)
    • /view_alert (Forwarding links in alert notifications)
  • /components (All React components used in more than just one app)
  • /embeddable (Code related to the saved search embeddable, rendered on dashboards)
  • /hooks (Code containing React hooks)
  • /services (Services either for external or internal use)
  • /utils (All utility functions used across more than one application)

Contains all the server-only code.

  • /sample_data (Registrations with the Sample Data Registry for Discover saved objects)
  • /capabilities_provider (CapabilitiesProvider definition of capabilities for Core)
  • /ui_settings (Settings and the default values for UiSettingsServiceSetup )
  • /locator (Extensions of DiscoverAppLocator for the DiscoverServerPlugin API)

Contains all code shared by client and server.

  • /constants (General contants)
  • /field_types (Field types constants)
  • /locator (Registration with the URL service for BWC deep-linking to Discover views.)