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

Paginated selectable list directive #6550

Closed

Conversation

stormpython
Copy link
Contributor

Adds a paginated selectable list to the visualize interface.

screen shot 2016-03-16 at 9 13 41 am

@stormpython
Copy link
Contributor Author

I removed the list header from the saved-object-finder because it was removed in the spec (see below).
screen shot 2016-03-16 at 9 18 37 am

However, I think that this is something that should be retained. It really helps to be able to sort by name either ascending or descending. In addition, it removes it everywhere. It is something that should probably be added to the paginated-selectable-list directive as well, both for functionality and aesthetics.

if ($scope.userMakeUrl) {
return $scope.userMakeUrl(hit);
}
return '#';
Copy link
Contributor

Choose a reason for hiding this comment

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

This is a required parameter, just call the function and let it throw an error if its undefined.

@rashidkpc rashidkpc assigned stormpython and unassigned rashidkpc Mar 16, 2016
spalger and others added 7 commits March 16, 2016 15:30
- switch from maps to objects
  - use lodash's get/set/has
- use configPrefix instead of id, if set
- also adds an unset config method
…le list directives and updating the styling, making makeUrl and onSelect functions mutually exclusive
@stormpython stormpython assigned rashidkpc and unassigned stormpython Mar 17, 2016
@stormpython
Copy link
Contributor Author

@rashidkpc ready for review.

@@ -45,7 +53,15 @@
.list-group {
margin-bottom: 0;

.list-group-item {
.list-group-item .list-group-item-menu:hover {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this list-group-item-menu class still in use?

Copy link
Contributor

Choose a reason for hiding this comment

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

I see list-group-menu-item in use, but I don't see a style of it it (note the menu->item item->menu swap in the name). In any case it looks like everywhere it is used list-group-item is already a class on the element. Seems like it could go right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, that can go.

@stormpython stormpython assigned rashidkpc and unassigned stormpython Mar 22, 2016
@stormpython
Copy link
Contributor Author

Just finished up the last of the changes. @rashidkpc back to you.

@rashidkpc
Copy link
Contributor

Same pull, but against master: #6630

@rashidkpc rashidkpc closed this Mar 23, 2016
cee-chen pushed a commit that referenced this pull request Feb 9, 2023
## Summary

`[email protected]` ⏩ `[email protected]`

___

## [`74.1.0`](https://github.com/elastic/eui/releases/tag/v74.1.0)

- Added new `EuiSkeletonText`, `EuiSkeletonTitle`, `EuiSkeletonCircle`,
and `EuiSkeletonRectangle` components
([#6502](elastic/eui#6502))
- Updated `EuiSuperSelect` screen reader instructions to be more
specific ([#6549](elastic/eui#6549))
- Added `error` and updated `alert` glyphs to `EuiIcon`
([#6550](elastic/eui#6550))
- All `EuiSkeleton` components now accept an `isLoading` flag and
`children`, which automatically handles conditionally rendering loading
skeletons vs. loaded content (`children`)
([#6562](elastic/eui#6562))
- All `EuiSkeleton` components now accept a `contentAriaLabel` prop,
which more meaningfully describes the loaded content to screen readers
([#6562](elastic/eui#6562))
- Updated `EuiPopover` screen reader instructions for mobile and click
behaviors ([#6567](elastic/eui#6567))

**Bug fixes**

- Fixed `EuiCard` to ensure `onClick` method only runs once when `title`
contains a React node
([#6551](elastic/eui#6551))

**Deprecations**

- Deprecated `EuiLoadingContent` - use `EuiSkeletonText` instead
([#6557](elastic/eui#6557))

---------

Co-authored-by: Kibana Machine <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants