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

autocomplete: fix suggestions list #260

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Conversation

jma
Copy link
Contributor

@jma jma commented Apr 29, 2020

Old version of the third party library ngx-bootstrap had sometime weird
behaviors. @rero/ng-core@0.2.3 fix this.

  • Fixes ngx-bootstrap imports to be angular 9 and ngx-bootstrap>6
    compliant.
  • Fixes tests form other pull requests by mocking the services.
  • Updates dependency @rero/ng-core to version 0.2.3.
  • Fixes the number of suggestions for each category documents and direct
    links to be sure that all suggestions are displayed.

Note: several versions of ngx-bootstrap has been tried, but some of
them failed:

  • 3.3.x: does not display a typeahead suggestion list for slow query.
  • 3.6.1: does not compile our project in production.

Co-Authored-by: Johnny Mariéthoz Johnny.Mariethoz@rero.ch

Dependencies

Why are you opening this PR?

How to test?

  • Try all ui widget component in the professional and public view. Especially the typeahead.
  • Editors should not be concerned.

Code review check list

  • Commit message template compliance.
  • Commit message without typos.
  • File names.
  • Functions names.
  • Functions docstrings.
  • Unnecessary commited files?
  • Extracted translations?

@jma jma force-pushed the maj-ngx-bootstrap-3.6 branch 2 times, most recently from df2e079 to 01b5b31 Compare April 29, 2020 05:58
@jma jma changed the title This library changes the way that the component is imported to be dependencies: use ngx-bootstrap 3.6.2 Apr 29, 2020
@jma jma force-pushed the maj-ngx-bootstrap-3.6 branch 4 times, most recently from 359ac08 to 770e164 Compare April 30, 2020 14:09
@jma jma changed the title dependencies: use ngx-bootstrap 3.6.2 autocomplete: fix suggestions list Apr 30, 2020
@jma jma marked this pull request as ready for review April 30, 2020 14:11
Old version of the third party library `ngx-bootstrap` had sometime weird
behaviors. `@rero/ng-core@0.2.3` fix this.

* Fixes `ngx-bootstrap` imports to be angular 9 and `ngx-bootstrap>6`
compliant.
* Fixes tests form other pull requests by mocking the services.
* Updates dependency @rero/ng-core to version 0.2.3.
* Fixes the number of suggestions for each category documents and direct
links to be sure that all suggestions are displayed.

Note: several versions of `ngx-bootstrap` has been tried, but some of
them failed:
- 3.3.x: does not display a `typeahead` suggestion list for slow query.
- 3.6.1: does not compile our project in production.

Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
@jma jma added this to the release: v0.8.0 (rero-ils) milestone Apr 30, 2020
Copy link
Contributor

@zannkukai zannkukai left a comment

Choose a reason for hiding this comment

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

👍

@jma jma merged commit 7be5eac into rero:dev Apr 30, 2020
@jma jma deleted the maj-ngx-bootstrap-3.6 branch July 14, 2020 04:57
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