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

Deleted unused directives from angular-boostrap #33564

Merged
merged 8 commits into from
Mar 24, 2019

Conversation

lizozom
Copy link
Contributor

@lizozom lizozom commented Mar 20, 2019

Summary

Removed:

  • alert
  • pagination
  • pager
  • timepicker
  • typeahead
  • typeaheadPopup
  • typeaheadMatch
  • typeaheadHighlight
  • All directives inside console\ui-bootstrap-custom (Sense directives that are not used)

please ignore whitespace differences in progressbar related files. They are deleted in a subsequent PR

Moved

  • Moved $position service into tooltip folder (as it's the only thing using it)

Checklist

Use strikethroughs to remove checklist items you don't feel are applicable to this PR.

- [ ] This was checked for cross-browser compatibility, including a check against IE11
- [ ] Any text added follows EUI's writing guidelines, uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/master/packages/kbn-i18n/README.md)
- [ ] Documentation was added for features that require explanation or tutorials
- [ ] Unit or functional tests were updated or added to match the most common scenarios
- [ ] This was checked for keyboard-only and screenreader accessibility

 - alert
 - pagination
 - pager
 - bar
 - tooltipPopup
 - tooltipHtmlUnsafePopup
@lizozom lizozom self-assigned this Mar 20, 2019
@lizozom lizozom changed the title Deleted unused directives Deleted unused directives from angular-boostrap Mar 20, 2019
@lizozom lizozom added Feature:New Platform Team:Visualizations Visualization editors, elastic-charts and infrastructure v8.0.0 v7.2.0 labels Mar 20, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

- Removed ui-bootstrap-custom (Sense directives that are not used)
- Moved $position service into tooltip folder (as it's the only thing using it)
- Removed progress directive
- Removed typeahead, typeaheadPopup,  typeaheadMatch, typeaheadHighlight directives
@lizozom lizozom requested a review from spalger March 20, 2019 15:28
@lizozom
Copy link
Contributor Author

lizozom commented Mar 20, 2019

@spalger this has a lot of old (and sensitive?) code removal, so I'd love your feedback

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💔 Build Failed

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

@spalger
Copy link
Contributor

spalger commented Mar 21, 2019

@snide @cchaos I feel like design has been working on removing our dependency on angular-bootstrap, do you have any issue with us removing chunks of the code that are unused?

@cchaos
Copy link
Contributor

cchaos commented Mar 21, 2019

Remove away!

Copy link
Contributor

@spalger spalger left a comment

Choose a reason for hiding this comment

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

LGTM

lizozom added a commit to lizozom/kibana that referenced this pull request Mar 24, 2019
* Deleted unused directives
 - alert
 - pagination
 - pager
 - bar
 - tooltipPopup
 - tooltipHtmlUnsafePopup
lizozom added a commit that referenced this pull request Mar 24, 2019
* Deleted unused directives
 - alert
 - pagination
 - pager
 - bar
 - tooltipPopup
 - tooltipHtmlUnsafePopup
@stacey-gammon stacey-gammon mentioned this pull request Mar 26, 2019
94 tasks
@timroes timroes added the chore label Mar 27, 2019
joelgriffith pushed a commit that referenced this pull request Mar 27, 2019
* Deleted unused directives
 - alert
 - pagination
 - pager
 - bar
 - tooltipPopup
 - tooltipHtmlUnsafePopup
@lizozom lizozom deleted the new-platform-clean-alert branch April 21, 2019 10:46
@cjcenizal
Copy link
Contributor

This is so great to see. I've been looking forward to this day for the past 3 years.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:New Platform Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.2.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants