Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

Load more results for PropertyLookup on scroll#93

Merged
bereket-WMDE merged 1 commit into
masterfrom
Load_more_results_for_PropertyLookup_on_scroll
Dec 14, 2020
Merged

Load more results for PropertyLookup on scroll#93
bereket-WMDE merged 1 commit into
masterfrom
Load_more_results_for_PropertyLookup_on_scroll

Conversation

@bereket-WMDE

Copy link
Copy Markdown
Contributor

Bug: T268508

@Ladsgroup Ladsgroup left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for doing it!

Comment thread src/components/PropertyLookup.vue Outdated
:search-input.sync="search"
:placeholder="$i18n('query-builder-property-lookup-placeholder')"
:label="$i18n('query-builder-property-lookup-label')"
v-on:scroll="handelScroll"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

typo: handle :D

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

oops

@@ -66,6 +66,7 @@ describe( 'FetchSearchEntityRepository', () => {
origin: '*',
limit,
offset,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

good catch

@@ -28,6 +28,7 @@ export default class FetchSearchEntityRepository implements SearchEntityReposito
}
if ( offset ) {
params.offset = `${offset}`;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

this should be dropped

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

removed

@bereket-WMDE bereket-WMDE force-pushed the Load_more_results_for_PropertyLookup_on_scroll branch from 90f7672 to ab131c1 Compare December 4, 2020 10:41
@micgro42 micgro42 requested a review from Ladsgroup December 14, 2020 11:24

@Ladsgroup Ladsgroup left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM now, thanks!

@bereket-WMDE bereket-WMDE force-pushed the Load_more_results_for_PropertyLookup_on_scroll branch from ab131c1 to 94a8504 Compare December 14, 2020 17:12
@bereket-WMDE bereket-WMDE merged commit e7d3445 into master Dec 14, 2020
@bereket-WMDE bereket-WMDE deleted the Load_more_results_for_PropertyLookup_on_scroll branch December 14, 2020 17:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants