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

Switch from selectize to selectr - #867

Draft
davidbgk wants to merge 2 commits into
masterfrom
selectize-to-selectr
Draft

Switch from selectize to selectr#867
davidbgk wants to merge 2 commits into
masterfrom
selectize-to-selectr

Conversation

@davidbgk

Copy link
Copy Markdown
Contributor

It definitely introduces a regression given that a search is exact, especially relevant on dossier creation.

To be discussed.

@davidbgk
davidbgk force-pushed the selectize-to-selectr branch from 585cbf9 to 6a83994 Compare November 21, 2019 18:19
It definitely introduces a regression given that a search is exact, especially relevant on dossier creation.

To be discussed.
@davidbgk
davidbgk force-pushed the selectize-to-selectr branch from 6a83994 to 475cec6 Compare November 21, 2019 18:20
},
includes: function(a, b) {
// Poor-man fuzzyness.
return b.split(" ").every(n => a.includes(n))

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.

200 lines of copy-pasta for this single line. There is probably (hopefully?) a better way to monkey patch that.

@ronnix

ronnix commented Nov 21, 2019

Copy link
Copy Markdown
Contributor

Je repense à nos discussions sur le design de cette page. On pourrait laisser tomber le principe du drop down, lister les dossiers récents, et éventuellement offrir un filtrage fuzzy avec un truc comme https://listjs.com/
?

@davidbgk

Copy link
Copy Markdown
Contributor Author

Bonne idée, notre souci en terme d'UX c'est qu'on a 5000 dossiers, on pourrait restreindre aux 100 derniers et offrir une recherche dessus

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants