This repository has been archived by the owner on Jun 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate Bootstrap buttons (#11352) (#11400)
* Migrate Console to kuiButton. * Convert angular-bootstrap Timepicker and Tabs components to use kuiButtons. * Convert Timelion to use kuiButtons. * Convert Visualize and visTypes to use kuiButtons. - Convert Heatmap vistype to use kuiButtons. - Convert Visualize editor, AggTypes controls, and Heatmap options to use kuiButtons. - Convert VisType control rows_or_columns to kuiButton. - Adjust formatting of kuiButtons in AggTypes controls and Heatmap options. - Convert Visualization save prompt to use kuiButtons. - Convert visualize legend to use kuiButtons. - Convert Visualize Spy to use kuiSelect instead of Bootstrap buttons. * Convert Notify to use kuiButtons. - Fix appearance of Notifier countdown. * - Convert Dashboard to use kuiButtons and kuiMenuButtons. - Convert Dashboard save panel to use KuiButtons. * Convert Discover sidebar to use kuiButtons, and have an improved UX and accessibility. - Convert Discover field chooser to use kuiButtons. - Convert Discover no-results to use kuiButtons. - Convert Discover save panel to use KuiButtons. * Convert filter bar to use kuiButtons. * Convert fatal splash screen to use UI Framework components. * Convert number list to use kuiButtons. * Convert stringify color editor to use kuiButtons. * Convert timepicker directive to use kuiButtons. * Convert Index Pattern Management to use kuiButtons. - Convert Index Pattern Management field editor to use kuiButtons. - Remove unnecessary ng-class from Create Index Pattern submit button. * Remove unused global_config.html partial. * Fix functional tests. - Rename discover-save-search-btn test subject selector to discoverSaveSearchButton. - Convert Notifier tests to use kuiButtons. - Convert functional tests to use test subject selectors instead of relying on btn classes. - Update HeaderPage and VisualizePage page objects to refer to timePickerGoButton. - Fix broken functional tests for Discover, Visualize, and Settings. - Fix failing Discover scripted fields tests. * Fix visual bugs with FieldChooser string, Notifier buttons, and NumberList. * Fix Number List so the 'remove' buttons are small. * Fix FieldEditor to have space between Popularity input and dec/increment buttons. * Update FieldChooser string partial to have padding around 'Visualize' button.
- Loading branch information
Showing
65 changed files
with
717 additions
and
579 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/core_plugins/kbn_vislib_vis_types/public/controls/rows_or_columns.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<div class="form-group"> | ||
<div class="btn-group"> | ||
<div class="kuiButtonGroup"> | ||
<button | ||
type="button" | ||
class="btn btn-xs btn-default" | ||
class="kuiButton kuiButton--basic kuiButton--small" | ||
ng-model="agg.params.row" | ||
btn-radio="true"> | ||
Rows | ||
</button> | ||
<button | ||
type="button" | ||
class="btn btn-xs btn-default" | ||
class="kuiButton kuiButton--basic kuiButton--small" | ||
ng-model="agg.params.row" | ||
btn-radio="false"> | ||
Columns | ||
</button> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 24 additions & 15 deletions
39
src/core_plugins/kibana/public/discover/components/field_chooser/discover_field.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,24 @@ | ||
|
||
<li | ||
class="sidebar-item" | ||
attr-field="{{::field.name}}" | ||
data-test-subj="field-{{::field.name}}" | ||
> | ||
<div ng-click="toggleDetails(field)" class="sidebar-item-title"> | ||
<field-name field="field"></field-name> | ||
<button | ||
ng-click="toggleDisplay(field)" | ||
ng-class="::field.display ? 'btn-danger' : 'btn-primary'" | ||
ng-bind="::field.display ? 'remove' : 'add'" | ||
class="btn btn-xs btn-primary discover-field-toggle" data-test-subj="fieldToggle-{{::field.name}}"></button> | ||
</div> | ||
</li> | ||
<li | ||
class="sidebar-item" | ||
attr-field="{{::field.name}}" | ||
> | ||
<div | ||
data-test-subj="field-{{::field.name}}" | ||
ng-click="toggleDetails(field)" | ||
class="sidebar-item-title discover-sidebar-item" | ||
> | ||
<field-name | ||
class="discover-sidebar-item-label" | ||
field="field" | ||
></field-name> | ||
<div class="discover-sidebar-item-actions"> | ||
<button | ||
ng-click="toggleDisplay(field)" | ||
ng-class="::field.display ? 'kuiButton--danger' : 'kuiButton--primary'" | ||
ng-bind="::field.display ? 'remove' : 'add'" | ||
class="kuiButton kuiButton--small kuiButton--primary" | ||
data-test-subj="fieldToggle-{{::field.name}}" | ||
></button> | ||
</div> | ||
</div> | ||
</li> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.