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

Add generic filter that allows user to choose which property is filtered #130

Merged
merged 6 commits into from
Jul 17, 2016

Conversation

ritvje
Copy link
Contributor

@ritvje ritvje commented Jul 17, 2016

No description provided.

ritvje added 2 commits July 17, 2016 17:08
Conflicts:
	src/client/components/ParticipantListPage/containers/QuickFilterContainer.jsx
export function getGenericPropertyFilterContainer(searchFilterStore, searchFilterActions) {
const PropertyFilterContainer = getPropertyFilterContainer(searchFilterStore, searchFilterActions);

const properties = [
Copy link
Collaborator

Choose a reason for hiding this comment

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

Onko joku syy miksei tää oo vain objekti, kun nää on nimi-arvopareja?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Koska sekä nimeä että arvoa käytetään? Voishan ne muuttaa objekteiksi, mutta ei se mun mielestä helpota mitään...

Copy link
Collaborator

@emilvirkki emilvirkki Jul 17, 2016

Choose a reason for hiding this comment

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

Se ois ehkä snadisti tyylikkäämpää mun mielestä, nää arrayt joissa on array sisällä on mun mielestä vähemmän dokumentoivia. Tämmönen rakenne on perusteltu sillon kun halutaan tietty järjestys, jos se on tarkoitus niin sitä tää on tosi hyvä näin :)


}

onValueChange(e) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Tän vois poistaa

@emilvirkki
Copy link
Collaborator

Muutama pikkusäätö, muutoin 5/5 :)

@emilvirkki emilvirkki merged commit 539b17d into master Jul 17, 2016
@emilvirkki emilvirkki deleted the feature/generic-filters branch July 17, 2016 19:36
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