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

Workflow 5 #67

Merged
merged 171 commits into from
Nov 5, 2018
Merged

Workflow 5 #67

merged 171 commits into from
Nov 5, 2018

Conversation

dhilt
Copy link
Owner

@dhilt dhilt commented Oct 2, 2018

UIScroll Workflow Engine v5

Core changes

  1. The next fetch does not depend on the previous one. This means that all intermediate Datasource.get calls that aren't needed to fill the visible part of the viewport will be skipped.
  2. Scroll becomes a Process and now its handling is much more clear in terms of the Workflow.
  3. Clip process is immediate now (reduced render cycles).
  4. Introduced min/maxIndex settings to limit the Datasource and provide consistent scroll bar parameters.
  5. Introduced itemSize setting to optimize first fetch or/and provide an information about average item size.
  6. Correct handling the inertia scroll events. It does not affect the UX anymore.

TODO

  • all core changes
  • logger
  • basic load/scroll tests
  • cases when one of minIndex/maxIndex is absent
  • cases when itemSize is not present
  • eof/bof spec
  • different items sizes spec
  • entire window viewport case
  • fix scroll position correction during inertia
  • update documentation
  • update demo app
  • deploy to Heroku (https://ngx-ui-scroll.herokuapp.com/)
  • datasource demo page

dhilt added 30 commits June 24, 2018 15:09
# Conflicts:
#	demo/app/samples/test.component.ts
#	src/component/classes/item.ts
#	src/component/classes/state.ts
#	src/component/classes/viewport.ts
# Conflicts:
#	src/component/classes/state.ts
#	src/component/scroller.ts
# Conflicts:
#	src/component/classes/state.ts
@dhilt dhilt temporarily deployed to ngx-ui-scroll October 27, 2018 18:03 Inactive
@dhilt dhilt temporarily deployed to ngx-ui-scroll October 27, 2018 21:52 Inactive
@dhilt dhilt temporarily deployed to ngx-ui-scroll October 28, 2018 01:07 Inactive
@dhilt dhilt temporarily deployed to ngx-ui-scroll October 28, 2018 23:44 Inactive
@dhilt dhilt mentioned this pull request Nov 1, 2018
@dhilt dhilt merged commit 5f9693d into master Nov 5, 2018
@dhilt dhilt deleted the workflow-5 branch December 27, 2018 04:13
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.

None yet

2 participants