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

Give ui/courier/fetch a makeover #6307

Merged
merged 12 commits into from
Mar 8, 2016
Merged

Conversation

spalger
Copy link
Contributor

@spalger spalger commented Feb 23, 2016

Spruced up the code in the ui/courier/fetch module. These could be separate PRs, happy to split them up, but use commits to split up the work instead.

  • get rid of the _ prefix from file names.
  • Fix horrible auto-generated provider names (like CourierDataSourceDocSourceProvider)
  • var -> let and const
  • _.class() -> class {}

With the transition to es6 modules, provider names were calculated automatically based on the require path. When using relative paths this produces pretty nice names, but since the courier used absolute ids the import names were pretty messy.
@epixa
Copy link
Contributor

epixa commented Feb 23, 2016

Tests failed

@epixa epixa assigned spalger and unassigned epixa Feb 23, 2016
@epixa epixa removed the review label Feb 23, 2016
@epixa
Copy link
Contributor

epixa commented Feb 25, 2016

jenkins, test it

@epixa epixa assigned epixa and unassigned spalger Feb 25, 2016
@epixa
Copy link
Contributor

epixa commented Feb 25, 2016

This seems to have legitimate test failures.

@epixa epixa assigned spalger and unassigned epixa Feb 25, 2016
@epixa
Copy link
Contributor

epixa commented Feb 29, 2016

Test failures, in case you missed them

@spalger spalger removed the v4.5.0 label Feb 29, 2016
@spalger spalger assigned epixa and unassigned spalger Mar 1, 2016
@epixa
Copy link
Contributor

epixa commented Mar 1, 2016

We could still get this into 4.5 if you want.

@@ -1,8 +1,10 @@
import _ from 'lodash';
// import _ from 'lodash';
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we just remove this rather than comment it out?

@epixa
Copy link
Contributor

epixa commented Mar 1, 2016

LGTM

@epixa epixa assigned spalger and unassigned epixa Mar 1, 2016
@epixa
Copy link
Contributor

epixa commented Mar 7, 2016

jenkins, test it

spalger added a commit that referenced this pull request Mar 8, 2016
@spalger spalger merged commit 9378729 into elastic:master Mar 8, 2016
@spalger spalger deleted the es6ify/courerFetch branch October 18, 2019 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants