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

shifting makeId to htmlIdGenerator #3129

Merged
merged 15 commits into from
Apr 3, 2020
Merged

Conversation

NightWing1998
Copy link

@NightWing1998 NightWing1998 commented Mar 19, 2020

Summary

Summarize your PR. If it includes design elements include a screenshot or gif.
deprecating makeId and shifting the codebase to htmlIdGenerator.
This invalids make_id.test.ts file as the make_id is of no use anymore
Fixes #3112

Checklist

  • Check against all themes for compatibility in both light and dark modes
  • Checked in mobile
  • Checked in IE11 and Firefox
  • Props have proper autodocs
  • Added documentation examples
  • Added or updated jest tests
  • Checked for breaking changes and labeled appropriately
  • Checked for accessibility including keyboard-only and screenreader modes
    A changelog entry exists and is marked appropriately

@kibanamachine
Copy link

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

@cla-checker-service
Copy link

cla-checker-service bot commented Mar 19, 2020

💚 CLA has been signed

src-docs/src/views/form_layouts/form_rows.js Outdated Show resolved Hide resolved
src/components/form/form_row/form_row.tsx Outdated Show resolved Hide resolved
src/components/form/form_row/make_id.ts Outdated Show resolved Hide resolved
@chandlerprall
Copy link
Contributor

Note that this does not close #3112 as there are many other places where makeId is still used

@NightWing1998
Copy link
Author

Note that this does not close #3112 as there are many other places where makeId is still used

Hey,
I'm really sorry as I didn't notice all the makeId uses.
I'm fixing it and sending a PR again.
Sorry for the trouble

@cchaos
Copy link
Contributor

cchaos commented Mar 20, 2020

Jenkins test this

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3129/

src-docs/src/views/button/button_group.js Outdated Show resolved Hide resolved
src/components/card/card.test.tsx Outdated Show resolved Hide resolved
src/components/form/super_select/super_select.test.tsx Outdated Show resolved Hide resolved
src/components/form/super_select/super_select.test.tsx Outdated Show resolved Hide resolved
@chandlerprall
Copy link
Contributor

I'm really sorry as I didn't notice all the makeId uses.
I'm fixing it and sending a PR again.
Sorry for the trouble

No worries at all! I took a second pass and left a couple more comments.

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

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

One last request, reverting some whitespace changes that were made.

src-docs/src/views/button/button_group.js Outdated Show resolved Hide resolved
Copy link
Author

@NightWing1998 NightWing1998 left a comment

Choose a reason for hiding this comment

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

Sorry for that linting error, I have some bad linter setting in vscode and sometimes it messes the code.

@chandlerprall
Copy link
Contributor

jenkins test this

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3129/

@miukimiu
Copy link
Contributor

miukimiu commented Apr 3, 2020

Hi @chandlerprall this PR is getting a lot of conflicting files due to the class to functional components conversions. Should we fix the conflicts and merge the PR?

package.json Outdated
@@ -57,6 +57,7 @@
"classnames": "^2.2.5",
"highlight.js": "^9.12.0",
"html": "^1.0.0",
"install": "^0.13.0",
Copy link
Contributor

Choose a reason for hiding this comment

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

Why is this required?

Copy link
Author

Choose a reason for hiding this comment

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

I guess it is some form of merge conflict.
Wait i'll remove it as it is not required by changes I've made

@chandlerprall
Copy link
Contributor

chandlerprall commented Apr 3, 2020

@NightWing1998 I merged master directly into your fork and cleaned up the conflicts we had introduced; running CI, will merge if everything's green

jenkins test this

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_3129/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace makeId with htmlIdGenerator
7 participants