Skip to content

Paginated view - #83

Open
valexl wants to merge 28 commits into
masterfrom
paginated-view
Open

Paginated view#83
valexl wants to merge 28 commits into
masterfrom
paginated-view

Conversation

@valexl

@valexl valexl commented Jun 18, 2019

Copy link
Copy Markdown

No description provided.

StoneFrog and others added 9 commits June 6, 2019 11:35
…e v2/rentals page to admin/rentals_controller.rb
Add list-backend-filter js class to use backend search if use_paginated_view flag is enabled

Add loading.hbs and pagination.hbs templates

Add back-end search engine to handle search + pagination requests in app/controllers/bookingsync_portal/admin/rentals_controller.rb

Add index_with_search.js.erb view + locales + default settings
Add tests for app/controllers/bookingsync_portal/admin/rentals_controller.rb. Fix searching for not connected remote_rentals
Move SearchFilter and Searcher to separate files and add tests for them. Fix pagiation logic for blank remote_accounts. Add more tests
@valexl
valexl requested a review from StoneFrog June 18, 2019 12:37
valexl and others added 19 commits June 18, 2019 20:27
…ith_search and rentals#index actions

Fix sync logic in index and index_with_search actions

Skip system keys as a trigger to start searching

Add filtered_strategies gem settings

Add optional account arg for all filter strategies

Update app/assets/javascripts/bookingsync_portal/admin/lib/list-backend-filter.js.coffee to get search params based on form instead of getting them based on 1 input field
…airbnb logic. Make some controller methods public to put controller as an argument to callbacks

Update app/assets/javascripts/bookingsync_portal/admin/lib/list-backend-filter.js.coffee to avoid useless search requests

small fixes in app/controllers/bookingsync_portal/admin/rentals_controller.rb
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.

2 participants