Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export public http interfaces #42001

Merged
merged 3 commits into from
Jul 26, 2019
Merged

Export public http interfaces #42001

merged 3 commits into from
Jul 26, 2019

Conversation

mshustov
Copy link
Contributor

No description provided.

@mshustov mshustov added review chore Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes v7.4.0 labels Jul 25, 2019
@mshustov mshustov requested a review from a team as a code owner July 25, 2019 15:42
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-platform

@elasticmachine
Copy link
Contributor

💔 Build Failed

@mshustov
Copy link
Contributor Author

retest

@elasticmachine
Copy link
Contributor

💔 Build Failed

Copy link
Contributor

@eliperelman eliperelman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Small nit: the commit message has a typo in the word "interfaces".

@eliperelman
Copy link
Contributor

Or I guess the typo is in the PR, so we are good lol.

@mshustov mshustov changed the title Export public http intefaces Export public http interfaces Jul 26, 2019
@elasticmachine
Copy link
Contributor

💔 Build Failed

@mshustov mshustov removed the review label Jul 26, 2019
@mshustov mshustov merged commit 8b71642 into elastic:master Jul 26, 2019
@mshustov mshustov deleted the export-public branch July 26, 2019 15:54
mshustov added a commit to mshustov/kibana that referenced this pull request Jul 26, 2019
* re-export http types

* update docs
mshustov added a commit that referenced this pull request Jul 27, 2019
* re-export http types

* update docs
@jfsiii jfsiii mentioned this pull request Jul 30, 2019
jfsiii pushed a commit that referenced this pull request Aug 1, 2019
* WIP. Update home/list screen.

Pulling in ideas from https://github.com/jfsiii/kibana/pull/2

* WIP. Home screen w/ plenty o'hacks but includes icons & better layout.

* Use 4 column List view layout as in Figma. Left Title. Other 3 are cards

* Use NP breadcrumbs. Add context w/ core & other deps. Add routes as dep.

* PLUGIN_ID -> PLUGIN.ID. Consistent w/most other plugins.

* Move some repeated strings under PLUGIN namespace

* Less noisy (more idiomatic?) approach to contexts & hooks

* Add useBreadcrumbs hook. Views call useBreadcrumbs(arrayOfBreadcrumbs).

* Detail page uses EuiPage & EuiPageBody like the List page does.

* Add Hero image. Vertically center copy and push image to bottom.

Line-height, color and some other items are not to spec yet.

Using inline styles while we're iterating. Will extract to CSS / Sass soon.

* Factor <HeroCopy> & <HeroImage> out of <Header>

* Remove header background. Add grey bottom border.

* Fix i18n errors. Prior bad merge of 81153c2

* Use PLUGIN.TITLE now that it has translated string

* Use snake case for image name

* Remove comments disabling import warnings.

#42001 has landed

* Pass core.http.fetch into public/data

* Replace basePath.prepend in routes w/plain string.

* Move link generators into to new useLinks hook.

6e7e60d broke the paths because I forgot what `basePath` actually does. This moves the functions into a hook.

Usage is nearly identical in views.

Also adds a path function for assets. I didn't realize those were broken because I was running with `--no-base-path`

* Destructure to* functions from useLinks return value.

I wrote them so they could be used like the previous `import { linkToSomething } from './routes'` then forgot to use them that way.

* Rename hooks/x files to hooks/use_x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:New Platform release_note:skip Skip the PR/issue when compiling release notes Team:Core Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc v7.4.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants