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

Update the README, add a support matrix #286

Merged
merged 2 commits into from
Aug 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 18 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
vertical-collection
=================
# vertical-collection

[![Greenkeeper badge](https://badges.greenkeeper.io/html-next/vertical-collection.svg)](https://greenkeeper.io/)

Expand All @@ -15,14 +14,13 @@ component for performant lists and `svelte renders` to match a core belief:
#### TL;DR svelte render: the fewer things you need to render, the faster your renders will be.

Your web page is a universe, your viewport is the scene. Much like you wouldn't expect a video game to render
out-of-scene content, your application should smartly cull the content it doesn't need to care about. Trimming
out-of-scene content, your application should smartly cull the content it doesn't need to care about. Trimming
excess content lets the browser perform both initial renders and re-renders at far higher frame-rates, as the only
content it needs to focus on for layout is the content the user can see.

`vertical-collection` augments your existing app, it doesn't ask you to rewrite layouts or logic in order to use it.
It will try its best to allow you to keep the conventions, structures, and layouts you want.


## Install

```bash
Expand Down Expand Up @@ -59,9 +57,16 @@ ember install @html-next/vertical-collection
`lastReached`- Triggered when scroll reaches the last element in the collection

`firstVisibleChanged` - Triggered when the first element in the viewport changes

`lastVisibleChanged` - Triggered when the last element in the viewport changes

## Support Matrix

| `vertical-collection` version | Supported Ember versions |
| ----------------------------- | ------------------------ |
| `^v1.0.0` | `v1.12.0 - v3.8.0` |
| `^v2.0.0` | `v3.8.0+` |

## Support, Questions, Collaboration

Join the [Ember community on Discord](https://discord.gg/zT3asNS)
Expand All @@ -74,10 +79,10 @@ Infinite scroll that remains performant even for very long lists is easily achie
with the [`vertical-collection`](http://html-next.github.io/vertical-collection/#/settings).
It works via a scrollable div or scrollable body.

- [bi-directional scrollable div](http://html-next.github.io/vertical-collection/#/examples/infinite-scroll)
- [scrollable body](http://html-next.github.io/vertical-collection/#/examples/scrollable-body)
- [dynamic content sizes](http://html-next.github.io/vertical-collection/#/examples/flexible-layout)
- [as a table](http://html-next.github.io/vertical-collection/#/examples/dbmon)
- [bi-directional scrollable div](http://html-next.github.io/vertical-collection/#/examples/infinite-scroll)
- [scrollable body](http://html-next.github.io/vertical-collection/#/examples/scrollable-body)
- [dynamic content sizes](http://html-next.github.io/vertical-collection/#/examples/flexible-layout)
- [as a table](http://html-next.github.io/vertical-collection/#/examples/dbmon)

### Svelte Everything

Expand All @@ -92,42 +97,16 @@ If it can be trimmer, smoke-and-mirrors likes to trim it.
[![devDependency Status](https://david-dm.org/html-next/vertical-collection/dev-status.svg)](https://david-dm.org/html-next/vertical-collection#info=devDependencies)
[![Coverage Status](https://coveralls.io/repos/html-next/vertical-collection/badge.svg?branch=master&service=github)](https://coveralls.io/github/html-next/vertical-collection?branch=master)


## Documentation

For updated documentation and demos see [http://html-next.github.io/vertical-collection/](http://html-next.github.io/vertical-collection/)

## Contributing

- Open an Issue for discussion first if you're unsure a feature/fix is wanted.
- Branch off of `master` (default branch)
- Use descriptive branch names (e.g. `<type>/<short-description>`)
- Use [Angular Style Commits](https://github.com/angular/angular.js/blob/v1.4.8/CONTRIBUTING.md#commit)
- PR against `master` (default branch).

### Commits

Angular Style commit messages have the full form:

```
<type>(<scope>): <title>

<body>

<footer>
```

But the abbreviated form (below) is acceptable and often preferred.

```
<type>(<scope>): <title>
```

Examples:

- chore(deps): bump deps in package.json and bower.json
- docs(component): document the `fast-action` component

- Open an Issue for discussion first if you're unsure a feature/fix is wanted.
- Branch off of `master` (default branch)
- Use descriptive branch names (e.g. `<type>/<short-description>`)
- PR against `master` (default branch).

### Testing

Expand Down