RideKit
Docs/Reference/"Don't match me with them again"

"Don't match me with them again"

Built: 2026-11-03. Written for operators and for whoever maintains the code.

Riders and drivers can block each other from future matches, as on Uber and DiDi (Mexico's research asked for it). Either side can block the other.

  • Rider: on a finished or cancelled trip's receipt, tap "Don't match me with this driver again".
  • Driver: on the end-of-trip screen, tap "Don't match me with this rider again".

The app asks first. The other person is never told.

From then on dispatch never offers that rider's trips to that driver, whichever of the two blocked. Blocking needs a trip the two shared, so nobody can block a stranger. One account can block up to 100 people.

Unblock:

  • riders: in Safety → Not matched with;
  • drivers: in Settings.

Each person is listed by first name (and car, for drivers).

Code

  • backend/src/rides/match-blocks.service.ts and match-blocks.controller.ts:
    • POST /rides/:id/block;
    • GET /me/blocks;
    • DELETE /me/blocks/:userId;
  • drivers/drivers.service.ts findNearby: the match_blocks exclusion, with the rider passed in by rides/dispatch.service.ts;
  • migration 1700000154000-MatchBlocks;
  • apps: src/components/BlockMatch.tsx, mounted on:
    • the rider's receipt and Safety screen;
    • the driver's rate and settings screens.

An operator assigning a trip by hand from the dispatch console is not stopped by a block.

source: docs/match-blocks.md (ships identically in the product zip)