Datetechapp / Datetechapp-General

0 stars 0 forks source link

Search using advanced filter (FI-11) #40

Open TaniaEmelyanchyk opened 1 year ago

TaniaEmelyanchyk commented 1 year ago

Role: User

Preconditions: User is logged in User has at least one video presentation User has a premium subscription

Descriptions: the same to issue #39

Filter fields, in descending order of priority:

  1. Location - range from to
  2. Gender - select from the list (min 0, max 1)
  3. Age - range from to
  4. Purposes of dating - select from the list
  5. Family status
  6. Education
  7. Interests
  8. Languages
  9. Zodiac signs
  10. Height
  11. Children
  12. Smoking
  13. Drinking
  14. Religion
  15. Animals
  16. Playlist

Fields for filtering according to an additional questionnaire(User Story #16 ): What's your favorite type of movie genre? What's your favorite type of cuisine to cook? What's your favorite type of holiday? What's your favorite quote or saying? What's your favorite thing to do in your free time? What's your favorite type of vacation? What's your favorite way to relax? What's your favorite way to de-stress after a long day? What's your favorite type of board game?

yuliyamuzychenko commented 1 year ago

I changed the logic. A user with a premium subscription, in addition to the basic filter, can filter by all fields available in the questionnaire. The list of fields is listed in descending order of priority. The comparison of the candidate with the filter occurs up to the first mismatched field (for example, if the candidate matches by geolocation, gender, age, purpose of dating, Family status, but does not match by education, then the comparison stops. The number of matches on this profile is 5). The list of search results is displayed in descending order of hits. A candidate with a premium subscription is shown among the first among candidates with the same number of personal data matches with the filter.