tusmanakhter / MigrantHub

MIT License
4 stars 3 forks source link

251 job search + 261 save events + Some Fixes #263

Closed iamlax closed 5 years ago

iamlax commented 5 years ago

Was lazy to split this into 3 PR's

User stories: #251 #261 + Some other free fixes

Changes Summary:

Demo Steps: Save Events

Pre-requisite: Events exists

  1. Visit events as migrant
  2. Favorite/Unfavorite events directly from the cards
  3. Favorite/UnFavorite events directly from the event details
  4. Visit main page and view the saved events
  5. If more than 0 saved events click view all.
  6. Also verify that business users cant favorite events.( aka. its hidden and path restricted to migrants)

Demo Steps: Search Jobs + Refactor old search UI

run in mongodb: db.jobs.createIndex( {title: "text", description: "text"}, {weights: { title: 2, description: 1 }})

  1. Login
  2. Use the searchbar at the top right to search for a job
  3. Click the search button
  4. View all the search results.
  5. View each of the search sections shows a maximum of 4 results with a see all option that displays all the search results with infinite scroller.